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. Link to comment https://forums.phpfreaks.com/topic/107123-sever-mysql-errors-wont-come-up/ 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? Link to comment https://forums.phpfreaks.com/topic/107123-sever-mysql-errors-wont-come-up/#findComment-549189 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? Link to comment https://forums.phpfreaks.com/topic/107123-sever-mysql-errors-wont-come-up/#findComment-549192 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); Link to comment https://forums.phpfreaks.com/topic/107123-sever-mysql-errors-wont-come-up/#findComment-549196 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.