"An unexpected error occurred. Please try again later."

rollermachine

Member
Licensed customer
Hi,

I have recently moved over an installation of xenForo onto a different machine and have since then, been getting the error "An unexpected error occurred. Please try again later." whenever I go to its web page.

If you need any logs, please tell me where I can find them and I will most likely be happy to provide them.
 
If you enable debug mode, there should be more details available.

If you can access the ACP, there should be entries in the error log.
 
Could be anything.

At first it'd try to get access to the admin control panel.
Have you tried to directly access admin.php?

If this results in the same error cou can try to put
PHP:
$config['enableListeners'] = false;
into config.php and try to access admin.php again.

If this still does not work, you could try to look up the latest entries in table xf_error_log, maybe there is some PHP extension missing or smth.
 
Could be anything.

At first it'd try to get access to the admin control panel.
Have you tried to directly access admin.php?

If this results in the same error cou can try to put
PHP:
$config['enableListeners'] = false;
into config.php and try to access admin.php again.

If this still does not work, you could try to look up the latest entries in table xf_error_log, maybe there is some PHP extension missing or smth.

Ok. Admin.php did not initially work. I then went into my config.php file in src and added "$config['enableListeners'] = false;" so that there were the options:
$config['fullUnicode'] = true;
$config['enableTfa'] = false;
$config['enableListeners'] = false;
and it still did not work.
 
I am now getting an unexpected database error instead of the one before on the home page but not on the admin page.

<!-- MySQL statement prepare error [1146]: Table 'minersmc.xf_user_remember' doesn't exist -->

What can I do about this?
 
This is a XenForo core table that must be present. If it is missing your database is corrupted and you "must" restore a working backup.
 
Could be anything.

At first it'd try to get access to the admin control panel.
Have you tried to directly access admin.php?

If this results in the same error cou can try to put
PHP:
$config['enableListeners'] = false;
into config.php and try to access admin.php again.

If this still does not work, you could try to look up the latest entries in table xf_error_log, maybe there is some PHP extension missing or smth.

guys so licensed and well, was with this problem thanks to you solved ... thanks Kirby and Brogan.
 
Back
Top Bottom