MyBB Community Forums

Full Version: MyBB Internal Error - Help!!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I went to visit my site this morning and theres an error. Help soon.

Visit my site here
http://jaloko.byethost4.com
Also my mates site has the same thing
http://aryan.byethost10.com/htdocs

Heres a screenshot
[Image: sqlerror.png]
Rolleyes

There are 2 threads in this forum on this exact same issue with posts made within the last hour. Proof no search was even attempted...

Check your database type in config.php. If it's mysql change it to mysqli and if it's mysqli change it to mysql
Oh Sorry, I should of searched first, I thought It was only me and my freind.

I cant find config.php
This is located in phpmyadmin right?
In your inc directory, FTP.
Great, Last I checked I couldnt connect to my ftp server..

EDIT: Nevermind its working!
Seems the other people with this were on byethost too, clearly they've made some changes but haven't thought to email people about it...
I cant find the file in inc. Can you give me the exact file and where to rename please.
It's in "inc/config.php".
Find this line:
$config['database']['type'] = 'mysqli';
Replace with:
$config['database']['type'] = 'mysql';
Fixed. Thanks everyone!
I was getting this message for a rfew minutes today:

Quote:MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2003 - Can't connect to MySQL server on 'h41mysql3.secureserver.net' (4)
Query:
[READ] Unable to connect to MySQL server
Please contact the MyBB Group for support.

It came back up soI just assume it was the go daddy server? I updated forum a few weeks ago when the latest 1.4.6 came out and no issues until tonight.

Could it be something other than the server? It 'fixed' itself all by itself, so that is why I am leaning towards server issues but if it could be something else what would it be all of a sudden?
Pages: 1 2