Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Downloads remaining goes to 3 from 5 after one click

    I'm selling digital products since 2009. Never had this issue. Recently I changed the theme and updated to v1.5.4. Today someone had problems with one of the downloads and received a message about page doesn't exist. I updated the order over and over until I investigated the case. All my downloads are set up to 7 days and 5 attempts. My recent orders have 3 remaining downloads (that means the customers downloaded once). I also experimented with a fake account and after 2 clicks (downloads), the order expires!
    Please help.
    Really appreciated!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,436
    Plugin Contributions
    279

    Default Re: Downloads remaining goes to 3 from 5 after one click

    With theme are you using? Where did you download it from?
    What other Addons are on your site?
    Please supply a detailed list of ALL the ways in which your site is different from an original fresh install of v1.5.4.
    Whats the URL?
    .

    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.

  3. #3
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Downloads remaining goes to 3 from 5 after one click

    Theme used: Carlisle Fresh from Picaflor Azul
    Addons: Zen Lightbox and Ultimate SEO
    Nothing special, I did a regular update (re-install the zen cart with DB update and then I added the theme and those 2 addons).
    Url: www.arc4studio.com/store

  4. #4
    Join Date
    Jan 2004
    Posts
    66,436
    Plugin Contributions
    279

    Default Re: Downloads remaining goes to 3 from 5 after one click

    PPP version?
    mysql version?
    hosting company?

    i can't duplicate the problem here, so trying to figure out what's different on your site vs mine.
    I asked ajeh about it and she said she can't duplicate it either.
    .

    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. #5
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Downloads remaining goes to 3 from 5 after one click

    PHP Version: 5.4.40 (Zend: 2.4.0)
    PHP Memory Limit: 128M
    Database: MySQL 5.5.42-37.1-log
    bluehost

  6. #6
    Join Date
    Jul 2012
    Posts
    16,812
    Plugin Contributions
    17

    Default Re: Downloads remaining goes to 3 from 5 after one click

    Fact that store is in a subdirectory, possible an issue with an .htaccess file? Have seen the same decrement of downloads by one when a download fails due to possibly incorrect temp folder permissions (777 applied when host only accepts 755) or other follow-on errors occur.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Downloads remaining goes to 3 from 5 after one click

    Found it! Thanks. The unusual behavior was caused by the missing /pub directory from my installation. It is something that I deliberated removed after install (don't ask me why :)). Now it seems to be ok. Thanks again.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,812
    Plugin Contributions
    17

    Default Re: Downloads remaining goes to 3 from 5 after one click

    Quote Originally Posted by verzea View Post
    Found it! Thanks. The unusual behavior was caused by the missing /pub directory from my installation. It is something that I deliberated removed after install (don't ask me why :)). Now it seems to be ok. Thanks again.
    To not walk away with a potential issue remaining, did the restoration of the directory include the files provided from a default install?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Downloads remaining goes to 3 from 5 after one click

    initially I restored the old directory from an old backup, then I compared the htaccess files with the one from the new zen v1.4.5 installation and I replaced it to the directory. Now the permissions for the index and htaccess are 0644. Am I missing something? Thanks for this support.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,812
    Plugin Contributions
    17

    Default Re: Downloads remaining goes to 3 from 5 after one click

    Quote Originally Posted by verzea View Post
    initially I restored the old directory from an old backup, then I compared the htaccess files with the one from the new zen v1.4.5 installation and I replaced it to the directory. Now the permissions for the index and htaccess are 0644. Am I missing something? Thanks for this support.
    Quote Originally Posted by mc12345678 View Post
    Fact that store is in a subdirectory, possible an issue with an .htaccess file? Have seen the same decrement of downloads by one when a download fails due to possibly incorrect temp folder permissions (777 applied when host only accepts 755) or other follow-on errors occur.
    The 777 or 755 permissions I was referring to are the permissions for the temporary directory that is created when downloading by the use of the redirect link (sorry incorrect term for this, but I'm drawing a blank at the moment and haven't gone to do the "homework" to use the proper term). Those permissions are not applicable to the file(s).

    Suggest reviewing the after installation file securement instructions available in the documents for installing ZC and also available in the FAQ section of this site.

    The reason I had also made the inquiry about file restoration is that those two files provide a level of security that would not exist if only the folder were recreated. Some (and considering those that might find this in the future) may think that all is necessary is to restore the folder and be done. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. ---***--- downloads remaining
    By jynx3004 in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 2 Jun 2011, 04:44 PM
  2. Cannot process orders/payments after one-click upgrade to 1.3.9b
    By rheroux in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 18 May 2010, 12:31 AM
  3. One click to go from thumbnail to enlarged image
    By pharry in forum General Questions
    Replies: 2
    Last Post: 18 Jun 2009, 09:42 PM
  4. just Sales Message Goes Here remaining
    By jdsmith8 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2006, 01:01 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