Orionsbelter Posted May 24, 2008 Share Posted May 24, 2008 on my website mysql errors don't show the page just goes blank what needs changed to make mysql errors show bearing in mind that display errors is turned on. Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted May 24, 2008 Share Posted May 24, 2008 mysql_query($some_SQL) or die(mysql_error()); is that what you mean? Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted May 24, 2008 Author Share Posted May 24, 2008 no i mean that something in php.ini is turned off and not bring any errors up like cannot send header etc. what needs turning on? Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted May 24, 2008 Share Posted May 24, 2008 error reporting is turned off. search for errors in php.ini and you'll see various ways to turn them on. you need to restart apache after making a change to php.ini. if you can't alter php.ini, use this at the top of your script: error_reporting(E_ALL); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.