Jump to content


Photo

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


  • Please log in to reply
1 reply to this topic

#1 sonikrishnakanth

sonikrishnakanth
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 23 September 2006 - 11:59 AM

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 ..

#2 shoz

shoz
  • Staff Alumni
  • Advanced Member
  • 600 posts

Posted 23 September 2006 - 12:54 PM

Put the following in a .htaccess file.
php_flag  display_errors        on
php_flag  display_startup_errors on
php_value error_reporting        2047
http://www.php.net/m...rting.php#54110




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users