View previous topic :: View next topic |
Author |
Message |
abcjmznet21 -
Joined: 27 Apr 2004 Posts: 2
|
Posted: Fri Jun 11, 2004 4:41 pm Post subject: Blank Page |
|
|
Hi,
Abyss Web Server will not show my php scripts. I already have downloaded php and configured the web server with it. When I type my php test
Code: |
<?php
echo"echo test";
print "print test";
?>
|
the server displays a blank page. What can I do to get rid of this problem?
I'm sorry if this is a novice question, but I am new to php and these forums. |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Jun 11, 2004 5:18 pm Post subject: |
|
|
What happens if you copy and paste
Code: |
<?php
phpinfo();
?>
|
into a file and save it as "info.php" then load it up through Abyss ?
Remember you have to actually access the file through your browser, not just double click on it in windows. |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri Jun 11, 2004 10:04 pm Post subject: |
|
|
Under "CGI Environment Variables," do you have "redirect_status" set to 200? _________________ Bienvenidos! |
|
Back to top |
 |
 |
prophecy2000 -
Joined: 30 Aug 2004 Posts: 3 Location: Marietta, Ohio, USA
|
Posted: Mon Mar 28, 2005 6:58 pm Post subject: Same Problem with Blank Pages |
|
|
Blank Pages also.
Doesn't matter what the content of the PHP file is.
Simple Echo scripts also return blank pages instead of echoing the text "Hello World!"
I have the Redirect Status set to 200.
REDIRECT_STATUS 200
I tried the PHPINFO you suggested and still it came up blank.
I am running php5 mysql4.1 and the newest AWS.
This problem didn't start until I upgraded AWS.
Also this problem was before I installed php5 and mysql4.1 which I installed because of the problem. I thought if I upgraded everything else it would work, but still doesn't work.
here is the phpinfo script you told me to try.
http://clips.gotdns.com/phpinfo.php
FEEL FREE TO CONTACT ME VIA MESSENGER.
I HAVE THEM ALL AND ARE ALWAYS RUNNING. |
|
Back to top |
 |
 |
abcjmznet21 -
Joined: 27 Apr 2004 Posts: 2
|
Posted: Tue Mar 29, 2005 2:20 am Post subject: |
|
|
Yes, prophecy, you messaged me. I did find a solution. First of all, you have to type 127.0.0.1/somefile.php into your browser instead of something like C:\WINDOWS\xxx\xxx\xxx\somefile.php. Try doing that. |
|
Back to top |
|
 |
k1ll3rdr4g0n -
Joined: 04 Jul 2004 Posts: 609
|
Posted: Tue Mar 29, 2005 3:07 am Post subject: |
|
|
Goto his site and see its a blank page. Hmm...you might not have setup PHP correctly. Are you running windows or linux? _________________
 |
|
Back to top |
|
 |
prophecy2000 -
Joined: 30 Aug 2004 Posts: 3 Location: Marietta, Ohio, USA
|
Posted: Tue Mar 29, 2005 3:08 am Post subject: Windows XP |
|
|
Windows XP HOME |
|
Back to top |
 |
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Mar 29, 2005 10:35 am Post subject: |
|
|
I noticed when looking at your source code that you are not fluent in the use of the " tag. When adding something such as <font color="#000080">, try always putting the " tag in the command.
This could cause problems on a PHP page. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Mar 29, 2005 3:45 pm Post subject: Re: Windows XP |
|
|
prophecy2000 wrote: | Windows XP HOME |
We recommend reading the contents of your log/cgi.log file. PHP 5 now logs by default errors there and do not show them in the web page.
Do you find error messages there? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|