The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP error
We migrated our vBulletin 4.2.2 forum over to a new server and began getting php errors in various areas of the forum. This one I don't know how to fix. It is triggered when we click on the Advanced Search link.
Quote:
|
#2
|
||||
|
||||
In includes/class_core.php locate lines 5683-5685 which should be this.
Code:
case E_NOTICE: // Just ignore these completely // break; Code:
case E_NOTICE: case E_STRICT; case E_DEPRECATED; // Just ignore these completely // break; |
#3
|
||||
|
||||
So that it looks like this:
case E_NOTICE: // Just ignore these completely // break; case E_NOTICE: case E_STRICT; case E_DEPRECATED; // Just ignore these completely // break; Ah, okay. I 'got it'. Change to this: case E_NOTICE: case E_STRICT; case E_DEPRECATED; // Just ignore these completely // break; |
#4
|
||||
|
||||
Yeah change it to that.
|
#6
|
||||
|
||||
Not a problem, glad to help.
|
#7
|
||||
|
||||
We were also getting php errors concerning preg_replace() /e being depricated and to use preg_replace_callback() instead. For each reported occurrence, I made the change in the affected .php file. Would I not have had to do that with this fix??
|
#8
|
|||
|
|||
update to 4.2.3 all fixes are in there or see the link in my sig
|
#9
|
||||
|
||||
vBulletin 4.2.3 ?? We are running 4.2.2 Patch Level 3.
|
#10
|
|||
|
|||
4.2.3 is considered a beta but it runs fine.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|