Всем привет!
У меня есть проблема с моим PHP скриптом. Этот скрипт должен парсить XML-файл в MySQL базу данных. Он работает отлично на localhost'е, но когда заливаю на хостинг-сервер, скрипт выдаёт ошибку:
"OK The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, name@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log."
Я добавил такой кусок кода:
header('Content-Type: text/html; charset=utf-8');
error_reporting(-1);
ini_set('error_reporting', E_ALL);
ini_set('max_execution_time', 0);
ini_set('memory_limit', -1);
ini_set('set_time_limit', 0);
set_time_limit(0);
но ошибка ни куда не исчезла и появляется снова и снова.. Как решить эту проблему?
Продвижение своими сайтами как стратегия роста и независимости