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

Not getting 404?

Started by Muut Archive 11 years ago · 7 replies · 427 views
11 years ago

my installation works, but if i try for a non-existant file, eg website.com/fruitbat i get a runtime exception and error trace.

am i not in production mode?

i went through system.yaml to switch off all debug and enable all cache, but is there another place.

or am i missing a 404 file perhaps?

11 years ago

What does the error say? Just a question, are you using PHP7? In this case disable the PHP APCu cache extension, which currently gives problems with the Doctrine cache we're using.

11 years ago

using php 5.6.14

  1. RuntimeException
    …/­system/­src/­Grav/­Common/­Grav.php151
  2. Grav\Common\Grav Grav\Common{closure}
    …/­vendor/­pimple/­pimple/­src/­Pimple/­Container.php113
  3. Pimple\Container offsetGet
    …/­system/­src/­Grav/­Common/­Twig/­Twig.php299
  4. Grav\Common\Twig\Twig processSite
    …/­system/­src/­Grav/­Common/­Grav.php157
  5. Grav\Common\Grav Grav\Common{closure}
    …/­vendor/­pimple/­pimple/­src/­Pimple/­Container.php113
  6. Pimple\Container offsetGet
    …/­system/­src/­Grav/­Common/­Grav.php258
  7. Grav\Common\Grav process
    …/­index.php37
11 years ago

Is the error plugin installed and enabled?

11 years ago

ahah! that's it. im missing the plugin. i just put it in and it works. thanks!

11 years ago

yes, that what is. just a note to anyone else who gets this:

i foolishly got the grav repo then installed the admin plugin manually rather than then packaged download. doing this does not contain the error plugin.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1350 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4061 9 years ago
Archive · by Muut Archive, 9 years ago
1 2948 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago