The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem with patch 3?
Ok since i installed PL3 I have been getting the following error on some of the mods that are used on my forum. Im wanting to know if its just me or if its happening to other people as well and hopefully someone will be able to help me fix the issue.
Quote:
Thanks in advance! |
#2
|
|||
|
|||
It has to do with your version of php, which is a higher version than was intended for vb3. But you should be able to get rid of the errors by editing global.php and putting this near the top (after the block of comments):
Code:
error_reporting(E_ALL & ~E_NOTICE & ~8192); then do the same for admincp/global.php and modcp/global.php. |
2 благодарности(ей) от: | ||
Pakblogger, WHN |
#3
|
|||
|
|||
Thanks a lot. From what I can see it has fixed it. If I have any more probs with this I will let you know. Thanks again!
--------------- Added [DATE]1342701957[/DATE] at [TIME]1342701957[/TIME] --------------- After using the piece of code you sent me the errors did disappeared but some of the mods are still unusable. Im really not sure what is wrong with it. |
#4
|
|||
|
|||
<a href="http://whiteseonet.com/install/install.php" target="_blank">http://whiteseonet.com/install/install.php</a>
can someone check that error i put that code in global also in admincp and modcp and i still have that error in install file... that file install.php is now with error_reporting(E_ALL & ~E_NOTICE & ~8192); am still getting thet error Help! |
#5
|
|||
|
|||
What version of php do you have? That code used to work but lately a few people have said it doesn't, and I'm not sure why. Maybe try this instead:
Code:
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT); You could also try turning off error messages altogether, like: Code:
ini_set("display_errors", "0"); |
#6
|
|||
|
|||
with that code
Code:
ini_set("display_errors", "0"); Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/install/init.php on line 44 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/install/init.php on line 83 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/install/init.php on line 91 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/install/init.php on line 171 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/install/init.php on line 183 Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/class_core.php on line 2518 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/class_core.php on line 1637 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/functions.php on line 875 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/functions.php on line 879 |
#7
|
|||
|
|||
I think that's because some of the other install files have their own error_reporting() and ini_set() calls which are overriding yours. Here's what I'd do - since those are actually just warnings, ignore them while you are doing the install. Then if they still show up on the forum once it's installed, we can figure out which other files you need to change.
|
#8
|
|||
|
|||
but i cant go ahead with install because of this errors am put costumer number
HTML Code:
Customer number entered successfully. Redirecting... |
#9
|
|||
|
|||
OK, well, I'm not sure the errors are your problem but I suppose they could be. What you could do then is to try looking at files init.php and installcore.php (in the intstall directory) and change the ini_set('display_errors', true) to false.
|
#10
|
|||
|
|||
Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/class_core.php on line 2518 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/class_core.php on line 1637 but there are still 2 errors Code:
Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/functions.php on line 875 Deprecated: Assigning the return value of new by reference is deprecated in /home/usainsur/public_html/whiteseonet.com/includes/functions.php on line 879 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|