The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vbulletin's error notice problem
I recently upgraded from vbulletin 3.8.4 (Patched) to 3.8.7.
On a custom page, I turned error reporting on: PHP Code:
And there are loads of them. I tried to fix some of the bugs, but there must be some other reason. Take this one for example: Quote:
PHP Code:
I checked the config.php of a freshly downloaded vb script. The index "jsver" cannot be found in that file. So why is the script searching for it? Out of curiosity, I turned the notices on for the forumdisplay.php and was hit with hundreds of notice messages. Will a standard installation of vbulletin produce any notices if error_reporting is set to the appropriate value? This is extremely shitty programming style! :down: Most of the errors are undefined array index problems. They could be fixed very easily by not writing sloppy code. Did you let your interns program vbulletin? --------------- Added [DATE]1301939035[/DATE] at [TIME]1301939035[/TIME] --------------- Maybe the developers can learn something from this small experiment: copy this in a php file and run it: PHP Code:
Quote:
|
#2
|
|||
|
|||
Interesting results of your tests. I'm not one of the vB developers of course, so I can't say why things are that way, but I suspect fixing all those wouldn't make a lot of difference in speed since there aren't a lot of loops like that and other things take a lot longer.
BTW, E_ALL & E_NOTICE actually turns off all error reporting except E_NOTICE, so I think you'd just want E_ALL. |
#3
|
||||
|
||||
Was there a point to this.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|