Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Download File Page Not Found Error

    I have set up my attributes (V 1.3.0.2) with a radio button for the file.
    Made a zip file and put in the download directory (chmod 777)
    Have a green dot in the attributes
    Tried having Redirect ON and OFF
    The ORDERS_PRODUCTS_DOWNLOADS table has no directory just the file name

    I can select the file for download
    Go through Checkout
    Have a link and a download button
    both link to: index.php?main_page=download&order=5&id=1

    When I click either the link or button I get a 404 Page cannot be found error.

    Any suggestions?

  2. #2
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Default Re: Download File Page Not Found Error

    I have located the source of the issue.

    My site is not as yet "live" so I had to rework the config.php file to include

    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . '1nha/pub/');

    Where 1nha is the folder under public_html on the server.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Download File Page Not Found Error

    DIR_WS_CATALOG should already contain your 1nha reference...
    .

    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.

  4. #4
    Join Date
    Jul 2006
    Posts
    38
    Plugin Contributions
    0

    Default Re: Download File Page Not Found Error

    mine was like this...
    becuz i set the wrong file name
    well, the mistake i made was i put the whole link in "file name" instead of just the file name, for example "test.zip" instead of ".../myshop/download/test.zip"
    suppose we only need to put in "test.zip"

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Download File Page Not Found Error

    Quote Originally Posted by nailsquare
    suppose we only need to put in "test.zip"
    Yes, when setting up download files, you must only specify actual filenames. The path is assumed, based on the DIR_WS_DOWNLOAD folder.
    And if "download by redirect" is on, then DIR_WS_DOWNLOAD_PUBLIC is where customers will download the file "from" (because your server will put a copy of it there temporarily for the download).
    .

    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.

 

 

Similar Threads

  1. Download configure file not found
    By hara in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 26 Dec 2010, 09:22 PM
  2. 404 (file not found) error page returns a status of 200
    By flyingpenguin in forum General Questions
    Replies: 2
    Last Post: 30 Mar 2009, 07:48 PM
  3. Download error no matter what. (File not found)
    By solvenus in forum Setting Up Categories, Products, Attributes
    Replies: 20
    Last Post: 17 Dec 2008, 01:01 PM
  4. Error: File Not Found - (Zip file)
    By Dreameffects in forum General Questions
    Replies: 3
    Last Post: 7 May 2008, 02:45 AM

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