The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PHP upgrade problem
My web host upgraded PHP versions. My VB 3.6 does now not function. When trying to sign on the the forum page I get this error message.....
Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/mozartf/public_html/VB_forum/includes/class_core.php on line 1530 Unable to add cookies, header already sent. File: /home/mozartf/public_html/VB_forum/includes/class_core.php Line: 1530 Can anyone help with a simple fix. I imagine if I had money or time to upgrade to VB4 it would fix it but neither is workable for me. Thanks for any help you can offer. Steve |
#2
|
|||
|
|||
You could try changing
Code:
error_reporting(E_ALL & ~E_NOTICE); Code:
error_reporting(E_ALL & ~E_NOTICE & ~8192); everywhere it appears (you'll need some kind of search and replace program because it appears in a lot of places. I've also seen people suggest just putting Code:
error_reporting(E_ALL & ~E_NOTICE & ~8192); at the beginning of global.php. I haven't tried that myself, but you might want to try that first since it obviously involves a lot fewer changes. This solved a lot of the problems for me using vb3 with a newer php a couple years ago, but to be honest I don't know what problems you might run it to with the latest version of php. |
#3
|
|||
|
|||
Thanks for the response I'll happily try it. Is global.php a fiie within my VBulletin or a file on the server which I could only alter with the help of the host company ?
Steve |
#4
|
||||
|
||||
If using whm you can enter that directly in to php.ini
--------------- Added [DATE]1342024775[/DATE] at [TIME]1342024775[/TIME] --------------- Wont your host roll back for you? |
#5
|
|||
|
|||
Quote:
What Simon mentioned above is a good thought - if it's your server, you might be able to ask if they could go back to the previous version. If it's a shared server then probably they won't, but you could ask about it, maybe they keep some servers running older versions or something, I don't know. |
#6
|
||||
|
||||
If they are on a vps you can roll back per account
|
#7
|
|||
|
|||
A roll back was my first thought. They said they would move me to a server running older PHP but eventually it will be updated as the older version is not supported. I found a suggestion elsewhere about a change in php.ini setting which might work. I'll try them all soon. Thanks for the help.
|
#8
|
|||
|
|||
Hey KH....
Thanks that was genius it worked. I inserted that line into the global.php for the main folder and the admincp folder and the modcp folder. Back in business makes me and my members very happy. Thanks to you and all for the time you spend here helping us the only slightly computer literate. Steve |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|