Blank Page

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
abcjmznet21
-


Joined: 27 Apr 2004
Posts: 2

PostPosted: Fri Jun 11, 2004 4:41 pm    Post subject: Blank Page Reply with quote

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 View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Fri Jun 11, 2004 5:18 pm    Post subject: Reply with quote

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 View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Fri Jun 11, 2004 10:04 pm    Post subject: Reply with quote

Under "CGI Environment Variables," do you have "redirect_status" set to 200?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
prophecy2000
-


Joined: 30 Aug 2004
Posts: 3
Location: Marietta, Ohio, USA

PostPosted: Mon Mar 28, 2005 6:58 pm    Post subject: Same Problem with Blank Pages Reply with quote

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 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
abcjmznet21
-


Joined: 27 Apr 2004
Posts: 2

PostPosted: Tue Mar 29, 2005 2:20 am    Post subject: Reply with quote

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 View user's profile Send private message
k1ll3rdr4g0n
-


Joined: 04 Jul 2004
Posts: 609

PostPosted: Tue Mar 29, 2005 3:07 am    Post subject: Reply with quote

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 View user's profile Send private message AIM Address
prophecy2000
-


Joined: 30 Aug 2004
Posts: 3
Location: Marietta, Ohio, USA

PostPosted: Tue Mar 29, 2005 3:08 am    Post subject: Windows XP Reply with quote

Windows XP HOME
Back to top View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Mar 29, 2005 10:35 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Mar 29, 2005 3:45 pm    Post subject: Re: Windows XP Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group