Jump to content

Archived

This topic is now archived and is closed to further replies.

sonikrishnakanth

Unable to display the errors on to the screen !!!

Recommended Posts

Hello folks .. i m new to php .

i ve written some script which requires mysql connection .. when i m including the mysql_connect() i m left with the script going blank or stopping its execution at that line ... i m also not getting if there is any error occured ... please help me how to solve this ..

i m unable to get the errors on to the screen.. i ve even set the error_reporting to E_ALL both in php.ini and my script .. is there ny way to solve this ,.,..

waiting for your valuable replies ..

Share this post


Link to post
Share on other sites
Put the following in a .htaccess file.
[code]
php_flag  display_errors        on
php_flag  display_startup_errors on
php_value error_reporting        2047
[/code]
http://www.php.net/manual/en/function.error-reporting.php#54110

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.