localhost/index.php + Firefox => "save or open index

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


Joined: 23 Feb 2006
Posts: 2

PostPosted: Thu Feb 23, 2006 8:37 am    Post subject: localhost/index.php + Firefox => "save or open index Reply with quote

If i run Abyss with PHP & Mysql, i can go to http://localhost/site. Everything runs fine. The server automatically recognize the index.php and builds the site. The adressbar shows http://localhost/site/. But, if i'm clicking around, and clicking on a link with localhost/site/index.php, firefox asks what to do with this file. Something like: you've choosen to open this file (i use a dutch version, so i can't give an accurate description of the alert message)

> IE doesn't ask this, he just opens the index.php
> strangely enough, other pages on my localhost-site, are also starting with index.php (it's a joomla site with something like http://localhost/aangeenbrug.org/index.php?option=com_etc)

How can i solve this problem? Is this problem know?
_________________
Mail me? aprelium a aangeenbrug o org!
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Feb 23, 2006 10:48 am    Post subject: Re: localhost/index.php + Firefox => "save or open i Reply with quote

lennart,

Is PHP correctly declared and associated with .php extension?

If you answer OK when Firefox asks to download the file, do you get the in the saved file the page that you're expecting. Is it pure HTML code or does it contain <?php occurences (which suggests that PHP has not processed the file).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
lennart
-


Joined: 23 Feb 2006
Posts: 2

PostPosted: Thu Feb 23, 2006 12:24 pm    Post subject: Reply with quote

It works fine in IE, so i assume the php ext is good declared. I can run a local site, based upon php & sql (joomlacore). It's just when i select index.php specifically.

If i "download" (hey, its local ;-) i get the full php = no html output, just the pure code as is in the htdocs folder. So, the php file isn't processed.

Script path = /*.php It's correct or not?
_________________
Mail me? aprelium a aangeenbrug o org!
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Feb 24, 2006 10:45 am    Post subject: Reply with quote

lennart,

Chances are that Firefox is getting this page from its cache and is not contacting the server (have you already accessed index.php before declaring PHP in Abyss?).

So please force Firefox to refresh the page and get it from the server (CTRL+R). If this is still not working, dump its cache and retry.

Check also your log file and verify if Firefox request for index.php is logged there (if not, this means that the server is not contacted by the browser).
_________________
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