![]() |
Quote:
thanks for your reply. I've read all that, but he doesnt really go into detail. Well, the newest verison of PHP is installed on my server, so that's not the problem. I do admit I have some hacks installed on 2.2.5 and I guess that's what's causing the problems. However, I dont want to miss out on those hacks. The hacks I have installed are the same ones FireFly has here and he's obviously got the vbmicrostats working, so theoretically there must be some way that it should also work for me ... It's really a pity that it's such a senstive, although cool script. greetings Tina. |
you edited admin/global.php
read carefully the install instructions. |
Hi,
thanks for this hack, great stuff. :) cu, -Tom Hack installed in 0.87553499 minutes (80.31% Copy - 19.69% Paste) with 0 queries. ;) |
Quote:
|
I've got over a hundred hacks on my forum, and this hack does not interfere with any of them.
|
nakkid, you are using an undefined constant in your code (DEBUG). This causes the "Debug Mode" flag to be on no matter what.
|
you are referring at $PHP_SELF? it doesnt really matter since i want to read the actual file i view. let me know if i'm correct.
|
Quote:
Code:
$debug = (DEBUG) ? 'Debug Mode' : ''; And since vBulletin runs on error reporting level of 7, PHP doesn't warn you and treats it as a string. And since that string always evaluates to TRUE, you will always get 'Debug Mode'. |
you are right firefly... doughh.. :cross-eyed:
here it is what i did: --------------------------------- in functions.php add $debug, before $microstats, like that: PHP Code:
PHP Code:
|
Apache's configuration has nothing to do with PHP. $debug is a variable set by vBulletin (well, the admin sets it in config.php if he wants to use debugging options). Debug mode refers to vBulletin, not PHP / the server.
|
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:
|