I wrote a .php page and put it up on the hosting server but the page keeps on returning blank. I've checked that I have all my brackets and semicolons placed correctly.
I've added
Expand|Select|Wrap|Line Numbers
- <?php
- //turn on error reporting
- ini_set('display_errors',1);
- ERROR_REPORTING(E_ALL);
- ?>
I found my php.ini file and checked that also. The display_errors is set to ON. Also, there isn't anything logged in a .txt file.
I wrote in phpinfo(); previously and it worked; the server has php up and running correctly. The version is 4.3.11
However, I did notice that even though I changed display_errors to ON it still says OFF in the info that shows up, however that shouldn't matter since I specified having error reporting on in the specific page.
_______________
I deleted everything and just put this in the body
Expand|Select|Wrap|Line Numbers
- <?php
- //turn on error reporting
- ini_set('display_errors',5);
- ERROR_REPORTING(E_ALL);
- ?>
- <?php
- echo "Hello World
- ?>