My MODx 2.26 web app does not work and show an empty page
Good day
I built a web app some year ago but no update has been perform and the owner called because, it’s web site is showing a white page.
I was thinking that my index.php page has been hack and I replaced it but nothing happen. As it an old MODx web site, I wunder if the PHP is not compatible.
When I go to manager, I got this error
Fatal error : Call to a member function get() on a non-object in /home/www/bff53dea2cc171caecad1b7c3907f0f4/web/core/model/modx/modmanagerresponse.class.php on line 41
Do you have any idea, if ther web site has been pirated or if it a version solution that I could solved quickly?
Hi @pierrot1010 and welcome to the MODX Community.
There are all sorts of reasons your site could not be working including a hack but the first, I’d check is whether or not your host upgraded the PHP or MySQL software recently. 2.2.6 will not be likely compatible with PHP 5.6+ and I know for a fact it’s not compatible under certain conditions with PHP 7.
Another possiblitly is that your db credentials changed or for some reason you cannot connect to the database properly. This was the case in this thread in the old Forums.
I’d be seriously surprised if a site running 2.2.6 was not compromised in some regard. The compromises of sites last July was widespread and very serious—even when sites remained online and didn’t show any outward symptoms.
I do not what is that IP address (I replaced some numbers with x).
I NEVER choose a username and password as we can see!!
The IP adresse show an Apache server default page!
My idea now is to reinstall my modx with the same version but selecting a new and empty database. Then modify the config.inc.php to link it to the previous database. Both database have the same username and password and hosted at the same place.
In thta way, I am sure thta the dabase will not be affected.
The probleme is the addon I installed, but I gess I could reinstall it later
Hi @pierrot1010, to disable the captcha plugin, login to the database using a tool like phpMyAdmin and set the disabled column for that plugin in the modx_site_plugins row to 1. This assumes your database prefix is modx_.