Posted by liuch.pku@gmail.com on 07/27/06 02:31
I think you should change the setting in 'php.ini', find the
line'display_errors=off', change it to 'display_errors=On', and make
sure 'error_reporting = E_ALL'
nesster13@yahoo.com wrote:
> I have installed Apache and PHP 5 on my machine.
> I have use Smarty and Pear to help me with the general template of my
> page. I was able to have a page loaded onto the my browser with not
> error but when I intentionally create an error on the page a blank page
> load with nothing on it. Does anybody know how to make the error come
> out.
>
> The code want to use to generate the error
>
> require_once 'inexistent_file.php';
>
> and since I dont have a file name inexistent_file.php an error should
> be generated.
>
> Sorry if the question is unclear. I am very new to php/apache and dont
> really know how to put the question in a more formal way. Any help is
> greatly appreciated. Thanks
Navigation:
[Reply to this message]
|