vbulletin support post
Background:
The forum at www.politics.ie was previously running on a very old 2003 outdated server, with frequent outages, various features not working consistently, and a need to restart MySQL frequently. The old server had no cPanel and was running vBulletin version 4.2.0 patch level 4 on PHP version 5.5.3. An additional isue was that the forum was running vBSEO which I intend to remove ASAP.
It was migrated to a new and up-to-date server and immediately we could not access the forum or the AdminCP at all, both producing the standard non-informative "Database error: The database has encountered a problem" error message. We are running PHP 5.5 on the new server for now but the intention is to upgrade the PHP version to at least 5.6 and to upgrade vBulletin to 4.2.5 as soon as we can.
I tried fixing the paths in config.php first and that didn't help (previously they had been running the database on a separate server; now they are on the same server).
We then initiated a database repair via WHM/cPanel that quickly ran out of resources and hung. Tech support on the new server were able to run a full database repair which took several hours (like 10 hours or so) and just finished this morning. However, I am still getting the standard database error message.
One more piece of information: The database error continues even with hooks disabled.
Turning on error reporting shows this: Strict Standards: Non-static method vBSEO_Storage:ath() should not be called statically in /home/politics/public_html/vbseo/includes/functions_vbseo_url.php on line 359
Following the instructions at https://www.vbulletin.org/forum/showthread.php?t=303582 I was able to fix that error. Now I am back to the vanilla "database error" message with no information, even with display errors set and hooks disabled.
The top of my config.php files looks like this:
So what's my next step? I still cannot get into AdminCP so any options involving that aren't possible.
Background:
The forum at www.politics.ie was previously running on a very old 2003 outdated server, with frequent outages, various features not working consistently, and a need to restart MySQL frequently. The old server had no cPanel and was running vBulletin version 4.2.0 patch level 4 on PHP version 5.5.3. An additional isue was that the forum was running vBSEO which I intend to remove ASAP.
It was migrated to a new and up-to-date server and immediately we could not access the forum or the AdminCP at all, both producing the standard non-informative "Database error: The database has encountered a problem" error message. We are running PHP 5.5 on the new server for now but the intention is to upgrade the PHP version to at least 5.6 and to upgrade vBulletin to 4.2.5 as soon as we can.
I tried fixing the paths in config.php first and that didn't help (previously they had been running the database on a separate server; now they are on the same server).
We then initiated a database repair via WHM/cPanel that quickly ran out of resources and hung. Tech support on the new server were able to run a full database repair which took several hours (like 10 hours or so) and just finished this morning. However, I am still getting the standard database error message.
One more piece of information: The database error continues even with hooks disabled.
Turning on error reporting shows this: Strict Standards: Non-static method vBSEO_Storage:ath() should not be called statically in /home/politics/public_html/vbseo/includes/functions_vbseo_url.php on line 359
Following the instructions at https://www.vbulletin.org/forum/showthread.php?t=303582 I was able to fix that error. Now I am back to the vanilla "database error" message with no information, even with display errors set and hooks disabled.
The top of my config.php files looks like this:
Code:
<?php define('DISABLE_HOOKS', true); define('SKIP_ALL_DS_ERRORS', true); ini_set('memory_limit', -1); ini_set("display_errors", true); // define('SKIP_ALL_ERRORS', true);
Comment