Answer the question
In order to leave comments, you need to log in
Problem with transferring a site to another domain on MODX urgently what to do?
Good afternoon everyone.
Problem with a site that runs on MODX.
The site was transferred to another domain, the hosting remained the same, they just changed the domain.
The paths in the required files were changed
/core/config/config.inc.php
/config.core.php
/connectors/config.core.php
/manager/config.core.php The
paths in these files were replaced with the new domain.
The cache has been cleared.
As a result, the site gives such an error, we cannot navigate through the subsections in the "Resources" section.
Gives
Fatal error: Call to a member function getAssets() on null in /home/users/a/allgood2013/domains/medopt.store/core/components/assman/controllers/PageController.php on line 219
Answer the question
In order to leave comments, you need to log in
Most likely in the component with a strange name CENSORSHIPman written by krivoruchka direct paths are inscribed, tpak that take down this piece and there will be a chocolate to you...
In a DB looked paths??? maybe, too, that there are little things ...
Return everything to its original state. For a new domain, write a type A record in the DNS with the ip hosting the site, and write a redirect to the new domain in htaccess. And in the hosting panel, add a new domain and specify the path to file placement for it, or specify the new one as an alias in the settings for the main domain.
If you have changed the domain, then you do not need to carry out the steps for transferring to another hosting on which the directory paths differ from the old one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question