Advertisement:

Author Topic: SMF sending constantly "SMF Database Error!"  (Read 390 times)

Offline qwerty1111

  • Semi-Newbie
  • *
  • Posts: 14
SMF sending constantly "SMF Database Error!"
« on: October 21, 2019, 04:43:31 AM »
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,

Online d3vcho();

  • Sempiterno
  • Lead Localizer
  • SMF Hero
  • *
  • Posts: 3,946
  • Gender: Male
    • frandominguez03 on GitHub
Re: SMF sending constantly "SMF Database Error!"
« Reply #1 on: October 21, 2019, 06:03:28 AM »
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?

"Greeting Death as an old friend, they departed this life as equals."

Offline qwerty1111

  • Semi-Newbie
  • *
  • Posts: 14
Re: SMF sending constantly "SMF Database Error!"
« Reply #2 on: October 21, 2019, 06:44:14 AM »
Hello,

I am getting the following message on the email:
Quote
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.

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

Quote
What 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

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,470
Re: SMF sending constantly "SMF Database Error!"
« Reply #3 on: October 21, 2019, 07:29:53 AM »
if you are still getting that message you should contact your host.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,390
Re: SMF sending constantly "SMF Database Error!"
« Reply #4 on: October 21, 2019, 12:31:57 PM »
Why/how did you reinstall 2.0.15?

Offline qwerty1111

  • Semi-Newbie
  • *
  • Posts: 14
Re: SMF sending constantly "SMF Database Error!"
« Reply #5 on: October 22, 2019, 01:55:00 AM »
@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.

Offline lurkalot

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,496
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: SMF sending constantly "SMF Database Error!"
« Reply #6 on: October 22, 2019, 02:56:50 AM »
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.

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 11,994
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: SMF sending constantly "SMF Database Error!"
« Reply #7 on: October 22, 2019, 03:06:32 AM »
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.