Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Installed tries to download file isntead of run it

Installed tries to download file isntead of run it

Locked

Started by deuce on 5 Apr 2010, 5:42 PM · Views: 988

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
5 Apr 2010, 5:42 PM
#1
deuce avatar

deuce

New Zenner

Join Date:
Apr 2010
Posts:
5
Plugin Contributions:
0

Post #1 by deuce

So, I just downloaded whatever the homepage says is the most recent version as of 4/5/10.
I am running this locally until I get it all figured out, as I am new to Zen Cart, but not to coding.

I would love to try this software out, but it seems that the installer does not work - perhaps someone can point me in the right direction.

When I run the installer I can agree to the TOS/GPL, but then the installer tries to have me download index.php instead of going to the next part of the installer. You can see the screenshot at http://grab.by/3y0W

If anyone can point in what could be considered the correct direction, I would appreciate it!

Thanks

5 Apr 2010, 5:46 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Look for a htacess file on your server that probably has a defunct handler statement

Zen-Venom Get Bitten

5 Apr 2010, 5:48 PM
#3
deuce avatar

deuce

New Zenner

Join Date:
Apr 2010
Posts:
5
Plugin Contributions:
0

Post #3 by deuce

If that were the case, then it shouldn't even load the intial Welcome and License pages.
My htaccess in zc_install is as follows

$Id: .htaccess 3781 2006-06-16 04:33:28Z drbyte $

The following disables mod_security in apache, which may be necessary during installation

This file should only be used INSIDE the zc_install folder. Using the following directive elsewhere can

cause security problems on your site. Talk to your webhost if you are concerned about its effects.

<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>

If for some reason the above doesn't produce the desired results, simply remove the # from the

following lines:

#SecFilterEngine off
#SecFilterScanPOST Off

There is no .htaccess in the root of the site.

5 Apr 2010, 5:52 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

Post your server details

Zen-Venom Get Bitten

5 Apr 2010, 5:56 PM
#5
deuce avatar

deuce

New Zenner

Join Date:
Apr 2010
Posts:
5
Plugin Contributions:
0

Post #5 by deuce

It's an Apache/MySQL server running PHP5 on Mac OSX Snow Leopard. Basic LAMP stack...
I've installed and tested hundreds of other sites in both PHP and Ruby on Rails, so it's not a server thing, it's site/application specific.

5 Apr 2010, 6:00 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

You're using PHP 5.3, without the PHP 5.3 patch for v1.3.8a, which can be found here: http://www.zen-cart.com/forum/showthread.php?t=140960

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Apr 2010, 6:00 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #7 by kobra

it's not a server thing, it's site/application specific.
Thousands of installs on other servers without your issues

Ditto DrByte as you did not specify the exact php release

Zen-Venom Get Bitten

5 Apr 2010, 6:08 PM
#8
deuce avatar

deuce

New Zenner

Join Date:
Apr 2010
Posts:
5
Plugin Contributions:
0

Post #8 by deuce

DrByte:

You're using PHP 5.3, without the PHP 5.3 patch for v1.3.8a, which can be found here: http://www.zen-cart.com/forum/showthread.php?t=140960

Excellent, thank you very much! Worked perfectly!!