Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Fatal error in my application (in production only)
  • Hello,

    I'm a french developer, my english isn't very good.

    I have a worry since I put my application into production, hosted in 1&1.

    When I go on index.php, I get this error :
    Fatal error: Exception thrown without a stack frame in Unknown on line 0
    which is triggered by this line, apparently : 
    $response = \Request::forge()->execute()->response();

    I don't understand what causes this error, I don't have this in my local version.

    Than you to those who will help me :)

  • What version of Fuel are your using?
    What version of PHP does 1&1 run? And what type of webserver?

    Are you sure all your file rights are set ok?

    You get this error if an Exception occurs in PHP's shutdown event. FuelPHP uses this to clean up and to write session information. Often, it is related to that (error in writing sessions).
  • Version of Fuel : 1.7.1
    System 1&1 : Windows
    Version PHP 1&1 : 5.3.5

    I put the right of all files to 777

    I don't think this is a problem of file rights, because the error is still the same unfortunately.
  • This is always a challenge to find, since PHP is already is shutdown mode, and the exception handler isn't operational anymore, so PHP can not give a proper error message.

    5.3.5. is an antique, but it should be able to run Fuel without problems.

    I'm afraid you'll have to start debugging.

    In ./fuel/core/bootstrap.php you will find the "register_shutdown_function". Add some logging to the different steps, and see how far it gets.

    I assume you have checked the logs (both the webserver log and the fuel logs for any error messages? Have you enabled all logging in your config.php (L_ALL or L_DEBUG level)?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion