Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2010
    Posts
    32
    Plugin Contributions
    0

    Default Download starts instead of shop showing?!?!?!?

    Hi guys

    I have encountered a really weird thing:

    I have set up a ZC 1.3.9 shop which runs well until I try to upload a new .htaccess file:

    First of all, I don't see the .htaccess file on the FTP server, but a colleague of mine sees it?!? (I am using FileZilla)

    And if I upload a new default .htaccess file to the server (no changes to the default .htaccess) the shop just stops working. The shop will just not show up in the browser anymore but a download of the file index.php to my local download folder starts instead. My colleague is no no longer able to see the shop too because this strange download starts instead.

    Have you ever seen that strange behaviour? I am probably not the only one with this strange experience, am I?

    Thanks for sharing!
    Flix

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Download starts instead of shop showing?!?!?!?

    Post the contents of the htaccess here

    And your php, mysql versions
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: Download starts instead of shop showing?!?!?!?

    Ups... I checked again and saw that the following extra lines are in the .htaccess:

    Action php /cgi-php52/php
    AddHandler php52 .php

    They are telling one of my host servers make to sure that PHP 5.2 cgi is used for the page but they are not required on another host I am using. On the other host, they are not just 'not required' but indeed provoke the strange download behaviour!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Download starts instead of shop showing?!?!?!?

    On the other host, they are not just 'not required' but indeed provoke the strange download behaviour!
    So where you are having the issue, what is the contents
    Not a snippet the full contents
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Download starts instead of shop showing?!?!?!?

    The problem would appear to be best directed to your hosting company.
    20 years a Zencart User

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Download starts instead of shop showing?!?!?!?

    Ups... I checked again and saw that the following extra lines are in the .htaccess:

    Action php /cgi-php52/php
    AddHandler php52 .php
    The "download" you are experiencing normally occurs when PHP is not installed on a server, but in this case it is being caused by those lines in the .htaccess file. Remove the lines and the "strange behaviour" should cease.

    Vger

 

 

Similar Threads

  1. Shop by purpose instead of category?
    By notageek in forum General Questions
    Replies: 3
    Last Post: 5 Sep 2011, 05:35 PM
  2. Downloadable videos open in WMP (instead of download)
    By speedcreed in forum General Questions
    Replies: 5
    Last Post: 16 Mar 2009, 04:45 PM
  3. How to showing total sales price instead of showing incremental for attributes
    By psuskeels in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Nov 2006, 06:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR