Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Need help with ts on xampp! (http://www.bvlist.com/showthread.php?t=8861)

antibiotic1 11th February 2013 17:53

cache/ipbans.php looks like this

Code:

/** TS Generated Cache#6 - Do Not Alter
 * Cache Name: IPBans
 * Generated: Mon, 11 Feb 2013 15:51:25 +0000
*/

$ipbanscache = array (
  'id' => '1',
  'value' => '',
  'date' => '0000-00-00 00:00:00',
  'modifier' => '1',
);
?>


Daz 11th February 2013 18:41

Try putting in a random IP in the ban list in settings panel and then rebuild the cache

antibiotic1 11th February 2013 21:54

tnx man again it worked ...now i am so happy because of you.But can you tell me why are this two errors
Code:

Notice: Use of undefined constant totaltime - assumed 'totaltime' in C:\xampp\htdocs\global.php on line 30

Notice: Use of undefined constant totalqueries - assumed 'totalqueries' in C:\xampp\htdocs\global.php on line 31

tnx again

Daz 11th February 2013 22:03

In ./global.php

find:
PHP Code:

    unset ($_SESSION[totaltime]);
    unset (
$_SESSION[totalqueries]); 

Change to:
PHP Code:

    unset ($_SESSION['totaltime']);
    unset (
$_SESSION['totalqueries']); 



All times are GMT +2. The time now is 09:34.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.