Error Message: MyBB was unable to load the SQL extension.
I am on web server 220.127.116.11, /home/vol17_1/epizy.com/, so I assume my issue was related to the recent problem.
Initially I was not aware of the hosting problems and thought it was mybb that had become corrupted. I tried the typical fix within config.php, that did not work. I tried restoring the forum from a recent backup including an SQL restore, That resulted in the same error 44. I tried to try a new installation of mtbb & that did not work, I could not get past the initial SQL config screen. It would error out and not connect to SQL.
I restored the original files and SQL config after finding out it was likely a hosting issue. So I’m back to square one.
MySQL Hostname-= sql104.infinityfree.com. I cant ping this address, it does not seem to have an IP address associated with the host name.
An error log? I’m not aware of any error log.
Is it not it unusual to output such little information when running phpinfo.php ?
Was there a change in php versions while the server was having client issues?
I’ve never had any errors before & since the server issues my forum is down… Its hard not to think its related. I cant produce output info about the SQL Extensions. I cant even install a brand new forum because of SQL issues… So its like I’m locked out of installing or using mybb.
Is there any way to verify that the SQL extensions are installed and working?
In it, they say the problem is likely caused by the setting $config['database']['type'], which could be either mysqli or mysql, according to the reply. Most likely this should be mysqli in all cases, because the mysql extension was removed with PHP 7.0 officially, but still supported by us up to PHP 7.4, but removed with the PHP 8.2 update.
Your site is configured to use mysql, so you’ll probably need to change this to mysqli.
Unusual? Yes. Indicative of a problem? No, this is by design, and won’t affect the functionality of your website.
It’s likely that the server issues were the result of your server being updated to a new PHP version.
I wish it was as simple as changing a setting in config.php, but that change results in what looks like a more serious error. I think I may have made a mistake with the sql hostname when setting up from scratch, so I will try that again. I cant see why deploying the latest version of mybb would result in php incompatibilities.
I tried a vanilla install of mybb with the correct sqlhostname and that worked.
Admin, the error looked more serious because it was approx. 8-10 lines of bad code. Assumingly preventing the site from launching.
-Try accessing the site now and let me know if you still get an ssl error. https://mmaiato.com/forum/
BTW the config.php file now shows mysqli for the database type, in this default new installation.
I guess I will move on to restoring my previous data without breaking the new install.
Thanks for all your help guys.
It all worked out, I don’t know why some say you cannot restore mybb to a new installation. It restored everything that counts. The users, the forums, the posts, & themes.
What it did not restore was the plugins, post images, custom avatars, These are easily transferable from the recent files backup.
In the end I guess I had too many php customization’s to be compatible with php8.
A full restore of files and MySQL from a very recent backup resulted in the same error (44). A new installation with MySQL & partial files restore fixed the issue.
Not knowing much about PHP beyond the obvious did not help, but I feel I’ve gained some insight (not much).
Thanks again guys