Ошибка 500 internal server error opencart

Ошибка 500Код http 500 Internal Server Error указывает на невозможность обработки сервером любого запроса для доступа к странице или веб-сайту. Есть ошибки, которые чаще всего приводят к возникновению http-статуса 500. Их должен знать каждый разработ

Код http 500 Internal Server Error указывает на невозможность обработки сервером любого запроса для доступа к странице или веб-сайту. Есть ошибки, которые чаще всего приводят к возникновению http-статуса 500. Их должен знать каждый разработчик.

Ошибка 500: что она означает?

Ошибка 500 указывает на сбой в работе сервера в ответ на запрос для доступа к необходимой странице или сайту. Причина дисфункциональности обычно не известна. И часто разработчик даже не понимает, где искать саму проблему, и. тем более, как ее можно исправить.

Важно! Если ошибка 500 возникла сразу после установки модуля. Значит, произошел критический сбой в php. Тем более, что на сайте OpenCart3x выложены только качественные модули.Почему возникает ошибка Internal Server Error: ТОП-3 причин

3 основных причины возникновения ошибки 500:

  1. Неправильно сконфигурированный .htaccess файл.
  2.  PHP не установлен правильно. Соответственно, в работе на сайте находится некорректная версия. Иногда, бывает, у разработчиков отсутствуют пакеты для выполнения файлов PHP.
  3. «Кривые модули».

Нередко проблема возникает после установки модулей и обновления информаций по ним. То есть, разработчик задействует ранее скачанный файл, заходит в менеджер обновлений, обновляет данные. И его интернет-ресурс «ложится» под гнетом ошибки 500, при этом сама админка находится в рабочем состоянии.

Исправить ошибку Opencart

Что делать, чтобы исправить 500 Internal Server Error

Для исправления возникшей ошибки 500, следует совершить ряд шагов:

  1. Открыть оlogs/error.log. Сам файл размещен на сервере разработчика. В «хвосте» файла имеются данные по всем критическим ошибкам.
  2. Зайти через админку в Логи ошибок. Для этого вначале совершают вход в Инструменты. В данном подразделе обычно отображаются все сбои.
  3. Подключить открытие ошибок php на экране. Для этого следует в конце файла добавить другой код: .htaccess. Это должны быть корректировки, внесенные в код, в виде:
  • php_value display_errors 1;
  • php_value display_startup_errors 1;
  • php_value error_reporting E_ALL.

Если же http-статус возникает исключительно после обновления данных в связи с установлением нового модуля, следует совершить 3 важных шага:

  1. Удалить имеющийся модификатор. Скорее всего, причина в том, что последний не совместим с сайтом.
  2. Восстановить интернет-платформу. Для этого надо:
  • зайти в system/storage/modification;
  • удалить ряд папок: админ, систем и каталог;
  • включить в htaccess вывод ошибок, чтобы там найти проблему:

— Display PHP errors;
— ### Uncomment the commands by removing the # sign in front of it;
— php_flag display_startup_errors on;
— php_flag display_errors on;
— php_flag html_errors on;
— php_flag track_errors on;
— php_value error_reporting «E_ALL».

Важно! Порой ошибка 500 возникает после проведения онлайн-платежей или денежных переводов. Поэтому не спешите обновлять страницу или грузить новые модули после таких действий. Дайте время, т.к. такой код состояния http носит временный характер.

Не удивительно, что многие считают причиной возникновения 500 Internal Server Error кривые руки разработчика, ошибку файла или переездвключение ssl. На сайте OpenCart3x предложены исключительно качественные модули и файлы.

Подведём итог.

Данная ошибка может возникнуть как в административной, так и в пользовательской части магазина.

Возникает в следующих случаях:

  • Пропустили в коде «;»
  • Не указали переменную в модуле
  • При конфликте (например, в цикле непредсказуемая ошибка, которую не учли при разработке). Часто бывает в случае изменения API при смене старого ключа на новый, когда в php не установлена функция для проверки ключа данной переменной.

Для исправления ошибки достаточно знаний php на базовом уровне.

Что нужно сделать:

Проверить логи сервера, которые дадут точный ответ где ошибка и полный путь к ней. Если исправить не удается, необходимо написать в поддержку авторам модулей.

Не получилось исправить ошибку? Заказывайте услугу: «Исправить ошибку Opencart»

Модуль Импорт YML Opencart 3.0

Модуль Мультивалютные товары Opencart 3.0

Исправить ошибку Opencart

Исправить ошибку Opencart

OpenCart — один из самых популярных движков для создания интернет-магазина. Бесплатная лицензия про..

Цена:
724 руб.

500 Internal Server Error is a common, irritating HTTP error in Opencart systems.

It’s clear that something has turned out badly.

But, what happened exactly? And, why has it happened?

At Bobcares, we help website owners to solve such complex website errors as part of our Server Management services.

Today, let’s discuss the top 5 reasons for this error and how we fix it.

But, before that, let’s get an idea of 500 internal server error.

What is ‘500 internal server error’ in Opencart system?

500 internal server error is a generic web server error message and should be commonly seen after Opencart migration.

In other words, it means that some error has occurred while accessing a page, but there are no details of what the error is or how to recover from it.

For instance, Opencart website owners usually see a 500 internal server error in their browsers like this:

500 internal server error opencart

500 Internal Server Error in Opencart System

As the first step to find a solution, our Hosting Engineers enable error reporting to display PHP parse errors on the website.

For example, in Opencart systems, we disable Output Compression level and enable display errors in the index.php file by adding the below code.

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

If that doesn’t work, we add these codes to the php.ini file.

And, then we get a more detailed explanation of the reason for this error.

Now, let’s discuss the top 9 reasons for this error and how we fix it.

500 internal server error in Opencart system – Causes & Fixes

In our experience managing websites, we’ll see the major causes of this error and how we fix it.

1) Wrong file or folder permissions

Servers with SuPHP or FastCGI enabled are sensitive to file and folder permissions.

The ideal file permissions are 644 and folders are 755.

Sometimes, 500 internal server errors can be caused by incorrect permissions of Opencart files or folders.

How we fix?

Our Hosting Engineers, check the Opencart website error logs first.

And, if any permission related errors are noted, we’ll immediately correct them.

Since, manually changing each file permission is a tedious task, we use custom scripts to change permissions.

For example, we use the below scripts to change the directory permission to 755, and file permission to 644.

find /home/USERNAME/public_html -type d -exec chmod 755 {} ;
find /home/USERNAME/public_html -type f -exec chmod 644 {} ;

Here /home/USERNAME/public_html is the path of the web directory.

In addition to that, we ensure that we take a backup of the website files before making any changes.

[Are you confused about resetting the file and folder permissions? Our Opencart Experts can help you. We are online 24/7.]

2) Low PHP Memory limit

The most common reason we’ve seen for 500 internal server error in Opencart websites is low PHP memory limit.

This error occurs when there is not enough memory to run the PHP script.

Most of the web hosting providers set the default memory_limit as 20MB, 32MB, 64MB, etc. and this works well for most store listing products.

But, if you want to list about 10,000 products at a time, the PHP memory limit will not allow this and result in 500 internal server error.

So, a sensible memory allocation is 256 MB.

How we fix?

Our Hosting Engineers use many ways to increase the PHP memory_limit on websites.

For example, in cPanel servers, we increase the memory_limit from cPanel > Select PHP version > Switch to PHP options > PHP selector.

500 internal server error opencart

PHP Selector in cPanel

Likewise, in some servers, we increase the PHP memory limit by adding the below code in the .htaccess file.

php_value memory_limit 256M

[If you are not sure of managing the resource limits allocated for your account? Our Support Experts are here for your help]

3) Misconfigured .htaccess

Similarly, another common cause of this error is the misconfigured .htaccess file.

Syntax errors, URL rewrite errors, typo errors, etc. in .htaccess file can lead to 500 internal server errors.

How we fix?

Our Support Engineers first check whether the .htaccess file is the actual culprit by renaming this file temporarily.

If any issues are noted, we locate and correct the misconfiguration in the .htaccess file.

In addition to that, we ensure that the .htaccess file is properly structured and configured.

4) Missing PHP modules

Another common reason for 500 internal server error in Opencart websites is the lack of required PHP modules.

For Opencart systems to work properly, modules such as Curl, Zip, Zlib, GD, Mcrypt, Mbstring, Xml are required.

How we fix?

Our Support Engineers check whether the required PHP modules are enabled with the phpinfo.php file.

And, if we find any modules missing, we either enable or install them for the domain.

Also, we always make sure to delete the phpinfo.php file after testing, because hackers can target it and misuse it.

Installing PHP modules is a technical task. If you are not confident, don’t go for it.

[If you suspect missing PHP modules are in your server, our Expert Engineers can fix it for you within minutes.]

5) PHP Timeout

Most web hosts set the default PHP time limit to 30 sec, 60 sec or 90sec.

A PHP timeout occurs when an Opencart application or a PHP request takes longer time to produce the output and terminates.

As a result, the website returns 500 internal server error.

How we fix?

In such cases, our Hosting Engineers tweak the timeout values so that script doesn’t timeout, but waits for the request to be processed.

For instance, in some servers, we tweak the PHP parameter max_execution_time in the file “php.ini” to increase the PHP timeout value.

max_execution_time = 300;

In cPanel servers, we change the max_execution_time value from cPanel > Select PHP version > Switch to PHP options > PHP selector.

However, increasing the PHP timeout limit is a complex process.

Because, higher timeout values are favorable for hackers to execute long running scripts in parallel to bring your web server down.

So, we first analyze the server resources and tweak these limits to optimal values.

6) Non-compatible Opencart extensions

Opencart extensions are addon programs that provide extra functionality to your website.

But, some extensions may not compatible with your Opencart version, or these files may be corrupted or not uploaded properly.

As a result, Opencart users see 500 internal server error.

For example, one such error is given below:

– Fatal error: Call to undefined method Customer::isLogged() in /path/public_html/catalog/model/catalog/product.php on line 8;
How we fix?

To check the compatibility, we disable all extensions and enable them one by one to identify the culprit.

If our Hosting Engineers find a corrupted extension, we download a fresh copy and re-upload the files once again.

[If you’re unable to find which extension caused this error, our Opencart support team can fix it for you. We’re available 24/7]

7) vQmod and oCmod permissions

vQmod helps Opencart developers to have 3rd party extensions that require Opencart core modifications without affecting the integrity of core system files.

And, oCmod is the simplified vQmod version.

But, we have seen cases where vQmod or oCmod fails to generate cache from vQmod file extensions.

As a result, the website throws 500 internal server error.

How we fix?

Our Hosting Engineers check the permission of the folders “vqmod/cache” and “/system/storage/modification/” and make sure they are writable.

Moreover, we manually clear the vQmod cache and the oCmod cache to fix the issue.

8) Corrupted files or wrong encoding

Many Opencart owners approach us saying their website broke after modifying or updating Opencart files.

We’ve seen that, such problems often happen due to incorrect encoding or stray spaces inserted in the files.

How we fix?

If you are not an expert, we always suggest to download a fresh copy of Opencart files and replace the recently changed files.

If extensive changes are made to the Opencart files, our Hosting engineers manually check the files and fix syntax errors.

Additionally, we ensure that proper encoding is set for the Opencart files.

[If you are not a coding expert to fix this problem. Don’t worry, We can do it for you in a few minutes.]

9) Security restriction in the server

Similarly, we’ve seen Opencart website don’t work when script execution is blocked by a firewall like mod_security or a PHP restriction in effect.

The result is website throwing 500 internal server error.

How we fix?

If we find that the website is blocked by mod_security, we identify which security rule has been triggered and add an exemption for that site.

Similarly, in case of safe_mode restriction enabled in PHP, we exclude the domain from this restriction by adding the below code in .htaccess file.

php_value safe_mode off

This list is not complete. There could be many more reasons for this error to occur.

But, we have to do a detailed log analysis to identify the problem.

So, if you need help, click here for an Opencart expert to look into your site. We are online 24/7.

Conclusion

In short, 500 internal server error in Opencart systems are quite annoying. This can happen due to .htaccess errors, resource limits and more. Today, we’ve shared the top 9 reasons for this error and how our Dedicated Support Engineers fix it.

Ошибка выглядит как на скриншоте или просто как белый экран

Что такое 500 Internal Server Error?

Существует пять разных классов кодов состояния HTTP, которые определяют тип ответа сервера на HTTP-запрос:

  • 1xx: Информационный
  • 2xx: Успех
  • 3xx: Перенаправление
  • 4xx: Ошибка клиента
  • 5xx: Ошибка сервера

Сложность в отношении ошибки 500 заключается в том, что сервер не может обработать ваш запрос для доступа к странице или веб-сайту по неизвестной причине. На первый взгляд, вы понятия не имеете, что происходит, и где можно найти проблему, не говоря уже о том, как ее исправить.

Когда возникает ошибка?

В 99,99% случаев страницу с кодом ответа 500 мы видим из-за ошибок в файлах и наших кривых рук.

Наиболее частая причина — переездвключение ssl. Вторая по расрпостранённости — манипуляции с чпу Опенкарта. Третья — кривые модули.

Еще может быть, вы неправильно сконфигурировали свой .htaccess файл? Или, может быть, у вас отсутствуют пакеты при попытке выполнить файл PHP, в то время как PHP не установлен правильно и работает некорректная версия?

Для этого очень трудно получить точный ответ, поскольку каждый случай отличается.

Алгоритм действий

Обновите страницу, очистите кеш браузера, удалите cookies

Находим код ответа страницы

Если выводится просто пустая страница — это не всегда признак ошибки 500. Поэтому в первую очередь узнаем код ответа, с которым она открывается. Для этого воспользуемся инструментами разработчика, встроенными в каждый браузер. Они помогут нам узнать код ответа страницы, время ответа и, в некоторых случаях, посмотреть текст ошибки.

Показываю, как это делать в Mozilla Firefox. Нажмите сочетание клавиш Ctrl+Shift+I или кнопку F12. Либо через меню «Веб-разработка» > «Инструменты разработчика»

Перейдите во вкладку «Сеть (Network)». Теперь выберите тип документа щелкнув по пункту «HTML».На ошибку 500 указывает соответствующее число в колонке «Статус». На скриншоте сайт Википедии и он отдает код ответа 200.

Если код ответа 200, значит проблема в верстке или модуле, восстановите бэкап или отключите последний добавленный модуль — должно помочь. Если код ошибки 500 переходим к следующему пункту.

Проверяем файл .htaccess

Типичная причина ошибки 500 — это файл htaccess. Отключим его, для этого переименуем .htaccess в .htaccess.txt и проверим как работает сайт. Если, после этой манипуляции, он доступен(код ответа страниц 200), восстанавливаем htaccess из бэкапа.

Частый случай, когда забывают переименовать Options +FollowSymlinks на Options +SymLinksIfOwnerMatch.

Если дело не в htaccess, переходим к следующему пункту.

Проверяем файлы сайта

Вывод ошибок PHP на хостинге по умолчанию выключен. Чтобы увидеть их текст, добавьте в конец файла .htaccess правило:

php_value display_errors 1
и обновите страницу сайта.

Если текст ошибки не отобразился, включите вывод ошибок через index.php Opencart. Перейдите в корневой каталог своего магазина и отредактируйте файл index.php.

Используйте свой любимый текстовый редактор и в верхней части index.php файла, вставьте этот фрагмент кода после первой строчки. Строго никаких лишних пробелов и переноса строки!

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Сохраните файл и вернитесь в магазин.

Обновите страницу, на которой вы столкнулись с ошибкой, и увидите примерно такое:

Теперь понятно, что вызвало 500 Internal Server Error и точный поврежденный файл. Это дает вам отправную точку для поиска решения вашей ошибки. Можно начинать гуглить)

Если ничего не помогает

Редко встречается, но все же — некоторые модули или скрипты потребляют больше оперативной памяти, чем выделено хостингом. Встречается на некоторых дешевых или бесплатных тарифах.

Например, поднимем лимит до 512 мегабайт. Для этого добавляем в конец файла htaccess строчку:

php_value memory_limit 512M

Вместо «512» укажите необходимый объем памяти. Узнать максимально доступное значение можно в техподдержке хостинга.

Ошибка то возникает, то нет

Вот типичный пример:

Такие ошибки очень сложно отследить, они могут возникать у отдельных пользователей при совершенно невинных операциях. Чтобы их выловить, включим журнал ошибок PHP, для этого добавим в конец файла htaccess директиву:

php_value error_log /home/username/domains/domain.ru/php_errors.log

и сбрасываем кэш сайта.

Резюме

Ошибка возникает из-за манипуляций с файлами. Что бы ее убрать, сначала отменяем последнее внесенное изменение.Если не помогает, идем по алгоритму — очистка кэша, отключение htaccess, проверка логов ошибок.

Содержание

  1. 500 Internal Server Error — невозможность сервера обработать запрос
  2. Ошибка 500
  3. Ошибка 500: что она означает?
  4. 3 основных причины возникновения ошибки 500:
  5. Что делать, чтобы исправить 500 Internal Server Error
  6. Модуль Импорт YML Opencart 3.0
  7. Модуль Мультивалютные товары Opencart 3.0
  8. Исправить ошибку Opencart
  9. 500 internal server error : Opencart – Causes and Solutions
  10. What is ‘500 internal server error’ in Opencart system?
  11. 500 internal server error in Opencart system – Causes & Fixes
  12. 1) Wrong file or folder permissions
  13. 2) Low PHP Memory limit
  14. 3) Misconfigured .htaccess
  15. 4) Missing PHP modules
  16. 5) PHP Timeout
  17. 6) Non-compatible Opencart extensions
  18. 7) vQmod and oCmod permissions
  19. 8) Corrupted files or wrong encoding
  20. 9) Security restriction in the server
  21. Conclusion
  22. PREVENT YOUR SERVER FROM CRASHING!

500 Internal Server Error — невозможность сервера обработать запрос

Ошибка 500

Код http 500 Internal Server Error указывает на невозможность обработки сервером любого запроса для доступа к странице или веб-сайту. Есть ошибки, которые чаще всего приводят к возникновению http-статуса 500. Их должен знать каждый разработчик.

Ошибка 500: что она означает?

Ошибка 500 указывает на сбой в работе сервера в ответ на запрос для доступа к необходимой странице или сайту. Причина дисфункциональности обычно не известна. И часто разработчик даже не понимает, где искать саму проблему, и. тем более, как ее можно исправить.

Важно! Если ошибка 500 возникла сразу после установки модуля. Значит, произошел критический сбой в php. Тем более, что на сайте OpenCart3x выложены только качественные модули.Почему возникает ошибка Internal Server Error: ТОП-3 причин

3 основных причины возникновения ошибки 500:

  1. Неправильно сконфигурированный .htaccess файл.
  2. PHP не установлен правильно. Соответственно, в работе на сайте находится некорректная версия. Иногда, бывает, у разработчиков отсутствуют пакеты для выполнения файлов PHP.
  3. «Кривые модули».

Нередко проблема возникает после установки модулей и обновления информаций по ним. То есть, разработчик задействует ранее скачанный файл, заходит в менеджер обновлений, обновляет данные. И его интернет-ресурс «ложится» под гнетом ошибки 500, при этом сама админка находится в рабочем состоянии.

Что делать, чтобы исправить 500 Internal Server Error

Для исправления возникшей ошибки 500, следует совершить ряд шагов:

  1. Открыть оlogs/error.log. Сам файл размещен на сервере разработчика. В «хвосте» файла имеются данные по всем критическим ошибкам.
  2. Зайти через админку в Логи ошибок. Для этого вначале совершают вход в Инструменты. В данном подразделе обычно отображаются все сбои.
  3. Подключить открытие ошибок php на экране. Для этого следует в конце файла добавить другой код: .htaccess. Это должны быть корректировки, внесенные в код, в виде:
  • php_value display_errors 1;
  • php_value display_startup_errors 1;
  • php_value error_reporting E_ALL.

Если же http-статус возникает исключительно после обновления данных в связи с установлением нового модуля, следует совершить 3 важных шага:

  1. Удалить имеющийся модификатор. Скорее всего, причина в том, что последний не совместим с сайтом.
  2. Восстановить интернет-платформу. Для этого надо:
  • зайти в system/storage/modification;
  • удалить ряд папок: админ, систем и каталог;
  • включить в htaccess вывод ошибок, чтобы там найти проблему:

— Display PHP errors;
— ### Uncomment the commands by removing the # sign in front of it;
— php_flag display_startup_errors on;
— php_flag display_errors on;
— php_flag html_errors on;
— php_flag track_errors on;
— php_value error_reporting «E_ALL».

Важно! Порой ошибка 500 возникает после проведения онлайн-платежей или денежных переводов. Поэтому не спешите обновлять страницу или грузить новые модули после таких действий. Дайте время, т.к. такой код состояния http носит временный характер.

Не удивительно, что многие считают причиной возникновения 500 Internal Server Error кривые руки разработчика, ошибку файла или переездвключение ssl. На сайте OpenCart3x предложены исключительно качественные модули и файлы.

Данная ошибка может возникнуть как в административной, так и в пользовательской части магазина.

Возникает в следующих случаях:

  • Пропустили в коде «;»
  • Не указали переменную в модуле
  • При конфликте (например, в цикле непредсказуемая ошибка, которую не учли при разработке). Часто бывает в случае изменения API при смене старого ключа на новый, когда в php не установлена функция для проверки ключа данной переменной.

Для исправления ошибки достаточно знаний php на базовом уровне.

Что нужно сделать:

Проверить логи сервера, которые дадут точный ответ где ошибка и полный путь к ней. Если исправить не удается, необходимо написать в поддержку авторам модулей.

Не получилось исправить ошибку? Заказывайте услугу: « Исправить ошибку Opencart »

Модуль Импорт YML Opencart 3.0

Модуль для автоматической загрузки товаров в интернет-магазин на базе Opencart 3.x из YML-файла из д..

Модуль Мультивалютные товары Opencart 3.0

Модуль позволяет задавать цены товаров в разных валютах. В форме редактирования товара на Opencart 3..

Исправить ошибку Opencart

OpenCart — один из самых популярных движков для создания интернет-магазина. Бесплатная лицензия про..

Источник

500 internal server error : Opencart – Causes and Solutions

500 Internal Server Error is a common, irritating HTTP error in Opencart systems.

It’s clear that something has turned out badly.

But, what happened exactly? And, why has it happened?

At Bobcares, we help website owners to solve such complex website errors as part of our Server Management services.

Today, let’s discuss the top 5 reasons for this error and how we fix it.

But, before that, let’s get an idea of 500 internal server error.

What is ‘500 internal server error’ in Opencart system?

500 internal server error is a generic web server error message and should be commonly seen after Opencart migration.

In other words, it means that some error has occurred while accessing a page, but there are no details of what the error is or how to recover from it.

For instance, Opencart website owners usually see a 500 internal server error in their browsers like this:

500 Internal Server Error in Opencart System

As the first step to find a solution, our Hosting Engineers enable error reporting to display PHP parse errors on the website.

For example, in Opencart systems, we disable Output Compression level and enable display errors in the index.php file by adding the below code.

If that doesn’t work, we add these codes to the php.ini file.

And, then we get a more detailed explanation of the reason for this error.

Now, let’s discuss the top 9 reasons for this error and how we fix it.

500 internal server error in Opencart system – Causes & Fixes

In our experience managing websites, we’ll see the major causes of this error and how we fix it.

1) Wrong file or folder permissions

Servers with SuPHP or FastCGI enabled are sensitive to file and folder permissions.

The ideal file permissions are 644 and folders are 755.

Sometimes, 500 internal server errors can be caused by incorrect permissions of Opencart files or folders.

How we fix?

Our Hosting Engineers, check the Opencart website error logs first.

And, if any permission related errors are noted, we’ll immediately correct them.

Since, manually changing each file permission is a tedious task, we use custom scripts to change permissions.

For example, we use the below scripts to change the directory permission to 755, and file permission to 644.

Here /home/USERNAME/public_html is the path of the web directory.

In addition to that, we ensure that we take a backup of the website files before making any changes.

[Are you confused about resetting the file and folder permissions? Our Opencart Experts can help you. We are online 24/7.]

2) Low PHP Memory limit

The most common reason we’ve seen for 500 internal server error in Opencart websites is low PHP memory limit.

This error occurs when there is not enough memory to run the PHP script.

Most of the web hosting providers set the default memory_limit as 20MB, 32MB, 64MB, etc. and this works well for most store listing products.

But, if you want to list about 10,000 products at a time, the PHP memory limit will not allow this and result in 500 internal server error.

So, a sensible memory allocation is 256 MB.

How we fix?

Our Hosting Engineers use many ways to increase the PHP memory_limit on websites.

For example, in cPanel servers, we increase the memory_limit from cPanel > Select PHP version > Switch to PHP options > PHP selector.

PHP Selector in cPanel

Likewise, in some servers, we increase the PHP memory limit by adding the below code in the .htaccess file.

[If you are not sure of managing the resource limits allocated for your account? Our Support Experts are here for your help]

3) Misconfigured .htaccess

Similarly, another common cause of this error is the misconfigured .htaccess file.

Syntax errors, URL rewrite errors, typo errors, etc. in .htaccess file can lead to 500 internal server errors.

How we fix?

Our Support Engineers first check whether the .htaccess file is the actual culprit by renaming this file temporarily.

If any issues are noted, we locate and correct the misconfiguration in the .htaccess file.

In addition to that, we ensure that the .htaccess file is properly structured and configured.

4) Missing PHP modules

Another common reason for 500 internal server error in Opencart websites is the lack of required PHP modules.

For Opencart systems to work properly, modules such as Curl, Zip, Zlib, GD, Mcrypt, Mbstring, Xml are required.

How we fix?

Our Support Engineers check whether the required PHP modules are enabled with the phpinfo.php file.

And, if we find any modules missing, we either enable or install them for the domain.

Also, we always make sure to delete the phpinfo.php file after testing, because hackers can target it and misuse it.

Installing PHP modules is a technical task. If you are not confident, don’t go for it.

[If you suspect missing PHP modules are in your server, our Expert Engineers can fix it for you within minutes.]

5) PHP Timeout

Most web hosts set the default PHP time limit to 30 sec, 60 sec or 90sec.

A PHP timeout occurs when an Opencart application or a PHP request takes longer time to produce the output and terminates.

As a result, the website returns 500 internal server error.

How we fix?

In such cases, our Hosting Engineers tweak the timeout values so that script doesn’t timeout, but waits for the request to be processed.

For instance, in some servers, we tweak the PHP parameter max_execution_time in the file “php.ini” to increase the PHP timeout value.

In cPanel servers, we change the max_execution_time value from cPanel > Select PHP version > Switch to PHP options > PHP selector.

However, increasing the PHP timeout limit is a complex process.

Because, higher timeout values are favorable for hackers to execute long running scripts in parallel to bring your web server down.

So, we first analyze the server resources and tweak these limits to optimal values.

6) Non-compatible Opencart extensions

Opencart extensions are addon programs that provide extra functionality to your website.

But, some extensions may not compatible with your Opencart version, or these files may be corrupted or not uploaded properly.

As a result, Opencart users see 500 internal server error.

For example, one such error is given below:

How we fix?

To check the compatibility, we disable all extensions and enable them one by one to identify the culprit.

If our Hosting Engineers find a corrupted extension, we download a fresh copy and re-upload the files once again.

[If you’re unable to find which extension caused this error, our Opencart support team can fix it for you. We’re available 24/7]

7) vQmod and oCmod permissions

vQmod helps Opencart developers to have 3rd party extensions that require Opencart core modifications without affecting the integrity of core system files.

And, oCmod is the simplified vQmod version.

But, we have seen cases where vQmod or oCmod fails to generate cache from vQmod file extensions.

As a result, the website throws 500 internal server error.

How we fix?

Our Hosting Engineers check the permission of the folders “vqmod/cache” and “/system/storage/modification/” and make sure they are writable.

Moreover, we manually clear the vQmod cache and the oCmod cache to fix the issue.

8) Corrupted files or wrong encoding

Many Opencart owners approach us saying their website broke after modifying or updating Opencart files.

We’ve seen that, such problems often happen due to incorrect encoding or stray spaces inserted in the files.

How we fix?

If you are not an expert, we always suggest to download a fresh copy of Opencart files and replace the recently changed files.

If extensive changes are made to the Opencart files, our Hosting engineers manually check the files and fix syntax errors.

Additionally, we ensure that proper encoding is set for the Opencart files.

[If you are not a coding expert to fix this problem. Don’t worry, We can do it for you in a few minutes.]

9) Security restriction in the server

Similarly, we’ve seen Opencart website don’t work when script execution is blocked by a firewall like mod_security or a PHP restriction in effect.

The result is website throwing 500 internal server error.

How we fix?

If we find that the website is blocked by mod_security, we identify which security rule has been triggered and add an exemption for that site.

Similarly, in case of safe_mode restriction enabled in PHP, we exclude the domain from this restriction by adding the below code in .htaccess file.

This list is not complete. There could be many more reasons for this error to occur.

But, we have to do a detailed log analysis to identify the problem.

Conclusion

In short, 500 internal server error in Opencart systems are quite annoying. This can happen due to .htaccess errors, resource limits and more. Today, we’ve shared the top 9 reasons for this error and how our Dedicated Support Engineers fix it.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

Источник

There are five different classes of HTTP status codes that identify the type of server response to an HTTP request:

  • 1xx: Informational

  • 2xx: Success

  • 3xx: Redirect

  • 4xx: Client Error

  • 5xx: Server Error

In this post, we will shed some light on the 500 Internal Server Error and give you a little hack to go beyond the standard browser message you get (which is not very useful).

What is 500 Internal Server Error?


 

The confusing thing about the 500 status code is that the server cannot process your request to access a page or website for an unknown reason.

At first sight, you have no idea what’s going on and even less idea where to find the issue, let alone how to fix it.

When Does the Error Occur?

The most frequent reason for getting a 500 Internal Server Error is a problem with the server configuration.

Maybe you have misconfigured your .htaccess file? Or maybe you have missing packages when trying to execute a PHP file while the PHP isn’t properly installed and running the incorrect version?

It’s very hard to have a precise answer for that since every case is different.

How to Understand the Cause?

There’s a very simple way for you to find out what’s causing the 500 Internal Server Error.

If you encounter an error in your OpenCart site, simply go to your store files and edit your index.php file.


 

Use your favorite text editor and at the top of your index.php file, paste these this code snippet after the opening <?php line:
 


ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);



 

Save the file and go back to the store.

Refresh the page where you encountered the error and you should get a report like this:

This is much better, right?

You can actually what caused the 500 Internal Server Error and the exact corrupted file.

This gives you a starting point for finding a solution to your error.

Frequent Cases & Possible Solutions

And like we said, the reasons for this type of error can be many:

Permissions

Sometimes, the 500 Internal Server Error can be caused by incorrect permissions on your files or folders.

PHP Timeout

If your site’s script is connected to external resources that experience timeouts, your site can throw the HTTP 500 error. If this is the cause, think about some timeout rules or improved error handling on your end.

Error in .htaccess

Always be sure to check if your .htaccess file is properly structured and configured because it’s easy to make mistake that will cause the Error 500 if you don’t know how to work with your .htaccess correctly.

So, since the 500 Internal Server Error is a server-side error, you don’t need to worry that the problem is in your device or internet connection.

However, just to be sure that it’s not a deep issue, there are a few things you can do on your end.

Refresh the page

Sometimes the error might have been just a temporary issue. If that’s the case, simply refreshing the page a couple of times might get things going again.
 

ImportantIf a 500 Internal Server Error has appeared during checkout, mind that reloading the page might create two or more orders, hence two or more charges.

Clear your browser cache

Another thing that might cause HTTP 500 issues is if you’re viewing a cached version of the page and not the most recent one.

In this case, clearing the browser cache will alleviate the problem and you will be able to continue viewing the page normally.

Delete your browser cookies

A possible fix is to delete the cookies associated with the website. After you delete them, restart your browser and try accessing the website again.

Conclusion

The 500 Internal Server Error is a frustrating one, especially if you’re not very technically aware of your website’s setup. Use the code snippet we shared in the post to override your site’s error reporting so you can find out the main cause of the error and either look for a solution, or contact an OpenCart developer to give you a hand with it.

Ошибки при установке модуля через менеджер расширений

Internal Server Error (Ошибка 500)

Внимание! Описание данной ошибки читать обязательно всем!

Ошибка Internal Server Error при установке модуля OpenCart 2

Ошибка Internal Server Error — проявляется тогда, когда в настройках сервера выключен показ ошибок.

Чтобы убедиться, что у Вас отключен показ ошибок в настройках сервера, проверьте настройки с помощью функции phpinfo(). На рисунке показан скрин, как быть НЕ ДОЛЖНО на следующем снимке экрана.

Ошибка Internal Server Error при установке модуля OpenCart 2

Что делать?

Необходимо включить показ ошибок в настройках хостинга (сервера). Если не знаете как, обращайтесь в их службу поддержки.

Что будет в результате?

После включения ошибок Вы по факту не устраните проблему, но зато вместо абстрактной надписи Internal Server Error (что следует читать как «что-то не так с настройками сервера»), Вы увидите реальную причину сбоя. То есть, там будет описание ошибки на английском языке, с которой уже можно работать.

А если не помогло?

Кроме глобальных настроек показа ошибок на хостинге, в OpenCart также есть подобная настройка (см Система — Настройка магазина — Сервер — Пункт «Показывать ошибки»). Почем же я говорю об этом в последнюю очередь? Потому что частенько при глобальном запрете на показ ошибок данная функция OpenCart не срабатывает. Это, конечно, зависит от настроек конкретного хостинга, тем не менее, это весьма распространенное явление.

Внимание!

Проблемы, которые возникают исключительно при установке расширений (модулей) в OpenCart 3 (ocStore 3), вынесены на отдельную страницу — https://opencart-guide.com/post/problemy-s-ustanovkoj-modulej-v-opencart-3/.

К содержанию ↑

Ошибка «Неверный тип файла»

На английском языке эта ошибка называется «Invalid file type!«. Появляется тогда, когда в качестве расширения загружается не тот файл, который нужно. Чаще всего такая ошибка случается при попытке установить модуль по старинке. То есть, на этапе установки пользователь распаковывает установочный архива some-name.ocmod.zip, загружает файлы модуля по FTP и затем пытается установить файл install.xml через менеджер расширений. Однако, чтобы модификатор соответствовал формату, необходимо переименовать файл install.xml на install.ocmod.xml

Есть еще один вариант возникновения такой ошибки.

При скачивании модуля иногда предлагается скачать под конкретную версию, а иногда — одним архивом. Когда для скачивание предоставляется только один архив, это означает, что, скорее всего, в нем находятся установочные архивы для отдельных версий + файлы readme.txt с описание установки.

В общем, пригодные установочный пакет должен иметь расширение *.ocmod.zip (для архивов) или *.ocmod.xml (для отдельных модификаторов).

К содержанию ↑

Кракозябры при установке модуля

При установке модуля через менеджер расширений Вы увидели кракозябры, вместо описания ошибки. Выглядит это примерно вот так:

При установке модуля в OpenCart в описании ошибки показывает кракозябры

  • Во-первых, там все-таки различаются ключевые слова. К примеру, ftp_login(), что уже намекает на то, в чем именно состоит ошибка.
  • Во-вторых, чтобы прочитать это закодированное json-сообщение, можно декодировать его через json_decode().
  • В-третьих, можно переключить язык админки на английский, и тогда описание ошибки будет на английском языке, что будет иметь читаемый вид.

К содержанию ↑

Ошибки, содержащие слово ftp_…()

ftp_login()

Такая ошибка значит, что php-скрипт не смог залогиниться по ФТП с теми данными, что Вы прописали в Система — Настройки — Настройки магазина — Вкладка «FTP».

ftp_chdir()

<b>Warning</b>: ftp_chdir(): Can’t change directory to ftp.server… : failed: No such file or directory in <b>…/admin/controller/extension/installer.php</b> on line <b>298</b>…

Зачастую ошибка связана с тем, что в настройках ФТП не правильно указан путь к корневой папке сайта, относительно той папки, которая является корневой для данного ФТП-пользователя. Причем к этим папкам нет прав доступа.

ftp_nlist() SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data OK <b>Warning</b>: ftp_nlist(): listen() failed: Operation not permitted (1) in <b>/…/public_html/admin/controller/extension/installer.php</b> on line <b>327</b> Зачастую ошибка связана с тем, что в настройках ФТП вообще не указан путь к корневой папке сайта. Причем к этим папкам нет прав доступа.

Call to undefined function zip_open()

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data <b>Fatal error</b>: Call to undefined function zip_open() in <b>/var/www/html/system/storage/modification/admin/controller/extension/installer.php</b> on line <b>120</b><br /> Такая ошибка появляет и в том случае, когда для загрузки модулей через менеджер расширений используется FTP, и в том, когда установлен модификатор localcopy.ocmod.xml . Ошибка состоит в том, что настройках сервера не включена функция для распаковки zip-архива. С такой ошибокй нужно обращаться в службу поддержки хостинга

К содержанию ↑

Fatal error: Class ‘DOMDocument’ not found

Решение: Необходимо установить библиотеку php-dom. Подробнее эта ошибка описана отдельно — https://opencart-guide.com/post/fatal-error-uncaught-error-class-domdocument-not-found-v-opencart/

На финальном этапе появилась ошибка "Fatal error: Uncaught Error: Class 'DOMDocument'...

К содержанию ↑

copy(filename): failed to open stream

OK

<b>Warning</b>: copy(/var/www/sites/opencart-2102.loc/admin/view/javascript/sortable/CONTRIBUTING.md): failed to open stream: Permission denied in <b>/var/www/sites/opencart-2102.loc/system/storage/modification/admin/controller/extension/installer.php</b> on line <b>284</b>…

Ошибка связаны с ограничениями прав доступа и чаще всего может случаться на выделенных серверах.

Ошибка при установке модуля на OpenCartfailed to open stream: Permission denied

К содержанию ↑

mkdir(): No such file or directory in …

<b>Warning</b>: mkdir(): No such file or directory in …

Могут быть 2 причины:

  1. Не настроенные права доступа на папку /system/ — https://forum.opencart.com/viewtopic.php?t=155122
  2. Отсутствие папки /system/storage/upload/ (может быть «потеряна» при манипуляциях с сайтом (переход с версии 1.5.x на версию 2.x или подобное)

Ошибка <b>Warning</b>: mkdir(): No such file or directory при установке модуля OpenCart 2

К содержанию ↑

Модификатору необходим уникальный id код!

Ошибка случается при установке некорректного установочного модификатора (xml-файла). Есть вариант, когда разработчики действительно забывают внести секцию <code>. Этот случай обсуждался вот здесь. Но, кроме этого, точно такая же ошибка выдавалась мне, когда тег <code> присуствовал, а вот вот закрывающий тег </operation> случайно был удален. В этом случае, по идее xml-файл должен был быть перестать валидным, но вместо этого OpenCart ругался на уникальный id-код.

Ошибка " Модификатору необходим уникальный id код!" при установке модуля через OCMOD

К содержанию ↑

invalid argument supplied for foreach() in …/system/storage/modification/admin/controller/extension/installer on line 247

В редких случаях, когда на сайте установлен localcopy.ocmod.xml + еще какой-то модуль «лезет» в установку модулей, бывает новая ошибка invalid supliment argument supliment for foreach() in …/system/storage/modification/admin/controller/extension/installer.php on line 247 Честно говоря, сам я ее еще никогда не решал. И ко мне обращались с ней всего 2-3 раза и я сказал, что это ошибка точно не в моем модуле. Возможно (хотя это не факт), данная ошибка уже была пофиксина в русскоязычном сообществе:

  • Официальная страница для скачивания модификатора — https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=18892&filter_search=QuickFix
  • Страница на скачивание поправленного файла на русскомязычном форуме, где устранен какой-то баг, но какой именно я точно не проверял — https://opencartforum.com/topic/91379-baga-v-localcopyocmodxml/

invalid supliment argument supliment for foreach() in .../system/storage/modification/admin/controller/extension/installer.php

К содержанию ↑

Не отображается модуль

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

Такое происходит, если для установки модулей в системе включен ФТП. При этом неверно указан путь к корневой папке сайта.

Зачастую FTP-пользователь создается с правом доступа к корневой папке хостинга, а не конкретного сайта. В итоге файлы загружаются на уровень выше, чем находится папка с сайтом. Проверить, куда загрузились папки модуля, можно через ФТП-менеджер.

Конкретный пример такой ошибки обсуждался здесь — https://opencartforum.com/topic/81003-ne-otobrazhaetsya-modul/

Панацеей от проблем с ошибками, начинающимися на ftp_…, является модификатор localcopy.ocmod.xml. Установите его, и больше не «парьтесь» о правильных настройках ФТП.

Установка расширений на OpenCart. Ошибка: Модуля нет в списке модулей
Еще одна возможная причина, почему модуля нет в списке модулей — это нетипичная папка с языком админки. При загрузке расширений на OpenCartForum требуется только русский и английский языки. И если у Вас другой язык, то надо просто зайти в папку с языковыми файлами и скопировать файл модуля из папки русского языка в любой другой язык, который у Вас используется.

К содержанию ↑

Ошибка в списке модулей при нажатии кнопку «Установить»

Site error: the ionCube PHP Loader needs to be installed

Полный текст ошибки: Site error: the ionCube PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking. Please visit get-loader.ioncube.com for install assistance. Также это может выглядеть следующим образом: Ошибка при установке модуля OpenCart - Ion Cube Loader

Не все модули выдают эту ошибку на этапе ативации в списке модулей. Иногда она вскрывается на этапе захода в настройки модуля или при обращении к какому-то отдельному функционалу.

Данная ошибка связана с тем, что на сервере (хостинге) не установлен IonCube Loader.Что делать? Необходимо включить IonCube Loader в настройках хостинга или установить этот модуль в случае с выделенным сервером. Если Вы не знаете, как это сделать, то обратитесь в поддержку хостинга.

Если в описании ошибки встречается фраза «corrupted file» — значит, при загрузке по FTP не была использована кодировка utf-8

Если даже при загрузке по FTP в режиме кодировки utf-8 (или модуль был установлен через Установка расширений), но ошибка все равно остается, тогда и только тогда это однозначно говорит о поврежденности файлов в модуле. Лишь в таком случае имеет смысл писать об этой ошибке автору модуля

К содержанию ↑

500 internal server error


hello guys ,

my website complied work on other module but on contact page click submit button that time get 500 internal server error on my website.

i already change .htaccess and php.ini file.

Thank you.

Attachments


User avatar


Re: 500 internal server error


Post

by tabook » Thu Jun 09, 2016 1:33 am

You need to enable display error in php.ini (just remove ; before 2 last lines) so if you do it correctly you will see the ‘real’ error place.


Forget complex and inconvenient stock Categories and Products in OpenCart — use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions

Re: 500 internal server error


Post

by abhishekp » Thu Jun 09, 2016 12:04 pm

thanks tabook for replay me,

i can change php.ini file but 500 error is come again.

now what can i do ??

Attachments


User avatar


Re: 500 internal server error


Post

by tabook » Thu Jun 09, 2016 5:02 pm

Did you look into error log file of the store?


Forget complex and inconvenient stock Categories and Products in OpenCart — use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions

Re: 500 internal server error


Post

by abhishekp » Fri Jun 10, 2016 12:39 pm

No i don’t see any log file in my store.
i think its a hosting server problems?


User avatar


Re: 500 internal server error


Post

by ziya.pathan » Wed Dec 28, 2016 7:19 pm

500 Internal Server Error is a generic error message, given when no more specific message is suitable. There are a number of causes for a 500 error.

Re: 500 internal server error


Post

by MODERNO » Thu Mar 02, 2017 3:16 pm

Hi man,
Did you resolve your issue? I have same problem on contact page but when i use German language only. When i use English all works fine.

Re: 500 internal server error


Post

by arcovirtual » Wed Jan 10, 2018 9:59 am

spanish:

yo tengo el mismo problema pero descubri una linea de codigo del register.tpl register.php yo uso vqmod pero solo se trata de que OC y mysql no alcanzan a conectar enviando el country_ID… no hay memoria suficiente al parecer en server. para toda la operacion de register

Re: 500 internal server error


Post

by arcovirtual » Wed Jan 10, 2018 10:04 am

spanish:

descubrí que mi server host limita a 15 los procesos .. el host económico y el host multidominio limita a 30 los procesos quizás sea solo eso. probare cambiando todo al multidominio y diré si se corrige el error 500 por falta de memoria

Re: 500 internal server error


Post

by arcovirtual » Wed Jan 10, 2018 10:14 am

spanish:
SOLUCION — SOLUTION

ERA EL HOSTING, EL BÁSICO SOLO PERMITE 15 PROCESOS SIMULTÁNEOS UN PLAN MULTIDOMINIOS PERMITE 30 PROCESOS SIMULTÁNEOS Y ESO ARREGLO EL ERROR 500

CAMBIAR A UN HOSTING CON MAYOR CAPACIDAD EN TODO SENTIDO.- TENDRÉ QUE DEJAR MI HOSTING BÁSICO O REDUCIR LOS PROCESOS MIENTRAS MIGRO MI TIENDA MAS AVANZADA QUE SI O SI NECESITA MAS PROCESOS. SALUDOS

Re: 500 internal server error


Post

by MrPhil » Mon Feb 05, 2018 12:44 am

It’s hard to believe that 15 processes is not enough to run a store, unless you have a lot of optional tasks being launched. Anyway, I would talk with your host to see what’s running, and if any processes are unnecessary. Perhaps something during server startup is failing to end no-longer-needed processes. If your code is dispatching processes (starting up tasks) for one reason or another, check if they continue to run when they’re done (i.e., are failing to close down). Check that you aren’t running, say, multiple databases when only one is needed.


User avatar



Joined

Wed May 10, 2017 11:52 pm

Re: 500 internal server error


User avatar



Joined

Thu Jun 22, 2017 10:17 pm

Who is online

Users browsing this forum: No registered users and 1 guest

Сегодня я расскажу об одной достаточно редко встречающейся, однако зачастую «трудной» в определении ошибке, возникающей в процессе работы сайтов, созданных на основе CMS OpenCart.

Иногда после закачки сайта на хостинг он работает какое-то (зачастую продолжительное) время, после чего частями начинает отдавать ошибку 500 «Internal Server Error». например, вот так:

Внезапно возникшая ошибка 500 в админ-панели OpenCart

Внезапно возникшая ошибка 500 в админ-панели OpenCart

Кроме того та же ошибка начинает возникать как в некоторых местах страницы, так и на отдельных страницах целиком!

Ещё одним «симптомом» является то, что восстановление файлов сайта из бекапа временно устраняет ошибку (чем более давний бекап взят — тем дольше работает сайт)

При этом в логах сервера нет ничего вразумительного о том,  какой именно файл или событие  послужили причиной ошибок, а в error-логе есть только записи вида:

12:08:51 (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
12:08:51 (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
12:05:22 (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
12:05:22 (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
12:04:09 (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
12:04:09 (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

Иногда (зависит от используемой на сервере ОС и его настроек), ошибка в логах может выглядеть немного более информативно:

[Thu Nov 12 08:12:32 2013] [warn] mod_fcgid: read data timeout in 30 seconds
[Thu Nov 12 08:12:32 2013] [warn] (60)Operation timed out: mod_fcgid: ap_pass_brigade failed in handle_request function

В обоих случаях суть сводится к тому, что некий скрипт после запуска не может вовремя отдать нужные данные  (возможно, уходя в вечный цикл, или зависая по причине отсутствия доступа к нужному ресурсу), а попросту говоря — «зависает» на время свыше разрешенного на сервере переменной max_execution_time, после чего принудительно завершается, так сказать не взирая ни на что.

Из всего вышесказанного можно сделать вывод, что с течением времени либо в какой-то папке  катастрофически увеличивается количество файлов (маловероятно, так как обычно они обрабатываются по одному или группами спецскриптами, и в случае проблем виновника зачастую  «видно» в логе), либо же до неимоверных размеров (сотни и тысячи мегабайт) разрастается какой-то один файл, и скрипт пытаясь получить к нему доступ просто виснет. Чаще всего такое бывает с файлами логов (файлы с расширением .log).

Выявить виновника в таких случаях достаточно просто. Для этого нужно сравнить объём файлов из рабочего бекапа и файлы сайта с ошибкой.

В случае с OpenCart очень часто «виновником торжества» является лог-файл  модуля vQmod, расположенный в папке корневая_папка_сайта/vqmod/vqmod.log

Устранение проблемы.

Устранить ошибку можно двумя путями.

Первый путь. Периодически просто удалять файл  vqmod.log и создавать на его месте такой же но пустой.

Второй путь. Обновить vQmod с сайта разработчика. По их словам в последних версиях мода подобной ошибки нет, так как логи очищаются каждые 7 дней автоматически. Скачать новую версию можно тут: https://code.google.com/p/vqmod/downloads/list

Понравилась статья? Поделить с друзьями:
  • Ошибка 500 http сервис 1с
  • Ошибка 500 ftp
  • Ошибка 500 flask
  • Ошибка 500 django
  • Ошибка 500 asp net core