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


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
warden Silver Supporter


Offline Joined: Dec 16, 2004 Posts: 196 Location: North Carolina
|
|
| Back to top |
|
 |
chriscisco Newbie


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
warden Silver Supporter


Offline Joined: Dec 16, 2004 Posts: 196 Location: North Carolina
|
|
| Back to top |
|
 |
chriscisco Newbie


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
warden Silver Supporter


Offline Joined: Dec 16, 2004 Posts: 196 Location: North Carolina
|
|
| Back to top |
|
 |
chriscisco Newbie


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: 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 |
|
 |
chriscisco Newbie


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
rlgura 1000+ Posts Club


Offline Joined: Mar 27, 2006 Posts: 1146 Location: Cleveland, OH USA
|
Posted: 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 |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: 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
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 |
|
 |
chriscisco Newbie


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
WebSiteGuru 1000+ Posts Club


Offline Joined: Jun 09, 2005 Posts: 2318
|
Posted: 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 |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: 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 |
|
 |
chriscisco Newbie


Offline Joined: Jan 10, 2008 Posts: 19 Location: Canada
|
Posted: 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 |
|
 |
|
|