Alex Tech Adventures The webs best tutorials!

Favourites Create PDF Email Print

Instead of a full stack trace error message I just get

Author:
Panagiotis Kosmidis
Date added:
Saturday, 22 August 2009
Last revised:
never
Hits:
1219
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

    An error occurred
    message ?>
    Exception information:

    Message: exception->getMessage() ?>
    Stack trace:

    exception->getTraceAsString() ?>

    Request Parameters:

    request->getParams()) ?>

    To display error message Zend Framework uses short tags in its view helper. You can see it for yourself in (default)/views/scripts/error/error.phtml .  So all you need to do is to enable short tags short_open_tag = on in php.ini

Category

Login Form

Next up

Error handling.

You are here: Home FAQ Zend Framework FAQ Instead of a full stack trace error message I just get

Statistics

Members : 1401
Content : 42
Web Links : 1
Content View Hits : 191197

Poll

Interested in TinyBrowser and TinyMce plugin for ZF?
 

Who's Online

We have 47 guests online