Page 1 of 1

where oh where did my php class go

Posted: Thu May 10, 2007 7:41 am
by tcl4p
In an effort to improve my code I recently changed a php page to use a class file. I added an include statement to the page and moved both the new page and the class file to the same directory on my isp's server. I did the development work on my local machine running windows with an apache server and everything works fine. When I tried to run the page from my isp the page shows up blank. No errors, just a Done statement at the bottom of the page. I changed the include statement to a require statement figuring that if the page couldn't find the file I would get a fatal error, but nothing.
So the question now is what to do next to diagnosis the problem. I would appreciate any suggestions.

Regards,
Tom

Posted: Thu May 10, 2007 8:12 am
by Oren
Add this to the top of your file:

Code: Select all

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