Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues ⇒ Install.php Wants to Download no Run


Install.php Wants to Download no Run
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

View previous topic :: View next topic  
Author Message
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Sat Oct 25, 2008 3:46 pm
Post subject: Install.php Wants to Download no Run

Hello,

So the title pretty much says the problem.

I created the sub-domain
Uploaded all the files
CHMODed the files listed in the install.txt

Then I go to my website and add the install.php and it askes me if I want to dwonload.

I did this the same way on my old webspace and it worked fine

I am also in contact with the host provider because this might be a host issue.

Any help would be great.

Operating system
Linux
Apache version
2.2.10 (Unix)
PHP version
5.2.6
MySQL version
5.0.51
Dragonfly
2.1.0


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
warden
Silver Supporter
Silver Supporter

Offline Offline
Joined: Dec 16, 2004
Posts: 196
Location: North Carolina
PostPosted: Sat Oct 25, 2008 7:03 pm
Post subject: Re: Install.php Wants to Download no Run

Check your PM immediately, please.

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Sat Oct 25, 2008 7:34 pm
Post subject: Re: Install.php Wants to Download no Run

well I tryed what you said still no luck.

But I did rename the files.


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
warden
Silver Supporter
Silver Supporter

Offline Offline
Joined: Dec 16, 2004
Posts: 196
Location: North Carolina
PostPosted: Sat Oct 25, 2008 11:44 pm
Post subject: Re: Install.php Wants to Download no Run

Sorry for not getting back to you sooner, but I see that your database is installed as it is in Maintenance Mode. What did you do to fix it?

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Sun Oct 26, 2008 12:53 am
Post subject: Re: Install.php Wants to Download no Run

Well that is a long story and it is not fixed yet.

My host provides the fantastico installer, now it is suppose to install Dragonfly 9.2.1, but it doesn't it installs an older version.

Forcing me to upgrade, so I had to upload the lastest version files and I still get that it wants to download the install.php file.

I have verified this result on my computers of different networks and had some friends try and do it for me.

It seems that you are the only one that can see it right :).


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
warden
Silver Supporter
Silver Supporter

Offline Offline
Joined: Dec 16, 2004
Posts: 196
Location: North Carolina
PostPosted: Sun Oct 26, 2008 8:40 pm
Post subject: Re: Install.php Wants to Download no Run

I really don't have a clue as to why. I have seen this before but I do not know how to correct it.

After you installed the database, did it still try to download the index.php file or did it view fine?

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Sun Oct 26, 2008 11:05 pm
Post subject: Re: Install.php Wants to Download no Run

So I decided to wipe everything and just start with the new version.

ANd since I know you can see it fine, I really do not know what is causing the issue.

Install.php wants to download for me on any broswer and any OS, and for anyone else I have had try.


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Mon Oct 27, 2008 11:56 am
Post subject: Re: Install.php Wants to Download no Run

Open includes/db/db.php and at line 108 you will see "sql_uquery" function.
Inside the function you need to replace
PHP:
return $this->sql_query($query, $bypass_error, TRUE);

with
PHP:
return $this->sql_query($query, $bypass_error, FALSE);

Basically the only change is TRUE to FALSE.

See how it goes.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Tue Oct 28, 2008 4:20 am
Post subject: Re: Install.php Wants to Download no Run

No Success.

I have recently installed Linux on a Virtual PC tested the files and create a local webspace and it worked fine there, I also uploaded the files from linux and still the same problem.

I haven't ruled out hosts yet even thought some peopel can see it.

As I said when I install with fantastico it works fine, but the version is older they have for some reason.

So I end up trying to upgrade and run into this issue.


I would be happy to have someone look at the webspace to take a look.


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
rlgura
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Mar 27, 2006
Posts: 1146
Location: Cleveland, OH USA
PostPosted: Tue Oct 28, 2008 6:00 am
Post subject: Re: Install.php Wants to Download no Run

what ftp program are you using?
I access index.php and get the expected "you must install DF first..."
When I try to access install.php, I get a bunch of gibberish like the file is corrupted.

_________________
Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Tue Oct 28, 2008 8:31 am
Post subject: Re: Install.php Wants to Download no Run

install.php headers wrote:
Content-Encoding: , gzip, gzip
in install php add after <?php
Code::
ob_end_clean();


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
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Tue Oct 28, 2008 2:55 pm
Post subject: Re: Install.php Wants to Download no Run

The index page works fine, when you go to the install in firefox it will show you 'jiberish', that is the sane problem as wanting to download the file.

I use FileZilla.

Also added that, again still the same problem.

My host is just as lost as me at this point, I have deleted recreated the subdomain, worked on all major OS, tryed various other methods.


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
WebSiteGuru
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Jun 09, 2005
Posts: 2318

PostPosted: Tue Oct 28, 2008 4:15 pm
Post subject: Re: Install.php Wants to Download no Run

FileZilla should be fine. I used it myself.

Did you clear your cache folder after you re-uploaded the install.php? And also clear your browser cache.

_________________
Lead Theme Designer - WebSiteGuru Designs

WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Tue Oct 28, 2008 4:34 pm
Post subject: Re: Install.php Wants to Download no Run

Response headers
Code::
Date: Tue, 28 Oct 2008 16:32:28 GMT
Server: Apache
X-Powered-By: Dragonfly CMS using PHP engine
Content-Encoding: , gzip, gzip
Cache-Control: no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform
Expires: Tue, 28 Oct 2008 16:32:28 GMT
Vary: User-Agent,Accept-Encoding
Pragma: no-cache
Content-Type: text/html; charset=utf-8
X-Cache: MISS from demil1.byetcluster.com
X-Cache-Lookup: MISS from demil1.byetcluster.com:80
Via: 1.1 demil1.byetcluster.com:80 (squid/2.7.STABLE5)
Connection: close

200 OK

As you can see the "Content-Encoding" header is screwed.

Use:
Code::
<?php
ob_end_clean();
header('Content-Encoding:');

And see what happens


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
chriscisco
Newbie
Newbie

Offline Offline
Joined: Jan 10, 2008
Posts: 19
Location: Canada
PostPosted: Tue Oct 28, 2008 7:07 pm
Post subject: Re: Install.php Wants to Download no Run

WebSiteGuru wrote:
FileZilla should be fine. I used it myself.

Did you clear your cache folder after you re-uploaded the install.php? And also clear your browser cache.

Done and done before and after testing the code DJ had me add.

Btw, that second part didn't work either.

What are my other options because while I know programming, and I am cluless outside of copying and pasting php.

I have downloaded and redownloaded the files, uploaded the zip file itsself so it is not unzipped on the computer.

Would maybe trying a different compression type help?


chriscisco's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.2.10 (Unix)/MySql 5.0.51/PHP 5.2.6/Dragonfly 2.1.0
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



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
You cannot attach files in this forum
You can download files in this forum


 
   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.

read more...

   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