Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Installation & Hosting

Status Code 500 instead 404 for Page not found

Started by Piotr Bundyra 9 years ago · 1 replies · 1091 views
9 years ago

hello, like in topic i get error page
"Server Error
Sorry, something went terribly wrong!
404 - Page Not Found "
with header code 500 instead 404
i'm runing apache 2.4 with php-fpm 7
all existing pages are runing normaly, error appear only for missing pages
ps. i'm using Gravstrap skeleton + admin

LOG:
grav.CRITICAL: Page Not Found - Trace: #0 /var/www/clients/client33/web93/web/vendor/pimple/pimple/src/Pimple/Container.php(113): Grav\Common\Service\PageServiceProvider->Grav\Common\Service{closure}(Object(Grav\Common\Grav)) #1 /var/www/clients/client33/web93/web/user/plugins/simplesearch/simplesearch.php(83): Pimple\Container->offsetGet('page') #2 [internal function]: Grav\Plugin\SimplesearchPlugin->onPagesInitialized(Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #3 /var/www/clients/client33/web93/web/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(RocketTheme\Toolbox\Event\Event), 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\EventDispatcher)) #4 /var/www/clients/client33/web93/web/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #5 /var/www/clients/client33/web93/web/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php(23): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #6 /var/www/clients/client33/web93/web/system/src/Grav/Common/Grav.php(310): RocketTheme\Toolbox\Event\EventDispatcher->dispatch('onPagesInitiali...', Object(RocketTheme\Toolbox\Event\Event)) #7 /var/www/clients/client33/web93/web/system/src/Grav/Common/Processors/PagesProcessor.php(18): Grav\Common\Grav->fireEvent('onPagesInitiali...') #8 /var/www/clients/client33/web93/web/system/src/Grav/Common/Grav.php(121): Grav\Common\Processors\PagesProcessor->process() #9 /var/www/clients/client33/web93/web/system/src/Grav/Common/Grav.php(396): Grav\Common\Grav->Grav\Common{closure}() #10 [internal function]: Grav\Common\Grav::Grav\Common{closure}('pages', 'Pages', Object(Closure)) #11 /var/www/clients/client33/web93/web/system/src/Grav/Common/Grav.php(372): call_user_func_array(Object(Closure), Array) #12 /var/www/clients/client33/web93/web/system/src/Grav/Common/Grav.php(122): Grav\Common\Grav->__call('measureTime', Array) #13 /var/www/clients/client33/web93/web/index.php(45): Grav\Common\Grav->process() #14 {main} [] []

9 years ago

ok. fixed after check pure grav install.
Gravstrap skeleton missing error plugin
instaling error plugin fixed problem

👍 1

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by antoinep, 18 hours ago
6 63 4 minutes ago
Installation & Hosting · by Jürgen Dietrich, 7 months ago
0 65 7 months ago
Installation & Hosting · by rappluk, 8 months ago
0 64 8 months ago
Installation & Hosting · by N, 12 months ago
3 76 12 months ago
Installation & Hosting · by Youle, 1 year ago
1 63 1 year ago