Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Jul 2015
    Location
    Clarksburg
    Posts
    29
    Plugin Contributions
    0

    Default Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    Shopping cart upgraded from 1.51 to 1.54, today dedicated SSL bought and installed. Set Enable SSL to be "true" for the two configure.php. Tested https://xxxx.com and it worked.

    Then an attempt to check out is performed and it turned out that Admin Works OK but store does NOT work for checkout.

    The symptom is:
    Login to Admin Ok via Firefox with URL bar status showing https://xxxx.com/admin/index.php
    For storefront, click My Account and able to login only with http://xxxx.com/index.php?main_page=login rather than https://xxxx.com/index.php?main_page=login. For previous version 1.51, whenever click My Account, the URL stats will automatically tun to "https://xxxx.com/..."

    Then try to check out without https://xxxx.com/......, PayPal payment module fails to show up though PayPal is configured well and turned on.

    The even odd thing is from Admin>Who's Online, the URL during checkout is always like /ajax.php?act=ajaxPayment&method=setNoscriptCookie

    Any suggestion?
    Last edited by Ajeh; 27 Aug 2015 at 12:39 AM. Reason: Turned off adult site links - better to use your_domain.com

  2. #2
    Join Date
    Jul 2015
    Location
    Clarksburg
    Posts
    29
    Plugin Contributions
    0

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    Just a quick update that i found a ajax.php file added to root directory by itself. Also there is a a text file (XXXXXXXXXXXXXXXXXXXXXX7005569602A81
    comodoca.com) added to root directory.

    The problem is still there which is "Unable to switch to the HTTPS URL during Checkout " while Admin login page is OK (redirect to https://...).

    I searched the forum about failure of SSL. Most of the reasons is from includes/configure.php. I triple checked it is alright.

    Any suggestions?
    Last edited by SignaGen2; 26 Aug 2015 at 11:32 PM.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    So can't help much without the "hidden" URL, but 1) try using the default ZC template, 2) what actually happens when trying to login with https? What is meant by worked one way in 1.5.1 if the certificate was just purchased?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    For storefront, click My Account and able to login only with http
    Post the contents of your includes/configure.php file - obscuring any sensitive information
    Wrap in code tags available in the tool bar as #

    A link to your site would be helpful also
    you can post it like
    www.zen-cart dot com
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2015
    Location
    Clarksburg
    Posts
    29
    Plugin Contributions
    0

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    <?php
    /**
    * @package Configuration Settings circa 1.5.0
    * @copyright Copyright 2003-2011 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2012-03-05 01:38:44
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // 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://xxxxx.com');
    define('HTTPS_SERVER', 'https://xxxxx.com');

    // 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/
    define('DIR_FS_CATALOG', '/home/xxxxxx/public_html/');

    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', 'zen_');
    define('DB_CHARSET', 'latin1');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxx');
    define('DB_DATABASE', 'xxxxxxx');

    // 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', 'none');
    define('DIR_FS_SQL_CACHE', '/home/signag5/public_html/cache');

    // EOF

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    What is your site url??

    Did you post the contents from a local copy or a fresh download from your server?
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    Also, noticed some obscuring happening:
    Code:
    define('DIR_FS_CATALOG', '/home/xxxxxx/public_html/');
    But not:
    Code:
    define('DIR_FS_SQL_CACHE', '/home/signag5/public_html/cache');
    Since the first was obscured (possibly with a find and replace) shouldn't the second have as well thus indicating a discrepancy in content?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Jul 2015
    Location
    Clarksburg
    Posts
    29
    Plugin Contributions
    0

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    my site signagen.com

    the configure.php was first downloaded from server to my desktop followed by opening with notepad. Then copy and paste.

  9. #9
    Join Date
    Jul 2015
    Location
    Clarksburg
    Posts
    29
    Plugin Contributions
    0

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    To mc12345678:

    I just forgot to mask "signag5" to "xxxxxx" from define('DIR_FS_SQL_CACHE', '/home/signag5/public_html/cache');

    actually they are same with /home/signag5/public_html

  10. #10
    Join Date
    Jul 2015
    Location
    Clarksburg
    Posts
    29
    Plugin Contributions
    0

    Default Re: Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT

    To mc12345678:

    I tried to login with https. after login, it switch back to http. if i forced all https via .htaccess, then i have no way to login.

    using default template "Classic Contemporary Green" is just the same.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT work with php >5.4
    By SignaGen2 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 31 Aug 2015, 07:11 PM
  2. v151 1.5.0 to 1.5.1 Upgrade partial success, store works, admin does not
    By Lazarus_J_Manning in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 10 Jan 2014, 12:38 AM
  3. Install problem admin works but not store.
    By chrisw in forum Installing on a Linux/Unix Server
    Replies: 12
    Last Post: 9 Dec 2008, 11:37 PM
  4. Store works but not admin
    By migzam in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 7 Dec 2007, 07:07 PM
  5. Cross Sell works in admin, but not in store
    By gothstone in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 23 Mar 2007, 01:40 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR