Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Help :: Archives ⇒ download php file instead of display :: Archived


download php file instead of display :: Archived
Have you run into a problem, such as receiving an error, blank page, or other similar issue? This forum is not for questions such as "What does this do?" or "Where did this come from?"
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Help

Topic Archived View previous topic :: View next topic  
Author Message
RedGerry
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 480
Location: Fishcross, Scotland
PostPosted: Sun Dec 04, 2005 10:24 pm
Post subject: download php file instead of display

I've come across a weird problem. It's not DF's fault, more likely it's something to do with php5 or apache, but it's weird and I'm baffled.

Here's the first url...

irvolunteers.org

You get a download box instead of index.php. The / doesn't make a difference

Second URL

irvolunteers.org/index.php

Works!

Third URL

irvolunteers.org/admin.php

Back to download again.

I'm still logged in as admin, if I go to any specific item, i.e. irvolunteers.org/admin...?op=blocks Works! and all the links to site areas from index.php work.

Configuration, brand new MySQL5, brand new PHP5.. info irvolunteers.org/phpinfo.php. apache is configured to look for index.php for a directory listing call...

I have another php/mysql site under construction on the same server using Zen cart media-drop.co.uk and it has no such problems. Virtual hosts files are the same, DNS setup is the same. There is no issue with file ownership..

Anyone who can suggest anything .. I'm at a loss where to look next.

_________________
gerry @ redgerry.com
redgerry.com
clacks.co
123v.com
copseygroup.com

RedGerry's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Suse11.4 - LAMP on zypper - ISPConfig 3
Back to top
View user's profile Visit poster's website MSN Messenger
Biggles
Debugger
Debugger

Offline Offline
Joined: Aug 03, 2005
Posts: 637
Location: St. Louis, MO
PostPosted: Sun Dec 04, 2005 10:27 pm
Post subject: Re: download php file instead of display

All three of the urls work fine for me.


Biggles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Win, Linux/1.3.34/4.0.26, 5.0.19/4.3.10, 5.1.2, 8.1.4(PostgresSQL)/9.0.6.1, CVS
Back to top
View user's profile Visit poster's website ICQ Number AIM Address MSN Messenger Yahoo Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sun Dec 04, 2005 10:32 pm
Post subject: Re: download php file instead of display

Response Headers - irvolunteers.org/index.php

Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 4919

Response Headers - irvolunteers.org/

Content-Encoding: gzip
Vary: Accept-Encoding
Content-Length: 4918

there's only 1 byte difference in the content length.
is hard to guess what that 1 byte is


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
RedGerry
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 480
Location: Fishcross, Scotland
PostPosted: Mon Dec 05, 2005 1:07 am
Post subject: Re: download php file instead of display

Thank you..

The original problem I was addressing had to do with the setup between the server and the router. Whilst this was being configured a DNS error produced the download instead of display error. This was subsequently fixed.

However.. the download was cached in Firefox.. after reading your posts I stopped looking at the server and had a look at my own machine. Firefox cache cleared, anomaly resolved.

_________________
gerry @ redgerry.com
redgerry.com
clacks.co
123v.com
copseygroup.com

RedGerry's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Suse11.4 - LAMP on zypper - ISPConfig 3
Back to top
View user's profile Visit poster's website MSN Messenger
OMorchoe
Newbie
Newbie

Offline Offline
Joined: Sep 13, 2006
Posts: 3

PostPosted: Wed Sep 13, 2006 4:25 pm
Post subject: Re: download php file instead of display

I have exactlty the same problem, but clearing the cache does not help.
Either there ist nothing (with IE) or I get the admin.php offerd to download.

standard and fresh installation...

cmstest.rpg-community..../admin.php

Go test it...

I apprechiat any help.
thanks


OMorchoe's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix Host, PHP5, MySQL4
Back to top
View user's profile Visit poster's website
RedGerry
Silver Supporter
Silver Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 480
Location: Fishcross, Scotland
PostPosted: Thu Sep 14, 2006 11:52 pm
Post subject: Re: download php file instead of display

Are you sure mod php is loaded in apache?

This used to be one of the default set but recently I've discovered in new installs it has to be added manually. If it isn't loaded then apache doesn't know what to do with it.

_________________
gerry @ redgerry.com
redgerry.com
clacks.co
123v.com
copseygroup.com

RedGerry's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Suse11.4 - LAMP on zypper - ISPConfig 3
Back to top
View user's profile Visit poster's website MSN Messenger
OMorchoe
Newbie
Newbie

Offline Offline
Joined: Sep 13, 2006
Posts: 3

PostPosted: Fri Sep 15, 2006 10:08 pm
Post subject: Re: download php file instead of display

its a shared server. and there are several php-based portals running on it. i guess the other would not work either it that is the case, right?

but i checked anyway...
I used a
Code::
<?php phpinfo(); ?>
And it looks fine to me...

you can check it yourself at /dragonfly/test.php


OMorchoe's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix Host, PHP5, MySQL4
Back to top
View user's profile Visit poster's website
OMorchoe
Newbie
Newbie

Offline Offline
Joined: Sep 13, 2006
Posts: 3

PostPosted: Tue Sep 19, 2006 10:03 am
Post subject: Re: download php file instead of display

anyone? please!

I would really love to try this cms.


OMorchoe's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix Host, PHP5, MySQL4
Back to top
View user's profile Visit poster's website
alva
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: May 31, 2005
Posts: 1150
Location: The Netherlands
PostPosted: Tue Sep 19, 2006 11:11 am
Post subject: Re: download php file instead of display

I don't get a download offered. Your index says maintenance, your admin.php gives a blank page.

Quote::

I got the following unexpected response when trying to retrieve <http://cmstest.rpg-community.com/dragonfly/index.php>:

500 Server closed connection without sending any data back

If you made recent changes to your domain name (DNS) configuration, you may also want to check that your domain records are correct, or ask your hosting company to do so.


alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/5.0.24/5/9.1 CVS
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Help
Page 1 of 1
All times are GMT

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy