![]() |
ok.. i added the code above.
|
This hack is giving me so much trouble installing it... :-\
i'm getting the following error: Code:
Parse error: parse error in /home2/public_html/forum/admin/functions.php on line 496 I've gone over the install 20+ times. I verified that I made the correct changes and to the correct files. If I undo the changes to functions.php (copy the text to replace from the install file) everything goes back to normal. When I replace the text I get the error again. :depressed: I'm using 2.2.5 btw. |
additionally...
this is my line 351 in functions.php PHP Code:
this is my line 496 in functions.php PHP Code:
Line 494: } else { Line 495: $adminstats=""; Line 496: } |
remove $debug from the global.
then remove: Code:
if ($debug==1) { |
Quote:
That did it! No more error. :classic: It works great now. |
i'm glad. congrats... and sorry, it was my mistake that code. it will work only if you have $debug enabled in config.php
|
Just a question... is there a way to limit the decimal places of the load time?
For example, I get something like: Page generated in .2973462 seconds... Can I limit it to 2 or 3 decimal places somehow? not sure :\ |
Code:
// time format (how many digits you want to show) so it will look like: Page generated in 0.2973 seconds... |
Silly mistake! I didnt see the variable... Thanks again for all your help.
;) |
firefly, i noticed something related to your code addon for this hack. in your site, the PHP % is always smaller then the MySQL %.
the normal way is: your PHP value should always be bigger then the MySQL one (like it's supposed to be in EXPLAIN=1). everyone's page does that, except here at vB.org. just letting you know. if i'm wrong, correct me please. |
All times are GMT. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|