Страница 1 из 1

Вылезли ошибки после переноса на хостинг

Добавлено: 2016-07-25, 16:20:16
Алексей
После переноса сайта на хостиг, на локальном все работало хорошо. Один компонент при работе выводит такой текст ошибки. Хотя свою задачу он все же выполняет. Не хочется что бы посетители видели данные ошибки. Помогите это исправить.

Notice: Undefined index: success in /home/h20972/data/www/24santeh.ru/plugins/system/yjsg/includes/yjsgcore/classes/extend/30/html/message.php on line 34 Call Stack: 0.0002 226632 1. {main}() /home/h20972/data/www/24santeh.ru/index.php:0 0.0151 907104 2. JApplicationCms->execute() /home/h20972/data/www/24santeh.ru/index.php:45 0.0812 3393480 3. JApplicationSite->render() /home/h20972/data/www/24santeh.ru/libraries/cms/application/cms.php:258 0.0813 3393936 4. JApplicationCms->render() /home/h20972/data/www/24santeh.ru/libraries/cms/application/site.php:745 0.1323 3667360 5. JDocumentHTML->render() /home/h20972/data/www/24santeh.ru/libraries/cms/application/cms.php:1059 0.1323 3667432 6. JDocumentHTML->_renderTemplate() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/html.php:477 0.6211 3916792 7. JDocumentHTML->getBuffer() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/html.php:697 0.6214 3920712 8. JDocumentRendererMessage->render() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/html.php:411 0.6215 3922160 9. renderMessage() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/renderer/message.php:52 Notice: Undefined index: success in /home/h20972/data/www/24santeh.ru/plugins/system/yjsg/includes/yjsgcore/classes/extend/30/html/message.php on line 35 Call Stack: 0.0002 226632 1. {main}() /home/h20972/data/www/24santeh.ru/index.php:0 0.0151 907104 2. JApplicationCms->execute() /home/h20972/data/www/24santeh.ru/index.php:45 0.0812 3393480 3. JApplicationSite->render() /home/h20972/data/www/24santeh.ru/libraries/cms/application/cms.php:258 0.0813 3393936 4. JApplicationCms->render() /home/h20972/data/www/24santeh.ru/libraries/cms/application/site.php:745 0.1323 3667360 5. JDocumentHTML->render() /home/h20972/data/www/24santeh.ru/libraries/cms/application/cms.php:1059 0.1323 3667432 6. JDocumentHTML->_renderTemplate() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/html.php:477 0.6211 3916792 7. JDocumentHTML->getBuffer() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/html.php:697 0.6214 3920712 8. JDocumentRendererMessage->render() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/html.php:411 0.6215 3922160 9. renderMessage() /home/h20972/data/www/24santeh.ru/libraries/joomla/document/html/renderer/message.php:52

Вылезли ошибки после переноса на хостинг

Добавлено: 2016-07-25, 16:34:43
lissyara
видимо, старый движок. возможные варианты:
1. отключить вывод ошибок на экран:
http://www.host-food.ru/faq/technical.q ... .htaccess/
2. выбрать более старую версию php:
http://www.host-food.ru/faq/technical.q ... .for.site/
3. обновить движок до актуальной версии.

самый правильный - третий вариант.
если нет такой возможности - то первый (кэш у сайта не забываайте удалять/сбрасывать, если настроен)

если ничего не помогает - второй вариант - выбрать более старый интерпретатор php