Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default All downloadable files are showing as invalid

    Hi,

    I have looked through other threads on this issue and none of what has been suggested has worked for me.

    Here's the server information to start off with:
    Server OS: Linux 2.6.22.10-NETSOL
    PHP Version: 5.2.6 (Zend: 2.2.0)
    PHP Memory Limit: 16M
    Database: MySQL 5.0.75
    HTTP Server: Apache/2.2.8 (Unix)
    PHP Safe Mode: Off

    The store I'm working on has downloadable .mp3 music files and zipped album files. The first batch of products were added several months ago and the products are priced by attributes. Files were uploaded to the download folder before adding the attributes and the filenames showed "green" valid file names when I added the files to the attribute section back then.

    I am now adding new products and all (.mp3s and .zip files) are showing up as invalid "red" in the attributes section. These new files were uploaded into the download folder before I began adding the attributes to the products.

    I have tried turning redirect off, streaming on, and so forth. I have tried deleting a smaller file in the download folder and then re-uploading it. Still shows as invalid. I've made sure the download directory permissions are set at 755 and even tried 777 and individual files set at 644.

    I am now in the process of contacting the host about any server changes such as upgrades to php or the database since last year. In the meantime, I could really use some other suggestions or ideas to fix this.

    The file names are something like 01_Name_of_Music_File.mp3 or Name_of_Album.zip This naming convention was working before, so I don't think it is the names of the files.

    Please help.

    Webmiss

  2. #2
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: All downloadable files are showing as invalid

    Thought I'd update this inquiry with the contents of the config file, just in case I missed something in it:

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.airdrivenmusic.com/store');
    define('HTTPS_SERVER', 'https://www.airdrivenmusic.com/store');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    The complete path is taken out for privacy

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    Database connection is not included with this post.

    Webmiss

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: All downloadable files are showing as invalid

    Need a few changes:
    define('HTTP_SERVER', 'http://www.airdrivenmusic.com/store');
    define('HTTPS_SERVER', 'https://www.airdrivenmusic.com/store');
    should be:
    define('HTTP_SERVER', 'http://www.airdrivenmusic.com');
    define('HTTPS_SERVER', 'https://www.airdrivenmusic.com');
    These:
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    should be:
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    see if this helps, before we look at other issues ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: All downloadable files are showing as invalid

    Hi Ajeh,

    I made the changes as you suggested. Then looked into the downloads manager. The files are still showing as invalid.

    Any other ideas?

    Thanks much for your reply.

    BTW, my client is using Network Solutions as their host.

    Corinne

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: All downloadable files are showing as invalid

    You should have your download files loaded to:
    /download

    make sure you are not using spaces or special characters in the filenames ...

    Do you have an example of what the filename is on one of these that are failing?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: All downloadable files are showing as invalid

    All music files for download were uploaded to the download folder. The file names look something like the following:

    01_Waiting_For_You.mp3
    The_Kenny_Johnston_Band.zip
    05_Put_Your_Trust.mp3

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: All downloadable files are showing as invalid

    And if you edit the attribute for:
    The_Kenny_Johnston_Band.zip

    you see that exact thing on the filename field?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: All downloadable files are showing as invalid

    Yes, it is showing the filename as you see it.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: All downloadable files are showing as invalid

    Out of curiosity ...

    When you fixed the configure.php for the catalog ... did you fix the configure.php for the admin in the:
    /admin/includes/configure.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Feb 2006
    Posts
    149
    Plugin Contributions
    1

    Default Re: All downloadable files are showing as invalid

    Oops! Forgot to do that. Just did it and uploaded the admin/includes/configure.php into that directory. Logged in and checked the downloads manager. All files are still "red" invalid.

    What next?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Why are my downloadable files not showing?
    By huntleybill in forum PayPal Express Checkout support
    Replies: 33
    Last Post: 19 Nov 2011, 06:17 PM
  2. Need help all files after download are saying invalid files
    By CHSNAC in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 3 Aug 2010, 07:23 AM
  3. Is there a way to set all downloaded files to Downloadable status instead of Pending?
    By getsome in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 22 Jun 2009, 04:02 AM
  4. Newly downloaded files are invalid
    By genetic in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 15 Feb 2008, 10:00 PM

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