danwednesday Posted September 19, 2011 Share Posted September 19, 2011 Hi, I've inherited a website with a problem! Basically the site runs pommo mailing list, which has worked fine for years. Recently though the website domain name changed. Since then - or at least at a similar time - pommo has just stopped working completely. It does nothing but outputs blank pages. I've never done any php development so I've no idea where to start in terms of debugging this. I've checked that the files etc all exist on the server: they do. I've uploaded a test html page which works. I've uploaded a test php page containing: <?php phpinfo( ); ?> and it works. But when I visit any page in the pommo application, the browser just renders a totally empty white page - no source HTML at all, just nothing! Can anyone suggest how to debug this? Even an error message would be somewhere to start. Thanks all! Quote Link to comment https://forums.phpfreaks.com/topic/247466-newby-help-to-debug-application-which-outputs-blank-pages/ Share on other sites More sharing options...
jcbones Posted September 19, 2011 Share Posted September 19, 2011 Open the scripts that generate blank pages, and add these lines at the very top. <?php //if this tag is already the first thing on the page, you can omit it. error_reporting(-1); ini_set('display_errors',1); Quote Link to comment https://forums.phpfreaks.com/topic/247466-newby-help-to-debug-application-which-outputs-blank-pages/#findComment-1270808 Share on other sites More sharing options...
danwednesday Posted September 19, 2011 Author Share Posted September 19, 2011 Thanks, I've tried this - it's at the very top of the 'index.php' file, but it's still the same: no error, just nothing!? Quote Link to comment https://forums.phpfreaks.com/topic/247466-newby-help-to-debug-application-which-outputs-blank-pages/#findComment-1270813 Share on other sites More sharing options...
xyph Posted September 19, 2011 Share Posted September 19, 2011 The code could have a custom error handler, override your settings in an included file, etc. It's impossible to say without intimate knowledge of the code. This isn't support for 3rd party scripts. Would a mod please move this to the right forum? Quote Link to comment https://forums.phpfreaks.com/topic/247466-newby-help-to-debug-application-which-outputs-blank-pages/#findComment-1270815 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.