Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Wrong Download Link Sent to Customer

    Hi,

    I'm just setting this up, and tried testing a purchase since it's a download item. Everything is fine, except the link it tries to take the customer to for downloading adds an extra "zencart" to the path name:

    http://ourlittleplace.com/zencart/ze...q/precious.mp3

    (Notice the 2 zencart/zencart).

    How - or where - do I change this so it will redirect people to the right download page? If I manually remove one of the "zencart"s from the link, it works...

    Thanks so much for any help!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Wrong Download Link Sent to Customer

    Please post your /includes/configure.php file contents without the password.
    .

    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
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Wrong Download Link Sent to Customer

    Here it is: - (THANKS!!)

    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    define('HTTP_SERVER', 'http://ourlittleplace.com/');
    // Secure webserver: eg, https://localhost - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://ourlittleplace.com/');
    // secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // 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', 'zencart/');
    define('DIR_WS_HTTPS_CATALOG', 'zencart/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    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_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
    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/
    define('DIR_FS_CATALOG', '/usr/share/web/ourplace/webshare/zencart/');

    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/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', ':/usr/share/web/ourplace/mysql/socket'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '******');
    define('DB_SERVER_PASSWORD', '****');
    define('DB_DATABASE', '******');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'database');
    define('DIR_FS_SQL_CACHE', '/usr/share/web/ourplace/webshare/zencart/cache');

    ?>

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Wrong Download Link Sent to Customer

    That looks okay, and when set up that way, shouldn't produce double folder-names in the URL like you saw.

    What version of Zen Cart are you using?
    What addons do you have installed?
    .

    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
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Wrong Download Link Sent to Customer

    I'm not sure - I installed it from my web hosting company's "Netconsole". How do I find out what version it is? When I go to the admin home page I get this note:

    New Version Available v1.3.8 :: New Release with PayPal Website Payments Pro support

    So I'm thinking it's not the newest...

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Wrong Download Link Sent to Customer

    1. Right underneath that "new version available" message, on the navigation bar, there's a link that says "Version" ... right beside the Logoff link.
    2. Or, you can also get version information if you click on Admin->Tools->Server Info.
    3. Or, on any admin page other than the home page, you can see some basic version info in the footer.

    Try the first option.
    .

    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.

  7. #7
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Wrong Download Link Sent to Customer

    Boy, do I feel silly - didn't even see that! Okay - it's 1.3.7.

  8. #8
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Wrong Download Link Sent to Customer

    Wasn't sure what to do so I tried upgrading to 1.3.8... Now when trying to access the admin console I get:

    1146 Table 'zencart_webshare_zencart.zen_project_version' doesn't exist
    in:
    [select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    I don't know what to do at this point! Whether to delete everything and start over... whether to try to get the old 1.3.7 working right... or what! Any help would sure be appreciated!

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Wrong Download Link Sent to Customer

    Quote Originally Posted by jackibar View Post
    Table 'xxxxx.zen_project_version' doesn't exist
    That means that it cannot find a table named zen_project_version in the specified database.
    Did you change prefixes for some reason? ie: DB_PREFIX set to 'zen_' in the new site vs perhaps blank (preferred) in the old site?
    .

    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.

  10. #10
    Join Date
    Mar 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: Wrong Download Link Sent to Customer

    I didn't *tell* it to change anything - just used the same database and chose "Upgrade Database" from 1.3.7 to 1.3.8 and let it do whatever it did... How can I fix this?!! I'm hoping upgrading is going to fix the bad download link generation but I'm doing all this without knowing for sure it's going to fix my problem!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Download sent MANUALLY - customer or not
    By richferguson in forum Managing Customers and Orders
    Replies: 0
    Last Post: 24 Jan 2010, 05:44 PM
  2. Customer Link to Download product
    By kdgjevre in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Sep 2008, 01:11 AM
  3. Order emaisl being sent to wrong customer
    By sanguisdesign in forum General Questions
    Replies: 6
    Last Post: 23 Aug 2006, 10:12 PM
  4. Download Link not sent
    By schutzy in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 13 Aug 2006, 02:19 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