Upgrading Server

Go to page

Active member

I have upgraded my server, unfortunately I am getting a bunch of errors on the new server. I have the same modules installed and I did a SQL dump and insert via commandline. I created a support request but it's the weekend and off-hours.

Here is the error I am getting:

An exception occurred: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes in /home/xx/public_html/forums/library/XenForo/Model/DataRegistry.php on line 117

XenForo_Application::handlePhpError() in XenForo/Model/DataRegistry.php at line 117

XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 134

XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 125

XenForo_FrontController->run() in /home/xx/public_html/forums/index.php at line 13

Active member

XenForo moderator

That looks like a problem with the data in the xf_data_registry table. Maybe your database backup / restore went bad. Try a different backup if one is available. Or examine your database using phpmyadmin to make sure the structure and data looks OK. I am leaving for a few hours, but I can take a look when I get back if you give me access to your server.

Try deleting them one-by-one until the problem goes away. These records should be automatically rebuilt upon the next page load. But make sure you have a backup before doing this. Deleting these records may fix your problem, assuming the problem is isolated to those records.

Active member

Can you clarify how you went about solving this? I'm having the same problem after moving to a new server. I'm getting this in debug mode:

An exception occurred: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes in /home/mlrehab/public_html/forum/library/XenForo/Model/DataRegistry.php on line 117

XenForo_Application::handlePhpError()

unserialize() in XenForo/Model/DataRegistry.php at line 117

XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 134

XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 125

XenForo_FrontController->run() in /home/mlrehab/public_html/forum/index.php at line 13

Active member

Trying to communicate this to the support staff for my hosting company and they responded with this:

I'm not quite sure what they mean by that. As for PHP modules that are related
to mysql there is general mysql support and mysqli (which are both enabled)
but also PDO MySQL is avaliable which is not enabled. Do they have a specific
program/module they want installed/upgraded? Can they give the version number
they are wanting as well?