Kevin
Kevin

Reputation: 53

PHP returns blank with legit code

I've copy pasted the get facebook messages script from this website: http://cappelendesign.no/2010/04/tutorial-facebook-rss-feed-parser-in-pure-php/

Works like a charm on two test hosts but I can't determine why it doesn't on the main..

PHP Version is 5.3.15 And SimpleXML is enabled.

I've tryed different retrieve PHP scripts from whom I know they work. They all return blank.

Any ideas on what this problem could be?

Gr. Kevin

Upvotes: 0

Views: 45

Answers (1)

Mutale
Mutale

Reputation: 310

This usually happens when you have an error but the php is defined not to show errors.

try to add:

 error_reporting(E_ALL);
 ini_set('display_errors', 1);

at the begin of your code to see the errors.

Upvotes: 3

Related Questions