error not recognize

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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

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

Re: error not recognize

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' wrote:
Quoted text here. Click to load it

Re: error not recognize wrote:
Quoted text here. Click to load it


Quoted text here. Click to load it

Not just an error, a Fatal error that will halt the script. No further

Rik Wasmus

Site Timeline