Think i have a problem with my PHP

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


Joined: 22 Jun 2004
Posts: 22

PostPosted: Thu Feb 03, 2005 6:48 pm    Post subject: Think i have a problem with my PHP Reply with quote

i installed Abyss web server and configured it to work using php. When i want to load my default page ( index.php for imagevue ) from a web browser im getting the content of the index.php ... i installed php 4.3.10 everything seems fine till i try to load the file ... its like if php.exe was not being executed when trying to load the page ... heres the content of the index.php

<?php
#########################################################
# #
# Release....: ImageVue.v1.4.PHP.NULL-WDYL #
# Date.......: 01/30/04 #
# Released...: WDYL #
# Protection.: CallHome, License Check, Refferer Links #
# URL........: http://www.imagevuex.com #
# #
#########################################################
$vars = array('popped', 'folder', 'config');
$varstr = '';
foreach ($vars as $var) {
if(isset($_GET[$var]))
{
$vvar=$_GET[$var];
if (strlen ($varstr) > 1 and $vvar != '') $varstr .= '&';
$varstr .= $var . '=' . urlencode($vvar);
}
}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ImageVue.v1.4.PHP.NULL-WDYL</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
<tr>
<td height="450"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="500">
<param name="menu" value="false">
<param name="movie" value="imageVue.swf">
<param name="quality" value="high">
<param name="BGCOLOR" value="#ffffff">
<param name="FLASHVARS" value="<?php echo $varstr; ?>">
<embed src="imageVue.swf" width="100%" height="500" menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" flashvars="<?php echo $varstr; ?>"></embed></object></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>

Thanks for any help
Back to top View user's profile Send private message
Glitch2082
-


Joined: 02 Dec 2004
Posts: 194

PostPosted: Thu Feb 03, 2005 7:21 pm    Post subject: Reply with quote

If you don't get a php error, and you just see the php source, you might have the path to the interpreter wrong.
_________________
int main() {
cout << "Im Pro Apache";
cin.get();
}
Back to top View user's profile Send private message Send e-mail
Dieu
-


Joined: 22 Jun 2004
Posts: 22

PostPosted: Thu Feb 03, 2005 7:29 pm    Post subject: Reply with quote

interpreter path is : C:\PHP\php.exe
the redirect status is set to 200 with no leading or trailing speces
added index.php in the list ....

still not working ... in did that 3 times before on my computer worked fine ... might try to re-install php but would that be a problem ??


C:\program files\abyss web server = server root
documents patch = upload ( wich is my index.php file to start imagevue gallery. )

as well , is there a specific place to put the php.ini file ???

Thanks
Back to top View user's profile Send private message
mrtdunn
-


Joined: 27 Jan 2005
Posts: 16
Location: Joplin,MO

PostPosted: Thu Feb 03, 2005 8:43 pm    Post subject: Reply with quote

The php.ini file should be in C:/WINDOWS.



_________________________________________________
mrtdunn--"In God We Trust, all others we question."
Back to top View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Feb 03, 2005 8:47 pm    Post subject: Reply with quote

Dieu wrote:
interpreter path is : C:\PHP\php.exe
the redirect status is set to 200 with no leading or trailing speces
added index.php in the list ....

still not working ... in did that 3 times before on my computer worked fine ... might try to re-install php but would that be a problem ??


C:\program files\abyss web server = server root
documents patch = upload ( wich is my index.php file to start imagevue gallery. )

as well , is there a specific place to put the php.ini file ???

Thanks


Did you add an associated extension for PHP , that could also be it ?
Back to top View user's profile Send private message Visit poster's website
Dieu
-


Joined: 22 Jun 2004
Posts: 22

PostPosted: Thu Feb 03, 2005 9:23 pm    Post subject: Reply with quote

i added to mime type application/x-httpd-php php
still nothing and the php.ini is in c:\windows

anything else i shoud try ?
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Thu Feb 03, 2005 10:07 pm    Post subject: Reply with quote

In the Script Paths you should have /*.php
_________________
Olly
Back to top View user's profile Send private message
Dieu
-


Joined: 22 Jun 2004
Posts: 22

PostPosted: Thu Feb 03, 2005 10:11 pm    Post subject: Reply with quote

is that in CGI PATH ? if yes i added /*.php and it didnt work
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Thu Feb 03, 2005 10:24 pm    Post subject: Reply with quote

Dieu wrote:
interpreter path is : C:\PHP\php.exe
the redirect status is set to 200


is it set to REDIRECT_STATUS or REDIRECT STATUS? the latter will not work, it must have an underscore between the 2 words.
_________________
Olly
Back to top View user's profile Send private message
Dieu
-


Joined: 22 Jun 2004
Posts: 22

PostPosted: Thu Feb 03, 2005 10:27 pm    Post subject: Reply with quote

yes it's REDIRECT_STATUS with the underscore... and i`ve checked for leading and trailing spaces nothing so far nothing seem's wrong

you can go check the problem at karmar.no-ip.org
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Feb 03, 2005 11:40 pm    Post subject: Reply with quote

Add me to your MSN Messenger , my msn is msn@trustabyss.com
Back to top View user's profile Send private message Visit poster's website
Dieu
-


Joined: 22 Jun 2004
Posts: 22

PostPosted: Fri Feb 04, 2005 5:10 am    Post subject: Reply with quote

Thanks dude :)
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Sat Feb 05, 2005 12:22 pm    Post subject: Reply with quote

Dieu wrote:
i added to mime type application/x-httpd-php php
still nothing and the php.ini is in c:\windows

anything else i shoud try ?

Abyss doesn't use this MIME type trick (which is Apache specific.) Please install PHP support "exactly" as explained in http://www.aprelium.com/abyssws/php.html (and there we don't say that you need to change or add any MIME type.)
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat Feb 05, 2005 4:51 pm    Post subject: Reply with quote

I just wanted to give you guy's an update , the problem is now fixed and the
PHP is working fine , I guess it was an older version of Abyss causing it. v1.1
Back to top View user's profile Send private message Visit poster's website
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