Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Aug 2005
    Posts
    169
    Plugin Contributions
    0

    red flag Cart stopped working

    http://www.communicationscripts.com/files/

    It was working and stopped working when I enabled SSL. When I disabled SSL, the store would not display. Any ideas?

    Below are the config files...

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

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

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

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

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


    ***ADMIN***

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    /*
    * URL's for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://www.communicationscripts.com/');
    define('HTTPS_CATALOG_SERVER', 'https://www.communicationscripts.com/');

    // secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', 'files/admin/');
    define('DIR_WS_CATALOG', 'files/');
    define('DIR_WS_HTTPS_ADMIN', 'files/admin/');
    define('DIR_WS_HTTPS_CATALOG', 'files/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * 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_ADMIN', 'files/admin/');
    define('DIR_FS_CATALOG', 'files/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    Last edited by asterix; 20 Mar 2008 at 09:03 PM.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Cart stopped working

    define('DIR_WS_CATALOG', 'files/');
    define('DIR_WS_HTTPS_CATALOG', 'files/');


    needs to be

    define('DIR_WS_CATALOG', '/files/');
    define('DIR_WS_HTTPS_CATALOG', '/files/');

    and you need to do the same for ALL the paths where file or admin is named

  3. #3
    Join Date
    Aug 2005
    Posts
    169
    Plugin Contributions
    0

    Default Re: Cart stopped working

    Changed but it's still the same... Note: I had it that way before and tried a few settings when the cart stopped working.

    What else could it be?

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Cart stopped working

    its not working because you have paths in the configure.php file that are NOT correct

    define('DIR_FS_CATALOG', 'files/'); also needs to be changed
    to
    define('DIR_FS_CATALOG', '/files/');


    admin config

    define('DIR_WS_ADMIN', 'files/admin/');
    define('DIR_WS_CATALOG', 'files/');
    define('DIR_WS_HTTPS_ADMIN', 'files/admin/');
    define('DIR_WS_HTTPS_CATALOG', 'files/');

    to

    define('DIR_WS_ADMIN', '/files/admin/');
    define('DIR_WS_CATALOG', '/files/');
    define('DIR_WS_HTTPS_ADMIN', '/files/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/files/');



    and

    define('DIR_FS_ADMIN', 'files/admin/');
    define('DIR_FS_CATALOG', 'files/');


    to

    define('DIR_FS_ADMIN', '/files/admin/');
    define('DIR_FS_CATALOG', '/files/');

  5. #5
    Join Date
    Dec 2007
    Posts
    33
    Plugin Contributions
    0

    Default Re: Cart stopped working

    HI
    My cart did not stop working, but my media player only plays sometimes. and sometimes not, usually on the same tracks. All links work checked,
    upload via ftp, seams ok,
    This is odd because the same tracks that work one day don't work on another day.

    Does any one know what the problem can be...
    Everything with going great untill now

    my store sells music downloadable....

    I need my media player to be reliable... please what has gone wrong....

    totalsoundrecording.com/zenstore.

    compare little ray of sunshine or billy a ######## with other tracks on site..


    big thankyou to anyone who can solve this problem

  6. #6
    Join Date
    Aug 2005
    Posts
    169
    Plugin Contributions
    0

    Default Re: Cart stopped working

    I'm sorry, I was not clear. I've posted the config files below for you to see they're in order. Really confusing since the host has not updated that server lately...

    *** ADMIN/INCLUDES ***

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    /*
    * URL's for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');
    define('HTTP_CATALOG_SERVER', 'http://localhost');
    define('HTTPS_CATALOG_SERVER', 'https://localhost');

    // secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/files/admin/');
    define('DIR_WS_CATALOG', '/files/');
    define('DIR_WS_HTTPS_ADMIN', '/files/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/files/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * 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_ADMIN', '/files/admin/');
    define('DIR_FS_CATALOG', '/files/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    *** INCLUDES ***
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');

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

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

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

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

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Cart stopped working

    Also try this


    // HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    define('HTTP_SERVER', 'http://localhost');
    define('HTTPS_SERVER', 'https://localhost');



    // HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    define('HTTP_SERVER', 'http://www.communicationscripts.com');
    define('HTTPS_SERVER', 'https://www.communicationscripts.com');


    It looks like you put the www.communicationscripts.com in the sxample section

  8. #8
    Join Date
    Aug 2005
    Posts
    169
    Plugin Contributions
    0

    Default Re: Cart stopped working

    Tried that earlier and same result. I don't understand how changing the SSL setting in teh config files from false to true can cause this problem...

  9. #9
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Cart stopped working

    well I can tell you for certain that you need to fix all of the things I just described,

    there was more changed than ssl from false to true,

    you have local host in the define where your domainame should be

    and the other changes were path changes,

  10. #10
    Join Date
    Aug 2005
    Posts
    169
    Plugin Contributions
    0

    Default Re: Cart stopped working

    I'll attach the files again. I have not changed any other file other than the 2 config files to enable SSL for the store part (not admin).

    Are you as confused as I am? 8|

    *** ADMIN/INCLUDES ***
    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.communicationscripts.com/
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.communicationscripts.com/
    /*
    * URL's for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.communicationscripts.com');
    define('HTTPS_SERVER', 'https://www.communicationscripts.com');
    define('HTTP_CATALOG_SERVER', 'http://www.communicationscripts.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.communicationscripts.com');

    // secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', '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_ADMIN', '/files/admin/');
    define('DIR_WS_CATALOG', '/files/');
    define('DIR_WS_HTTPS_ADMIN', '/files/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/files/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * 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_ADMIN', '/files/admin/');
    define('DIR_FS_CATALOG', '/files/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    *** INCLUDES ***

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

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

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

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

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

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v153 HELP!!!!! my shopping cart and checkout have stopped working
    By ultimateautovibes in forum Basic Configuration
    Replies: 4
    Last Post: 23 Nov 2014, 10:36 PM
  2. Shopping cart stopped working please help
    By adam123 in forum General Questions
    Replies: 1
    Last Post: 1 Nov 2011, 11:29 AM
  3. My zen cart stopped working
    By cvl_ink in forum General Questions
    Replies: 2
    Last Post: 22 Oct 2008, 04:54 AM
  4. Cart Quantity Update Button Stopped Working
    By Sweet ZouZou in forum General Questions
    Replies: 4
    Last Post: 14 Jan 2008, 04:05 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