D
D
denism3002019-05-21 09:39:29
MODX
denism300, 2019-05-21 09:39:29

How to fix link issue after MODx site migration?

After transferring the site from one hosting to another, all links are no longer correct - they lead to the main one. The logs have these errors:

[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `[ [~98]]` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx /modparser.class.php : 1373) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/ public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `[ [~191]]` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx /modparser.class.php : 1373) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/ public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `[ [~184]]` encountered
[2019-05-21 06:36:51] (ERROR @ /home/admin/web/bassein.online/public_html/core/model/modx/modx.class.php : 754) PHP warning: Invalid argument supplied for foreach()
[2019-05-21 06:36:51] (ERROR @ /home/admin/web/bassein.online/public_html/core/model/modx/modx.class.php : 754 ) PHP warning: Invalid argument supplied for foreach()
[2019-05-21 06:36:51] (ERROR @ /home/admin/web/bassein.online/public_html/core/model/modx/modx.class.php :754) PHP warning: Invalid argument supplied for foreach()
[2019-05-21 06:36:51] (ERROR @ /home/admin/web/bassein.online/public_html/core/model/modx/modx.class.php : 754) PHP warning: Invalid argument supplied for foreach ()
[2019-05-21 06:36:51] (ERROR @ /home/admin/web/bassein.online/public_html/core/model/modx/modx.class.php : 754) PHP warning: Invalid argument supplied for foreach()
[2019-05-21 06:36:51] (ERROR @ /home/admin/web/bassein.online/public_html/core/model/modx/modx.class.php : 754) PHP warning: Invalid argument supplied for foreach()
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373 ) Bad link tag `` encountered
[2019-05-21 06:36:51] (ERROR in resource 1 @ /home/admin/web/bassein.online/public_html/core/model/modx/modparser.class.php : 1373) Bad link tag `[ [~197]]

what is the reason and how to fix it?
MODx Revo 2.7.1, PHP both on the old and on the new hosting 7.3 Transferred the domain name
according to the instructions https://modxinfo.ru/modx-transfer did not change

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Golyagin, 2019-05-27
@webrevenue

php downgrade to 7.2 and check if mod_rewrite PHP module is enabled

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question