После переноса папки (www) из одного жесткого диска на другой сайт перестал запускаться - вылетает ошибка:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_connect() [function.mysql-connect]: Can’t connect to MySQL server on ’localhost’ (10061)
Error type/ Nr.: Warning - 2
File: X:\home\localhost\www\manager\includes\extenders\dbapi.mysql.class.inc.php
Line: 91
Line 91 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 1.3901 s
Total: 1.3901 s
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Failed to create the database connection! »
Parser timing
MySQL: 0.0000 s (0 Requests)
PHP: 2.3946 s
Total: 2.3946 s
модх хранит практически все данные в MySQL базе, так что переносить надо не только файл, но и базу данных
"Und wenn du lange in einen Abgrund blickst, blickt der Abgrund auch in dich hinein."
Не используйте Revo для "просто сайтов". Используйте Evo
Who can defeat
the Russian bear?
Все заработало снова после того, как почистила кэш.