Answer the question
In order to leave comments, you need to log in
Backward compatible mysqli and mysql?
The site needed to update the modx evo engine from the old version to the latest one.
The contractor took the site and database files (mysql) and updated the system on his hosting, and then returned the new files and the new database back.
I removed the old site, installed a new one (uploaded the files, uploaded a new database next to the old one and registered the
corresponding $database_server, $database_user, $database_password, $dbase in the MODX Configuration file
Result: error when trying to enter the site, the MODX admin panel works, but gives error messages
Careful examination of the MODX Configuration files of the old (pre-upgrade) and new sites revealed that the old one has
$database_type = 'mysql', the new one has $database_type = 'mysqli';
Could the site be down because it was moved to a hosting with mysqli subd (and it worked because of mysql -> mysqli compatibility), updated there and transferred to a hosting with mysql subd?
Answer the question
In order to leave comments, you need to log in
mysql/mysqli - php modules for working with mysql
contact the hosting support with a request to enable mysqli support, or upgrade to a new version of php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question