On Mon, 01 Mar 2010 07:40:31 +0800, Hector Virgen <[email protected]>
wrote:
Take a look at the view script errors/error.phtml. Last time I looked, it
was testing if the APPLICATION_ENV constant matched "development". If it
matched, it would display the exception info.
--
Hector
Thank you Hector for your reply, my error.phtml contains:
=====================================================
<body>
<h1>An error occurred</h1>
<h2><?php echo $this->message ?></h2>
<?php if (isset($this->exception)): ?>
<h3>Exception information:</h3>
<p>
<b>Message:</b> <?php echo $this->exception->getMessage() ?>
</p>
<h3>Stack trace:</h3>
<pre><?php echo $this->exception->getTraceAsString() ?>
</pre>
<h3>Request Parameters:</h3>
<pre><?php echo var_export($this->request->getParams(), true) ?>
</pre>
<?php endif ?>
</body>
=====================================================
Sorry, I cannot see any APPLICATION_ENV in here.
$ zf show version
Zend Framework Version: 1.11.0dev
--
Dasn