Добрый день!
Проблемма такая: хостинг ( R01 ) обязал перейти на новую платформу, с полным переносом сайта, баз данных и тд.
После переноса, изменились сервер баз данных/логин/пароль, сами базы данных те же.
Изменил в файле config.inc.php данные о базах данных. В итоге при заходе на сайт появляется это:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-2_ud_03_43234_1_00.`ud_03_4site_content` sc LEFT JOIN h250308-2_ud_03_43234_1_0' at line 1 »
SQL: SELECT DISTINCT sc.id, sc.menutitle, sc.pagetitle, sc.introtext, sc.menuindex, sc.published, sc.hidemenu, sc.parent, sc.isfolder, sc.description, sc.alias, sc.longtitle, sc.type,if(sc.type='reference',sc.content,'') as content, sc.template, sc.link_attributes FROM h250308-2_ud_03_43234_1_00.`ud_03_4site_content` sc LEFT JOIN h250308-2_ud_03_43234_1_00.`ud_03_4document_groups` dg ON dg.document = sc.id WHERE sc.published=1 AND sc.deleted=0 AND (sc.privateweb=0) AND sc.hidemenu=0 AND sc.id IN (1,106,261,167,2,109,17,48,108,54,229,199,200,204,242) GROUP BY sc.id ORDER BY sc.menuindex ASC ;
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0193 s (0 Requests)
PHP: 0.0190 s
Total: 0.0382 s
Спаситете.