Computer Science Canada blank page |
| Author: | agnivohneb [ Sun May 20, 2007 2:37 pm ] | ||
| Post subject: | blank page | ||
Hello everyone I am making a CMS for media files and this is what I have so far.
When I load the file I get a blank page when it should show me the list. The list file (index2.php) has data in it. When I load index2.php directly is says "Hacking Attempt" and thats what I want it to say when you access it directly. What have I done wrong? |
|||
| Author: | PaulButler [ Mon May 21, 2007 12:41 pm ] | ||||
| Post subject: | RE:blank page | ||||
Well, for one thing, your location header should be formatted like this:
Other than that, I don't see any obvious mistakes, so you might have some error that PHP is hiding. Use this code at the top of the page to turn error reporting on:
And try again, and post any errors you get. |
|||||
| Author: | Amailer [ Mon May 21, 2007 1:29 pm ] | ||||
| Post subject: | RE:blank page | ||||
the includes aren't closed (needs a ')' )
|
|||||
| Author: | agnivohneb [ Wed May 23, 2007 9:54 pm ] |
| Post subject: | RE:blank page |
Thanks a lot that worked I tried to set error reporting but its still blank not even errors I also looked at the scourc that Firefox displays and thats blank. I also tried the number form "error_reporting(6143 | 2048);" but that didn't work ether, still blank. Sorry PaulButler it may be the way I setup my server. I don't know how to fix that. The php.ini file is fairly big. Amailer your way worked I must have over looked that. Thanks. |
|