Произошла критическая ошибка the server returned a 500 whoops looks like something went wrong

"Whoops, looks like something went wrong", или что делать с ошибкой 500 в Joomla 4?

2 комментария

Что делать, если Joomla 4 выдаёт ошибку Sorry, there was a problem we could not recover from. The server returned a «500 — Whoops, looks like something went wrong»?

Время от времени Joomla может отображать страницу с ошибкой вместо ожидаемой страницы. Существует два типа страниц ошибок:

  1. Страница ошибки 404, вид и содержание которой зависят от применяемого шаблона. Такие ошибки возникают, когда сервер не может найти запрашиваемую страницу или ресурс. Подробнее про ошибки 404 в Joomla и про возможности кастомизации страниц таких ошибок смотрите здесь.
  2. Страница ошибки 500 с текстом «Произошла критическая ошибка» (на английском «Sorry, there was a problem we could not recover from») на красном фоне, которая отображается при возникновении серьезной ошибки на стороне сервера. Далее будем разбираться с тем, как решаются подобные проблемы.

Возможные причины

Существует множество возможных причин возникновения фатальных ошибок с кодом 500, среди которых:

  • Изменения в работе сервера, например, версия PHP, несовместимая с самой CMS Joomla или одним из установленных расширений.
  • Проблемы с дисковым пространством, использованием памяти или тайм-аутом скрипта.
  • Недавно установленное или включенное расширение, несовместимое с Joomla.

Что делать?

Для диагностики и выявления причины необходимо активировать режим отладки и показ ошибок на веб-страницах Joomla. Сделать это можно либо через админку в разделе Общие настройки, либо через файл configuration.php.

Активация режима отладки в админке

Если страница с текстом The server returned a «500 — Whoops, looks like something went wrong» возникает только на лицевых страницах:

  1. авторизуйтесь в админке,
  2. перейдите в раздел Общие настройки (Global Configuration),
  3. во вкладке Система (System) активируйте опцию Отладка системы (Debug System),
  4. во вкладке Сервер (Server) для опции Сообщения об ошибках (Error Reporting) установите значение Максимальные (Maximum).
  5. сохраните изменения.

Активация режима отладки через configuration.php

Если критическая ошибка возникает при запросах любых страниц сайта:

  1. найдите файл configuration.php в корневой папке сайта,
  2. измените права доступа к файлу на 644 (-rw-r—r—),
  3. откройте файл и измените значение переменной $debug на true, а переменной $error_reporting на maximum.
  4. сохраните изменения в файле.

Что делать дальше?

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

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

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

  1. через админку Joomla, если она доступна;
  2. через phpMyAdmin найдите расширение по названию в таблице базы данных #__extensions и установите его значение enabled на 0.

После решения проблемы

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

  1. Авторизуйтесь в панели управления,
  2. перейдите в Общие настройки (Global Configuration),
  3. во вкладке Система (System) отключите опцию Отладка системы (Debug System),
  4. во вкладке Сервер (Server) для опции Сообщения об ошибках (Error Reporting) установите значение По умолчанию для системы (System Default).

0 Пользователей и 1 Гость просматривают эту тему.

  • 2 Ответов
  • 1451 Просмотров

День добрый.
Не получается установить Joomla 4.
Закачал архив, разархивировал. Захожу на сайт для установки и без разговоров вылетает ошибка:

The server returned a «500 — Whoops, looks like something went wrong.»

PHP версии 8.0
Куда ещё поглянуть?
Пробовал и 4.0.2, и 4.0.3

Я попросил хостинг-провайдера установить php 8.0 проблема осталась
Хостинг-провайдер помог разобраться:
1. В .htaccess были добавлены следующие строки, для лечения особенности работы с сессиями у Joomla:
php_value session.save_handler files
php_value session.save_path /home/srv32971/tmp
2. Установщик начал выдавать следующую ошибку интерпретатора для значения time_limit. Интерпретатор запрашивает числовое значение, а PHP отдаёт ему строку. (см. скриншот во волжении)
3. Для связки было установлено значение PHP 7.4 — установщик начал отрабатываться корректно.
4. Закончите установку на PHP 7.4 после чего переключите на PHP 8.0
После этого всё заработало

Пользователи интернета и владельцы сайтов периодически сталкиваются с различными ошибками на веб-страницах. Одной из самых распространенных ошибок является error 500 (ошибка 500). Поговорим в нашей статье о том, что это за ошибка и как ее исправить.

Где и когда можно встретить ошибку 500

Вы можете увидеть ошибку на любом веб-ресурсе, браузере и устройстве. Она не связана с отсутствием интернет-соединения, устаревшей версией операционной системы или браузера. Кроме того, эта ошибка не указывает на то, что сайта не существует или он больше не работает.

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

Отображаться ошибка может по-разному. Вот пример:

Ошибка 500

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

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

Комьюнити теперь в Телеграм

Подпишитесь и будьте в курсе последних IT-новостей

Подписаться

Причины возникновения ошибки

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

Основной причиной ошибки 500 может быть:

  1. Неверный синтаксис файла .htaccesshtaccess – это файл, в котором можно задавать настройки для работы с веб-сервером Apache и вносить изменения в работу сайта (управлять различными перенаправлениями, правами доступа к файлам, опциями PHP, задавать собственные страницы ошибок и т.д.). 
    Узнать больше о файле .htaccess можно в статье «Создание и настройка .htaccess».
  2. Ошибки в скриптах сайта, то есть сценариях, созданных для автоматического выполнения задач или для расширения функционала сайта.
  3. Нехватка оперативной памяти при выполнении скрипта.
  4. Ошибки в коде CMS, системы управления содержимым сайта. В 80% случаев виноваты конфликтующие плагины. 

Год хостинга в подарок при заказе лицензии 1С-Битрикс

Выбирайте надежную CMS с регулярными обновлениями системы и профессиональной поддержкой.

Заказать

Как получить больше данных о причине ошибки 

Что означает ошибка 500, мы теперь знаем. Когда она перестала быть таким загадочным персонажем, не страшно копнуть глубже — научиться определять причину ошибки. В некоторых случаях это можно сделать самостоятельно, так что обращаться за помощью к профильному специалисту не понадобится.

Отображение ошибки бывает разным. Ее внешний облик зависит от того, чем она вызвана.

Самые частые причины ошибки 500 можно распознать по тексту ошибки или внешнему виду страницы. 

  1. Сообщение Internal Server Error говорит о том, что есть проблемы с файлом .htaccess (например, виновата некорректная настройка файла). Убедиться, что .htaccess является корнем проблемы, поможет следующий прием: переименуйте файл .htaccess, добавив единицу в конце названия. Это можно сделать с помощью FTP-клиента (например, FileZilla) или файлового менеджера на вашем хостинге (в Timeweb такой есть, с ним довольно удобно работать). После изменения проверьте доступность сайта. Если ошибка больше не наблюдается, вы нашли причину.
  2. Сообщение HTTP ERROR 500 или пустая страница говорит о проблемах со скриптами сайта. В случае с пустой страницей стоит учесть, что отсутствие содержимого сайта не всегда указывает на внутреннюю ошибку сервера 500.

Давайте узнаем, что скрывается за пустой страницей, обратившись к инструментам разработчика. Эта браузерная панель позволяет получить информацию об ошибках и другие данные (время загрузки страницы, html-элементы и т.д.). 

Как открыть панель разработчика

  • Нажмите клавишу F12 (способ актуален для большинства браузеров на Windows). Используйте сочетание клавиш Cmd+Opt+J, если используете Google Chrome на macOS. Или примените комбинацию Cmd+Opt+C в случае Safari на macOS (но перед этим включите «Меню разработки» в разделе «Настройки» -> «Продвинутые»). Открыть инструменты разработчика также можно, если кликнуть правой кнопкой мыши в любом месте веб-страницы и выбрать «Просмотреть код» в контекстном меню. 
  • Откройте вкладку «Сеть» (или «Network») и взгляните на число в поле «Статус». Код ответа об ошибке 500 — это соответствующая цифра.

Причины ошибки 500Более детальную диагностику можно провести с помощью логов.

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

Как вы видите, данных в логи записывается немало, поэтому они разделены по типам. За сведениями о нашей ошибке можно обратиться к логам ошибок (error_log). Обычно такие логи предоставляет служба поддержки хостинга, на котором размещен сайт. В Timeweb вы можете включить ведение логов и заказать необходимые данные в панели управления. Разобраться в полученных логах поможет статья «Чтение логов».

Как устранить ошибку

Теперь поговорим о том, как исправить ошибку 500. Вернемся к популярным причинам этой проблемы и рассмотрим наиболее эффективные способы решения.

Ошибки в файле .htaccess

У этого файла довольно строгий синтаксис, поэтому неверно написанные директивы (команды) могут привести к ошибке. Попробуйте поочередно удалить команды, добавленные последними, и проверьте работу сайта. 
Также найти проблемную директиву можно с помощью логов ошибок (через те же инструменты разработчика в браузере). На ошибку в директиве обычно указывает фраза «Invalid command». Информацию о верном написании директивы или способе исправления ошибок в .htaccess вы можете найти в интернете. Не нужно искать, почему сервер выдает ошибку 500, просто введите в строку поиска название нужной команды или текст ошибки из логов.

Ошибки в скриптах сайта

Скрипт не запускается

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

Не хватает оперативной памяти

Если в логах вы видите ошибку «Allowed memory size», для устранения ошибки 500 стоит оптимизировать работу скрипта. Вы можете воспользоваться специальными расширениями для анализа производительности скрипта или обратиться за помощью к специалисту, который поработает над его оптимизацией.

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

Ошибки в CMS

Если код CMS содержит неверный синтаксис, это может вывести сайт из строя. В таком случае логи сообщат вам об ошибке 500 текстом «PHP Parse error: syntax error, unexpected». Так происходит, когда некорректно работает плагин (или тема, используемая в CMS, но реже) либо есть ошибки в коде. Ошибка может быть допущена случайно, произойти при обновлении плагина или версии CMS.

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

Ошибка 500 из-за плагинов ВордпрессТакже в большинстве случаев подобные проблемы помогает решить поддержка CMS.

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

Удачи! 

Содержание

  1. Ошибка 500 Joomla — причины появления и методы исправления
  2. Почему при входе на сайте появляется ошибка 500
  3. Как исправить Internal Server Error
  4. Причины ошибки 500 при входе в «админку» Джумлы
  5. The Joomla! Forum™
  6. Brand New Installation of 4.1 Results in 500 Error Topic is solved
  7. Brand New Installation of 4.1 Results in 500 Error
  8. The Joomla! Forum™
  9. Installing Joomla 3.0 gives me an Internal Server Error 500
  10. Installing Joomla 3.0 gives me an Internal Server Error 500
  11. Re: Installing Joomla 3.0 gives me an Internal Server Error
  12. Re: Installing Joomla 3.0 gives me an Internal Server Error
  13. Re: Installing Joomla 3.0 gives me an Internal Server Error
  14. Re: Installing Joomla 3.0 gives me an Internal Server Error
  15. Re: Installing Joomla 3.0 gives me an Internal Server Error
  16. Re: Installing Joomla 3.0 gives me an Internal Server Error
  17. Re: Installing Joomla 3.0 gives me an Internal Server Error
  18. Re: Installing Joomla 3.0 gives me an Internal Server Error
  19. Re: Installing Joomla 3.0 gives me an Internal Server Error
  20. Re: Installing Joomla 3.0 gives me an Internal Server Error
  21. Re: Installing Joomla 3.0 gives me an Internal Server Error
  22. Re: Installing Joomla 3.0 gives me an Internal Server Error
  23. Re: Installing Joomla 3.0 gives me an Internal Server Error
  24. Re: Installing Joomla 3.0 gives me an Internal Server Error
  25. Re: Installing Joomla 3.0 gives me an Internal Server Error
  26. Re: Installing Joomla 3.0 gives me an Internal Server Error
  27. Re: Installing Joomla 3.0 gives me an Internal Server Error
  28. Re: Installing Joomla 3.0 gives me an Internal Server Error
  29. Re: Installing Joomla 3.0 gives me an Internal Server Error
  30. Re: Installing Joomla 3.0 gives me an Internal Server Error
  31. Re: Installing Joomla 3.0 gives me an Internal Server Error
  32. Re: Installing Joomla 3.0 gives me an Internal Server Error
  33. Re: Installing Joomla 3.0 gives me an Internal Server Error
  34. Re: Installing Joomla 3.0 gives me an Internal Server Error
  35. Re: Installing Joomla 3.0 gives me an Internal Server Error
  36. Re: Installing Joomla 3.0 gives me an Internal Server Error
  37. Re: Installing Joomla 3.0 gives me an Internal Server Error
  38. Re: Installing Joomla 3.0 gives me an Internal Server Error
  39. Re: Installing Joomla 3.0 gives me an Internal Server Error

Ошибка 500 Joomla — причины появления и методы исправления

Время на чтение: 3 минуты

Даже на таком надежном движке, как Joomla, не все всегда бывает гладко. Порой сайт не открывается, а вместо него появляется окно с текстом, что обнаружена ошибка. Если при входе на свой ресурс вы нашли подобное сообщение, не волнуйтесь — любую ошибку можно исправить. В данной статье будет рассмотрена ошибка Internal Server Error, которая вылетает под номером 500.

Почему при входе на сайте появляется ошибка 500

Эта проблема может появиться не только на ресурсе, на котором установлен Joomla.

Ошибка 500 «всеядная» и может съесть сайт на любом другом движке, не только Joomla или WordPress.

Причин возникновения сообщения Internal Server Error при входе очень много и без анализа проблемы вы не сможете найти истинное объяснение.

Анализ возникновения Internal Server Error необходимо начинать с сервера. Дело в том, что ошибка 500 касается именно проблем сервера. При этом необязательно нужно считать, что виноват хостинг-провайдер. Вполне может быть, что это вы сделали что-то не так. Ответить на этом можно только после просмотра файла сервера error.log. В нем содержится информация по последним ошибкам и вы наверняка найдете строчку с причиной, почему ваш сайт накрылся при входе. Самые частые поводы для появления надписи Internal Server Error:

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

Как вы уже поняли, все полностью зависит от сервера. И если на сайте обнаружена ошибка 500, значит вы сделали что-то так, как нельзя было делать на данном хостинге. Либо превысили свои права и провайдеру нужно доплатить за это, либо установили на сайт Joomla программный код, который не поддерживается сервером.

Как исправить Internal Server Error

Проблема в том, что зачастую сайты Joomla размещают на бесплатных хостингах. В таком случае даже если ошибка обнаружена на сайте, вы не сможете просмотреть лог и узнать, откуда растут ее корни. На платном хостинге вы бы могли написать в службу поддержки, и вам, как платящему клиенту провайдера, живо бы объяснили в чем причина и как устранить неполадку. В ином случае бороться с ошибкой придется самостоятельно.
https://www.youtube.com/watch?v=LvrTwMFvzw8
Очень часто проблема находится в файле .htaccess. В этом файле прописано, что разрешено делать движку, согласно требованиям сервера. Если есть несоответствия реальным требованиям хостинга и наступает момент, когда движок пытается загрузить недоступную функцию, тогда и появляется надпись с ошибкой. Найдите лог ее и тогда поймете, что нужно убрать с файла .htaccess. К примеру, если в логе написано:

php_value not allowed here

то проблема кроется в строке php_value в файле .htaccess.

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

Вам предстоит восстановить последнюю рабочую версию сайта Joomla. Сделать это можно, если переместить старые файлы на хостинг при помощи FTP-клиента. А порой проблема появляется после обновления движка до более новой версии. В таком случае вам понадобится откат. Похоже, что сервер не готов работать с новой версией Joomla и не соответствует требованиям.

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

Источник

Причины ошибки 500 при входе в «админку» Джумлы

При попытке входа в панель администрирования Joomla иногда можно получить сообщение «500 — обнаружена ошибка» . При этом сайт работает. Причин может быть много. Пятисотая ошибка не имеет четкого описания. Понять по её коду что случилось — нельзя. Однако, расстраиваться раньше времени не стоит.

Сначала следует открыть журнал ошибок (лог) и посмотреть, есть ли там сообщения об ошибках. Он лежит в каталоге «/logs» и называется «error.php». Смотрите последние записи, возможно, они прояснят ситуацию. Например, мы сможем узнать из-за какого модуля она происходит. Если виновник найден, то остаёться подключиться к базе данных и отключить этот модуль или плагин.

Если в логе ничего подозрительного нет, то есть вероятность, что проблема возникает из-за невозможности записи в каталоги «/logs» и «/tmp». Попробуйте выставить на эти каталоги и внутренние файлы полные права — «777». Сделать это можно через FTP клиент. У многих проблема решалась таким образом.

Если не помогло, то стоит проверить пути к этим каталогам в конфигурационном файле — «configuration.php». Открываем его через текстовый редактор и ищем строки:

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

Создаём в корне сайта скрипт test.php, прописываем туда этот код и обращаемся к нему через браузер. Смотрим, какой путь он показывает. Его вставляем в конфигурационный файл «джумлы». Получаем что-то вроде этого:

Если проблема не решилась, значит требуется детальный анализ сайта и установленных модулей. Проверьте корректность файла «htaccess». Поочередно отключайте установленные модули и плагины через базу данных. Но делайте все аккуратно, чтобы не усугубить ситуацию.

Источник

The Joomla! Forum™

Brand New Installation of 4.1 Results in 500 Error Topic is solved

Brand New Installation of 4.1 Results in 500 Error

Post by delunachick » Wed Mar 16, 2022 1:11 am

Hello. I am attempting to install joomla for a new website on a new hosting account. I get as far as having the files unzipped on the web server and a database + user created, but when I try to finish the installation by going to the URL, I get a 500 error (Sorry, there was a problem we could not recover from. The server returned a «500 — Whoops, looks like something went wrong.»).

website: http://elmwoodacademy.ca/
webhost: 10dollar.ca
technology: Linux / Apache / PHP 8

I don’t have access to php.ini but have tried 2 different things, adding a php.ini to the html root and modifying .htaccess. Neither of these seems to have fixed or changed anything.

.htaccess
php_value memory_limit 128M
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 30

php.ini
post_max_size = 30M
upload_max_filesize = 30M
memory_limit = 128M
max_execution_time = 30

I have php logs enabled. Here are some of the error messages:

[15-Mar-2022 20:02:33 America/Chicago] PHP Warning: SessionHandler::read(): open(/var/lib/php/sessions/sess_c4b3be15ee732bf9918a6e96e611a7b7, O_RDWR) failed: No such file or directory (2) in /mnt/stor12-wc2-dfw1/588082/2038623/www.elmwoodacademy.ca/web/content/libra . torage.php on line 478

[15-Mar-2022 20:02:33 America/Chicago] PHP Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions) in /mnt/stor12-wc2-dfw1/588082/2038623/www.elmwoodacademy.ca/web/content/libra . torage.php on line 478

I contacted tech support at 10dollar.ca and they offered to install joomla for me. Unfortunately they didn’t get back to me within an hour as promised and they left the website in the same state with the same error message (but with a Maria db instead of a MSSQL db this time).

If anyone can help me get started, I would be very grateful. This is my first attempt at installing joomla and i seem to be failing miserably.

Источник

The Joomla! Forum™

Installing Joomla 3.0 gives me an Internal Server Error 500

Installing Joomla 3.0 gives me an Internal Server Error 500

Post by b4ucode » Fri Sep 28, 2012 11:56 am

I tried to install Joomla 3.0 yesterday and received an internal server error.

Tested the Htaccess file
— Replaced it
— Renamed it
— Modified it

But had no luck. I did a test page to echo «test» and that page works but the index.php for Joomla simply does not work, not even when I emptied out its content and tried to echo a result.

Anyone has the fix to this?

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by pxforti » Fri Sep 28, 2012 1:04 pm

Hi, I had the same problem. It’s a file permission problem. Default file permission on the files in the installation is 664 and should be 644. Or I should say that on hostgator servers, the default file permissions need to be 755 for directories and 644 for files, otherwise you get the Internal Server Error.

I think they will need to update the 3.0 distribution package to fix this. Otherwise, a LOT of people are going to have problems with this.

If you have shell (ssh) access you can run the following commands to correct directory and file permissions. If you don’t have shell access, call your host and ask them to change the permissions for you on all directories and files in the 3.0 directory.

Run the following commands in the Joomla 3.0 directory:

Change all files to 644: find . -type f -exec chmod 644 <> ;

Change or dirs to 755: find . -type d -exec chmod 755 <> ;

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by fcoulter » Fri Sep 28, 2012 2:49 pm

Thanks for pointing out the problem, I have been having the same problem too.

Another way around this is to unzip the installation package locally then ftp the files to your server. Its a bit slow but it will probably work because if you are using a windows pc it won’t transfer the file permissions, they should just be created on the server with the default permissions, ie 644 for files, 755 for directories.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by Webdongle » Fri Sep 28, 2012 3:03 pm

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by vmaxveera » Sat Sep 29, 2012 5:31 am

Hi i have installed from Softaculous from my CPanel enabled Hosting no problem to Install and Working fine, But earlier i have tried to upload Package and Extract method its getting 500 error. working site : http://linkwire.in

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by mtrimble » Sat Sep 29, 2012 11:44 pm

pxforti is right. Here’s how I fixed it in 10 mins and got going on the installation screens on a Hostgator account.

1. Uploaded Joomla 3.0 ZIP package using the Cpanel File Manager
2. Extracted files
3. Contacted Hostgator Support and had them run the following commands mentioned by pxforti

find . -type f -exec chmod 644 <> ;

find . -type d -exec chmod 755 <> ;

4. This got me to the » Your host needs to use PHP 5.3.1 or higher to run this version of Joomla!» screen when I refreshed my URL in a browser.

5. Opened FTP client — Added the following to the .htaccess file:

# Use PHP 5.3
AddType application/x-httpd-php53 .php

6. Refreshed and VIOLA! Good to go! Continued with installation!

From Hostgaotr Support Site:
We currently have 5.3.10 (or higher) installed on all servers. A handler for PHP 5.3 is added to our shared and reseller servers for those who wish to utilize it. In order to utilize this handler, you will need to add the following code to your .htaccess file:

New to Joomla? Over 130 FREE JOOMLA 1.5 Video Tutorials. Learn Joomla Online.
http://www.MyJoomlaCast.com

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by mtrimble » Sun Sep 30, 2012 6:53 am

New to Joomla? Over 130 FREE JOOMLA 1.5 Video Tutorials. Learn Joomla Online.
http://www.MyJoomlaCast.com

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by humvee » Sun Sep 30, 2012 8:32 am

Given your other posts and the fact that you are using a different server set up to begin with might suggest that jumping in here is not really helpful!

@all Please run the Forum Post Assistant to provide the information to help us try and resolve the issue.
Please follow the instructions in the post and the program pack closely.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by FranCardin » Sun Sep 30, 2012 8:55 am

I also could not install Joomla 3.0. It did not give me any error message. Then I tried installing it with Akeeba Kickstart and it installed perfectly.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by Joomla Starter » Sun Sep 30, 2012 11:06 am

There are differences for Hostgator depending on what plan you have .. the solutions for DEDICATED Server Plan we own at Hostgator needs a dual system which can be asked at support(at)hostgator.com.

The Dual system for Dedicated Server has many advantages as it runs php 5.2.x and 5.3.1.X , this is usefull as per example . 80 % of our Customers runs joomla 1.7 , 2.5 with php 5.2.X , the rest of 20 % needs 5.3.1.x so this is for us and for the most joomla users running on Dedicated Servers the best solution. you can find more info here https://support.hostgator.com/articles/ . re/php-5-3 , be aware to specify Dual php system, otherwise apache server will only run after upgrade 5.3.1.x version of php and you maybe lost your websites running before on 5.2.x. and here are how it have to look

root@hos [/home/maindomainservername/public_html]# /opt/php53/bin/php —version PHP 5.3.16 (cli) (built: Sep 3 2012 11:40:13) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies root@hos [/home/maindomainservername/public_html]# /usr/bin/php — version PHP 5.2.9 (cgi-fcgi) (built: Jul 21 2012 15:18:44) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd., and with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by web_servant » Sun Sep 30, 2012 2:40 pm

fcoulter wrote: Thanks for pointing out the problem, I have been having the same problem too.

Another way around this is to unzip the installation package locally then ftp the files to your server. Its a bit slow but it will probably work because if you are using a windows pc it won’t transfer the file permissions, they should just be created on the server with the default permissions, ie 644 for files, 755 for directories.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by Webdongle » Sun Sep 30, 2012 3:25 pm

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by mtrimble » Sun Sep 30, 2012 11:02 pm

The above solution by pxforti is for HOSTGATOR hosting accounts ONLY — as he mentioned and I spoke to as well.

If you’re using another host the solution may differ.

New to Joomla? Over 130 FREE JOOMLA 1.5 Video Tutorials. Learn Joomla Online.
http://www.MyJoomlaCast.com

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by iTD » Tue Oct 02, 2012 7:31 pm

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by acim68 » Thu Oct 04, 2012 9:35 pm

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by humvee » Fri Oct 05, 2012 7:58 am

Remember that Joomla 3.0 is intended primarily for experienced users, developers, and advanced early adopters.

If you are just testing/learning about the software then fine, but you should not be looking to develop new sites from scratch with it especially this early in its release cycle (within 2 weeks) there are a lot of issues that have already been identified that will make the task not quite impossible but extremely laborious.

If you doubt your experience or knowledge then you should stick to the LTS currently 2.5 and not touch STS releases such as 3.0.x to 3.4.x. and to be honest if you are asking about how to change file permissions you do fall in this bracket.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by bjhno » Sat Oct 06, 2012 10:12 am

Just unzip the files locally, and then zip the files and folders.
Upload the new zip file to the server and unpack, problem solved here

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by kp_martin » Sun Oct 07, 2012 1:09 am

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by humvee » Sun Oct 07, 2012 10:10 am

There would/should have been an option to apply the appropriate settings (cascade these) to files and directories within those you changed.
Use an FTP client such as FileZilla Select all the directories in the site_root/ and rightclick and select File Permissions, or WinSCP do the same except select Properties.

If however you don’t already know how to change permissions then you should question whether you should even be installing Joomla 3.0 on a remote host as you appear not to be experienced users/advanced adopters, or developers.

If all you want to do is see what Joomla 3.0 offers but without risk then install it on a localhost.

Please read the Announcements as these provide more detail on this.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by iTD » Sun Oct 07, 2012 8:22 pm

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by Webdongle » Sun Oct 07, 2012 8:50 pm

@iTD
Nothing wrong with inexperienced users experimenting with J3 on test sites. The problems arise when inexperienced users upgrade a live site when they don’t understand what is happening.

Warning users not to use J3 on live sites is a good warning. If users want to upgrade their live site it is best to transfer it to localhost(or make a duplicate in a new folder to a different database) and experiment with it there.

Look through the different threads . there are many inexperienced users who have ruined their sites. They have ruined their live sites because they do not back up their site and they upgrade live sites to J3.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by leolam » Mon Oct 08, 2012 3:59 am

Leo

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by leolam » Mon Oct 08, 2012 4:06 am

I like to remind you that your tone setting in your language is not in style with our forum etiquette. Andy Wallace is a highly respected Member/Moderator of this community and you should show some respect instead of making those kind of disrespectful remarks.

Andy is 100 % right. This ‘shining new toy’ is full of bugs and we are all working hard on it to improve it so warnings to new and inexperienced users are very much justified!

So a good thing would be to contribute to Joomla instead of barking around? We need Testers, coders, writers for docs, name it.

Be kindly invited to positively contribute?

Leo

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by humvee » Mon Oct 08, 2012 9:59 am

@iTD
The warnings are there with the release notes and in the articles that have been published so far, yet despite that people still keep making the same mistakes.

If we were to sit back and just say «yeah, Joomla 3.0 is ready for everyone now» no matter what they are capable of, then these forums will be strewn with users whose sites are stuffed. The only way it seems to get the message over is to keep repeating it so sorry if you don’t like it but we have greater concerns than just the odd individual.

As for your comments about «riddled with permission errors» if you choose not to be more specific and/or report those errors in a proper and timely fashion they are not going to get rectified.

Of course, if however you had done what experienced users,and developers do and checked the JoomlaCode CMS Bug Tracker you would know that the issue was already highlighted and rectified ready for the 3.0.1 release.

Sometimes the simplest errors can arise and/or get overlooked when people are working together to get a release out to the waiting audience on time, as would seem to be the case in this regard.

Rectifying it IS simple if you know what you are doing or read and research the relevant documentation (as most of us have had to do to gain our knowledge) instead of coming here and whining about it! The trouble is people reach too far ahead of themselves and it is then the forums and volunteers who have to make the same solutions available time and again (particularly when people don’t bother using search on the forums or use Google if the forum search is unavailable).

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by kp_martin » Tue Oct 09, 2012 1:21 am

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by Webdongle » Tue Oct 09, 2012 1:42 am

If you bothered to look at the many posts on this board you will see a lot of help is given. The problems occur when inexperienced users make silly mistakes . the most common mistake at the moment is to install J3 when it is not suitable for the user that installs it. And a lot of time is being spent on helping users who have broke their live site by upgrading to an experimental version of Joomla.

To say to the inexperienced user yes go ahead and use J3 for a live site . would be as responsible as giving an alcoholic a bottle of whiskey.

Your post was misleading as to your experience . it lacked the detail of Recursively applying the file permissions. And combined with the fact it was your first post . it indicated you had little experience. Hence the reiteration that J3 is for developers and experienced users.

Had your post been more informative then it is unlikely you would have been mistaken for an inexperienced user.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by kp_martin » Tue Oct 09, 2012 1:59 am

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by Webdongle » Tue Oct 09, 2012 7:23 am

When I saw your post » I am on a shared server w/o shell » and you didn’t mention ftp I wondered whether you were a newbie who didn’t know that some packages have ftp access without shell access. Or if you were confusing shell access with ftp. Or if you were a newbie who was using free Hosting that has ftp access and not shell . and thought not used shared Hosting with both.

» I agree the docs make it clear enough, even overly so, to NOT upgrade a working site. Geeze, that would be dumber than judging a posters knowledge level by the number of posts on a particular forum!»
It isn’t a matter of judging the user’s level by their number posts but it a matter of trying to asses the level of their knowledge. And that is difficult when the first post is two sentences.

And yes there are many users who ignore the warning and break a live site. Just as there are those who set the chmod 777 . instead of making sure the server is configured properly. And just the same as people who think their hacked site can be cured simply by deleting one file. Oh and don’t forget the users who think cms =’create magical sites’ . and are surprised that they can not create/edit Template css files easily.

So forgive us if we ere on the side of caution when a user’s first post is only 2 sentences.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by sovainfo » Tue Oct 09, 2012 9:32 am

@kp_martin: Thank you very much for your post on the access rights on folders only. I understood what you were saying after the first time I read it. Glad to see my understanding of the English grammar is improving that quickly.

In another post I requested information on the rediculous situation that group rights cause a 500 server error. Yours is the first one that actually provides some. Why are you saying you wrongly posted a simpler solution? ARe you taking it back? I hope not, please confirm that your statement still holds.

Maybe the 3.0 section here is missing a board for stupid mistakes. Moderators should relocate the posts to that board so we are not bothered with the education of those posters. When you disagree on the relocation of your post you should request politely to undo that transfer. Moderators are human beings and make mistakes.

Re: Installing Joomla 3.0 gives me an Internal Server Error

Post by humvee » Tue Oct 09, 2012 10:58 am

None of our comments — well certainly not mine — are intended in any way as elitist or rude as I am now being accused.

The point of the comments is to stop people destroying their existing sites or getting into major problems thinking that Joomla 3.0 is ready to go ahead and create sites the same as they do for 2.5 or 1.5.

If the messages come across as blunt then they will give the right warning.

No one is saying don’t try Joomla 3.0, but if you do, then expect there to be problems in the early days weeks / versions and don’t always expect the same level of answers that come with established versions such as 1.5 or 2.5 as often the issues will be ones that even the developers had not expected or accounted for.

No one is saying don’t try Joomla on development/localhost servers — in fact that is the recommendation.

If you choose to use the 3.0 version then you must expect issues and then research them accordingly on the Bug Tracker, bug forums etc.

If you choose to use the 3.0 version make sure your server is properly configured including all the settings that were previously marked as «well it will still work but there might be issues» things such as Magic Quotes will cause issues.

However when the questions arise about how to change file and directory permissions or how to change settings for the server php.ini, it does raise concerns as to whether an individual does have the necessary experience to be using the Joomla 3.x.x releases at this current point in time.

This has nothing to do with being elitist and everything to do with being practical and realistic and if someone takes offence at having those limitations pointed out to them, and the reasons for it, there is not too much that can be done about that.

We are trying to identify and work to resolve the major issues that are arising with a significant major version release of Joomla so that everyone can use the software easily in the future.

If you have any doubts then please stick with 2.5 and wait for 3.5 when all these new issues will doubtless have been resolved.

Also, remember that these forums are where the messages are passed on we don’t necessarily write the messages in the first place, as in:
⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ ⇒ «Don’t shoot the messenger!»! ⇐ ⇐ ⇐ ⇐ ⇐ ⇐ ⇐ ⇐

Источник

Hello. I am attempting to install joomla for a new website on a new hosting account. I get as far as having the files unzipped on the web server and a database + user created, but when I try to finish the installation by going to the URL, I get a 500 error (Sorry, there was a problem we could not recover from. The server returned a «500 — Whoops, looks like something went wrong.»).

website: http://elmwoodacademy.ca/
webhost: 10dollar.ca
technology: Linux / Apache / PHP 8

I don’t have access to php.ini but have tried 2 different things, adding a php.ini to the html root and modifying .htaccess. Neither of these seems to have fixed or changed anything.

.htaccess
php_value memory_limit 128M
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 30

php.ini
post_max_size = 30M
upload_max_filesize = 30M
memory_limit = 128M
max_execution_time = 30

Here is the PHP info.
http://elmwoodacademy.ca/phpinfo.php

I have php logs enabled. Here are some of the error messages:

[15-Mar-2022 20:02:33 America/Chicago] PHP Warning: SessionHandler::read(): open(/var/lib/php/sessions/sess_c4b3be15ee732bf9918a6e96e611a7b7, O_RDWR) failed: No such file or directory (2) in /mnt/stor12-wc2-dfw1/588082/2038623/www.elmwoodacademy.ca/web/content/libra … torage.php on line 478

[15-Mar-2022 20:02:33 America/Chicago] PHP Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions) in /mnt/stor12-wc2-dfw1/588082/2038623/www.elmwoodacademy.ca/web/content/libra … torage.php on line 478

I contacted tech support at 10dollar.ca and they offered to install joomla for me. Unfortunately they didn’t get back to me within an hour as promised and they left the website in the same state with the same error message (but with a Maria db instead of a MSSQL db this time).

If anyone can help me get started, I would be very grateful. This is my first attempt at installing joomla and i seem to be failing miserably…

Hi, lately I’m not able to use the frontend editor. I keep getting a 500 error.

I’m using:

Joomla 4.0.4
Sp Page Builder 3.8.1
PHP Version 7.4.26

=======
Sorry, there was a problem we could not recover from.

The server returned a «500 — Whoops, looks like something went wrong.»

I checked the error_log for the site and it mentioned a fatal error regarding memory allocated. I’ve raised the php.ini limit to 256M and it is working now.

this was the error that i was seeing

https://docs.joomla.org/J4.x:FatalError

Hello, I have the same problem with the same configuration.
the team’s response: check with your host …
I am thinking of a token problem but I am not more Advanced.

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

My site was working fine yesterday, evening. I opened it up this morning and got same error.


Sorry, there was a problem we could not recover from.

The server returned a «500 — Whoops, looks like something went wrong.»

changed PHP memory limit to 512M but no change, everything is down and I cannot also login to the Admin Page. I tried to endable the DEBUG in config but no effect at all. I am completely stuck !

Please contact your server provider to solve your 500 error. Thanks

  • Произошла исключительная ситуация winhttp winhttprequest ошибка поддержки безопасных каналов
  • Произошла критическая ошибка steam vr
  • Произошла исключительная ситуация provider неопознанная ошибка
  • Произошла критическая ошибка parallels desktop
  • Произошла исключительная ситуация microsoft word ошибка команды save as