(An unexpected error occurred: #0)
2 posts by 2 authors in: Forums > CMS Builder
Last Post: May 5, 2023 (RSS)
By shannonr - May 3, 2023
Hi. I am getting this error since my client's server got upgraded...
I have checked with them and this is the environment:
-------------------------------------------------------------------------
The account is on the serverĀ pecan.he.net, which is our Version 3 (V3)
platform. It has the following software versions:
OS: Ubuntu 20.04
Apache: 2.4
PHP: 7.3
MySQL: 5.8
The mysqli, gd, curl, openssl, mbstring PHP extensions are installed
-------------------------------------------------------------------------
I can't log in to the admin as it gets the same error.
Any ideas?
By Dave - May 5, 2023
Hi Shannonr,
By default, CMS Builder will hide any errors, log them to the CMS error log, and display that generic message.
When debugging issues it can be helpful to see the messages, and you can do that by unchecking this setting:
Admin > Security > Hide PHP Errors: [_] Hide all warnings and show "An unexpected error occurred #" for errors. View error log >>
However, if you can't login you can manually disable that by editing the /data/settings.dat.php file and ensuring this value is set to zero ("0")
'phpHideErrors' => '0',
Hope that helps, let us know if you have any other questions.
interactivetools.com