Solution to the error reported when logging into the background of Imperial CMS7.5 using PHP7.x environment

888u

Last update at :2024-03-18,Edit by888u

Official description of Empire CMS: When using PHP7. running environment, in the following two situations, set up to support PHP7. Operation steps:

1. When installing Empire CMS newly:

Just select mysqli as the MYSQL interface type during installation to support the PHP7 series.

2. When the Empire CMS has been installed and replaced with PHP7.* operating environment:

Just modify the configuration file /e/config/config.php; change $ecms_config['db']['usedb']='mysql'; to $ecms_config['db']['usedb']= 'mysqli'; can support PHP7 series. (Note: Notepad cannot be used to modify UTF8 files, otherwise the file will be converted to GBK encoding. It is recommended to use Dreamweaver to modify it.)

Solution to the error reported when logging into the backend of Empire CMS7.5 using PHP7.x environment!

3. php.ini configuration problem can be solved by modifying it as follows: (remember to restart the environment after changing)

Modify php.ini and change error_reporting = E_ALL to

error_reporting = E_ALL & ~E_NOTICE

4. If the problem cannot be solved by modifying the above, the error will still be reported. Please continue to modify the PHP.ini file and change display_errors = ON to display_errors = Off!

If the server is a pagoda environment, 3 and 4 above can be modified directly from the picture below:

Recommended site searches: Chinese domain name registration official website, foreign space service providers, overseas servers, Hong Kong cloud hosting, telecom IP address query, US hosting reviews, IP reverse domain name query, foreign vps server rental, server space rental, registered domain name,

Solution to the error reported when logging into the background of Imperial CMS7.5 using PHP7.x environment

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码