Jump to content

Newby: Help to debug application which outputs blank pages


danwednesday

Recommended Posts

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!

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);

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?

Archived

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

×
×
  • Create New...

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.