Ошибка после переноса сайта на другой домен Есть решение
Здравствуйте. После переноса сайта на другой домен - при редактировании темы дизайна выплывает ошибка
{"status":"fail","errors":"PHP extension DOM required","data":[]} Warning: Cannot modify header information - headers already sent by (output started at /home/delitis2/delux.style/docs/wa-system/controller/waActions.class.php:103) in /home/delitis2/delux.style/docs/wa-system/response/waResponse.class.php on line 217 PHP extension DOM required code 500 /home/delitis2/delux.style/docs/wa-system/file/waTheme.class.php (463) ## /home/delitis2/delux.style/docs/wa-system/file/waTheme.class.php(463) #0 /home/delitis2/delux.style/docs/wa-system/file/waTheme.class.php(730): waTheme->getXML(true) #1 /home/delitis2/delux.style/docs/wa-system/file/waTheme.class.php(956): waTheme->save() #2 /home/delitis2/delux.style/docs/wa-system/controller/waActions.class.php(25): waTheme->__destruct() #3 /home/delitis2/delux.style/docs/wa-system/controller/waActions.class.php(25): waDesignActions->saveAction() #4 /home/delitis2/delux.style/docs/wa-system/controller/waActions.class.php(44): waActions->execute('save') #5 /home/delitis2/delux.style/docs/wa-system/controller/waFrontController.class.php(226): waActions->run('save') #6 /home/delitis2/delux.style/docs/wa-system/controller/waFrontController.class.php(161): waFrontController->runController(Object(siteDesignActions), 'save') #7 /home/delitis2/delux.style/docs/wa-system/controller/waFrontController.class.php(58): waFrontController->execute(NULL, 'design', 'save') #8 /home/delitis2/delux.style/docs/wa-system/waSystem.class.php(544): waFrontController->dispatch() #9 /home/delitis2/delux.style/docs/wa-system/waSystem.class.php(483): waSystem->dispatchBackend('webasyst/site/') #10 /home/delitis2/delux.style/docs/index.php(7): waSystem->dispatch() #11 {main} /home/delitis2/delux.style/docs/wa-system/file/waTheme.class.php around line 463 458 * @return DOMDocument|SimpleXMLElement 459 */ 460 private function getXML($as_dom = false) 461 { 462 if ($as_dom && !class_exists('DOMDocument')) { >>463 throw new waException('PHP extension DOM required'); 464 } elseif (!function_exists('simplexml_load_file')) { 465 throw new waException('PHP extension SimpleXML required'); 466 } 467 $path = $this->path.'/'.self::PATH; 468 if (file_exists($path) && filesize($path)) {
2 ответа
PHP extension DOM required - необходимо включить это расширение PHP в настройках хостинга.
Спасибо огромное. Nic.ru в своем репертуаре - из года в год все хуже и хуже )