Downloading PHP files instead of processing them .. why?
Posted 03 October 2006 - 02:30 AM
I have a site in PHP and for some reasons instead of processing the files its making the browser Firefox and IE downlaod the php files as you would any file. This appears to be an intermittent problem some times its works most of the time it does not. Does anyone know why this occurs?
Posted 03 October 2006 - 03:33 AM
Posted 03 October 2006 - 03:36 AM
do you have a link we can test?
Posted 03 October 2006 - 03:44 AM
Find the file: http.conf
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3 .php5
Action application/x-httpd-php "/php/php-cgi.exe"
Posted 03 October 2006 - 03:54 AM
Can you provide a link so we can verify?
Posted 03 October 2006 - 03:43 PM
Thanks for your responses. The problem is Intermetent as sometimes it logs in normally with no problems. My host is wiredhub.net. The pages come down as login_code.php but are Empty (there is no code in the file) so they are being processed but instead of outputing or linking to the next page they are offering to be downloaded.
I will be happy to provide you with a login to the site to see for yourself but don't want to post my email and password on here so if you can send me a message i will send it that way.
Posted 03 October 2006 - 04:47 PM
I seem to get a lot of retries on this usually about 20. Is it possable that this is causing the PHP processing to go skewy.. and hence the intermetent problems ? Anyone have anything similar ?
(try:20) => `automaticupdate.php.6'
Connecting to flickr.ifresh.co.uk|188.8.131.52|:80... connected.
HTTP request sent, awaiting response... No data received.
Posted 03 October 2006 - 04:50 PM
runs though a database of users and depending on their settings deletes all the users photos and pulls fresh ones down of off flickr.com site and stored them locally. This should not effect the site though.
Posted 03 October 2006 - 04:53 PM
Posted 03 October 2006 - 04:56 PM
I'm not entirely sure how some browsers would use that header. Try removing the ".." from the beginning at the very least.
PS: I was able to login multiple times without a problem in safari, camino, and firefox.
Posted 03 October 2006 - 05:20 PM
Thanks for you help. I have done as you suggested and instead of using the relative link i put in the full thing though i doubt it was that. I have reset the CrOn job to its origional 15 min intervals. If you have the time please keep randomly logging in and out when you have a fre minute and im sure that the Weirdness will occur again soon. :-\
If you have an instent messenger i can msg on that when it occurs.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users