Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: qwerty1111 - lokakuu 21, 2019, 04:43:31 AP

Otsikko: SMF sending constantly "SMF Database Error!"
Kirjoitti: qwerty1111 - lokakuu 21, 2019, 04:43:31 AP
Hello,

After reinstalling SMF 2.0.15 I begin constantly to receive the message "SMF Database Error!". After reinstalling the forum I set to use the old database. I have used the tool "repair_settings.php".

Only mod installed Tiny Portal 1.6.4.

Regards,
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: d3vcho - lokakuu 21, 2019, 06:03:28 AP
Where are you getting that error message? Is it the full error message? Are you able to access the Error Log in Admin? What PHP version are you using?
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: qwerty1111 - lokakuu 21, 2019, 06:44:14 AP
Hello,

I am getting the following message on the email:
Lainaa
Subject: IoT Forum BG: SMF Database Error!
There has been a problem with the database!

This is a notice email to let you know that SMF could not connect to the database, contact your host if this continues.

LainaaAre you able to access the Error Log in Admin?
Yes.

LainaaWhat PHP version are you using?
Forum version: SMF 2.0.15 (more detailed)
Current SMF version: SMF 2.0.15
GD version: bundled (2.1.0 compatible)
Database Server: Percona
MySQL version: 5.6.42-84.2-log
PHP: 7.0.25
Server version: Apache

Forum:hxxps://iotbg.eu/index.php
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: Illori - lokakuu 21, 2019, 07:29:53 AP
if you are still getting that message you should contact your host.
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: Sir Osis of Liver - lokakuu 21, 2019, 12:31:57 IP
Why/how did you reinstall 2.0.15?
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: qwerty1111 - lokakuu 22, 2019, 01:55:00 AP
@Illory
Thank you. Today I am going to contact my host to see if he can help.

@Sir Osis of Liver
Hello,

1. Deleted all of the SMF files from the folder
2. Made a new installation from cpanel but in a new folder (not the original one). Why? Cpanel gave error that there was already an installation in that folder. So I made a new installation in a separate folder. I couldn't do manual installation in the original folder too.
3. After the installation I copied the new files from the new folder to the original folder.
4. Deleted the new database in cpanel
5. Run "repair_settings.php" to link the old database to the newly installed forum.

Now everything is running fine but my mail is full of this error.
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: lurkalot - lokakuu 22, 2019, 02:56:50 AP
I'm more curious as to why you had to reinstall in the first place?  And if you had a problem, why you didn't just upload a fresh set of files to the original install to fix the problem.  https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files

Is the old install still looking for the database.
Otsikko: Re: SMF sending constantly "SMF Database Error!"
Kirjoitti: Dzonny - lokakuu 22, 2019, 03:06:32 AP
Do you have something in your error log? Is this plain forum or you installed some mods/themes?
The best would anyway be to contact your host, as it seems like your sql server is having some hiccups.