0

i know very little php and have set up a copy of a site (db, sitefiles) in iis that has php installed. run the phpinfo.php page so i know php is running and working. when i go to the homepage index.php i just get a blank page, no errors!!!

any idea how i get to view errors or why this is happening?

6
  • 1
    Do you have ERROR_REPORTING set to E_ALL and display_errors to On in your php.ini ? Commented Jan 4, 2011 at 17:45
  • 1
    At the very top of index.php, add error_reporting(E_ALL);. Commented Jan 4, 2011 at 17:45
  • 1
    how about you tell us what type of setup this is running on? IIS? Apache2? What version of PHP? etc, do you want us to guess? Commented Jan 4, 2011 at 17:46
  • 3
    And showing some code would help too... Commented Jan 4, 2011 at 17:47
  • You probably just missed a semicolon or something. Commented Jan 4, 2011 at 17:53

1 Answer 1

4
 error_reporting(E_ALL);
 ini_set("display_errors", 1);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.