Hi,
I was recently forced to upgrade PHP/mysql (and ubuntu) version on a very old server with VBB 4.2.0 Patch Level 3. I'm now on PHP 5.5.9 and mysql 14.14 and am getting the error:
I am aware that ideally I should be using mysqli and I know how to switch to it. If I do then the error goes away. BUT... I cannot use mysqli for a large number of reasons, so please don't tell me to use it as I truly cannot. I am in the process of upgrading this forum on a new server - I've just had to undertake steps on the old one unexpectedly and I don't have the time/budget to deal with the incompatibilities in our plugins (which are not mysqli and are very extensive) and other issues, especially when I'm about to kill this old server in a couple of weeks anyway.
So... as I understand it these functions were only deprecated in this version of PHP/mysql and were not actually removed until PHP7. As such, I assume there should be some way to force VBB to just accept the deprecated functions which still work elsewhere - I just can't for the life of me find how to do it.
I've attempted in global.php and php.ini to disable deprecation warnings to no avail. I even tried disabling the ability for scripts to change the error message reporting, in php.ini. I would be immensely grateful if someone could help - this is super urgent as our site has been down for 2 days now due to this issue.
Thanks
I was recently forced to upgrade PHP/mysql (and ubuntu) version on a very old server with VBB 4.2.0 Patch Level 3. I'm now on PHP 5.5.9 and mysql 14.14 and am getting the error:
Code:
Database error in vBulletin : mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead /********/public_html/includes/class_core.php on line 317
So... as I understand it these functions were only deprecated in this version of PHP/mysql and were not actually removed until PHP7. As such, I assume there should be some way to force VBB to just accept the deprecated functions which still work elsewhere - I just can't for the life of me find how to do it.
I've attempted in global.php and php.ini to disable deprecation warnings to no avail. I even tried disabling the ability for scripts to change the error message reporting, in php.ini. I would be immensely grateful if someone could help - this is super urgent as our site has been down for 2 days now due to this issue.
Thanks
Comment