Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Mar 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Trouble Moving Cart to Sub Domain - SOLVED

    Thanks for your prompt responses and help.
    I found another resource which gave me a clue on how to solve this.
    I made a fresh installation, saved the two new configure files, then deleted the installation.
    I copied the relevant parts of the new config files containing the correct paths to the old config files.

    For reference here are the updated paths (maybe this will help solve this for someone else in the future);

    define('HTTP_SERVER', 'http://www.shop.mydomain.com');
    define('HTTPS_SERVER', 'https://www.shop.mydomain.com');
    define('HTTP_CATALOG_SERVER', 'http://www.shop.mydomain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.shop.mydomain.com');

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

    define('DIR_FS_CATALOG', '/path1/path2/path3/shop/');
    define('DIR_FS_SQL_CACHE', '/path1/path2/path3/shop/cache');


    This now works :) except for one minor unknown issue...
    I had a new admin theme set up but the admin section has somehow reverted back to the original zencart admin theme, even though all the files are the original ones in the new location.

    Anyway, I'll figure it our or re-instal the admin theme.

    Thanks again for your help.

  2. #12
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Trouble Moving Cart to Sub Domain - SOLVED

    Quote Originally Posted by webgear_aus View Post

    define('DIR_WS_CATALOG', '//');
    define('DIR_WS_HTTPS_CATALOG', '//');
    Part of your problem is the double // (in red) remove one so it looks like this


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

  3. #13
    Join Date
    Mar 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Trouble Moving Cart to Sub Domain - SOLVED

    Thanks for your assistance.
    Actually it works with both // (this was the correct coding taken from the config file of the new install)
    Case is closed.
    The posted code in thread #11 works :)

  4. #14
    Join Date
    Sep 2012
    Posts
    31
    Plugin Contributions
    0

    Default Re: Trouble Moving Cart to Root Folder

    Quote Originally Posted by stevesh View Post
    Since the standard Classic template doesn't include that link, yours has been hard-coded in your template to point to the old URL. Use the Admin - Tools - Developers Tool Kit to search for vinyl-stickers.
    Thanks! That fixed the issue I was having. Looks like I'm all set. Thank you very much.

  5. #15
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,140
    Plugin Contributions
    11

    Default Re: Trouble Moving Cart to Sub Domain - SOLVED

    Quote Originally Posted by webgear_aus View Post
    Thanks for your assistance.
    Actually it works with both // (this was the correct coding taken from the config file of the new install)
    Case is closed.
    The posted code in thread #11 works :)
    The case is NOT closed as // is NOT a standard designation and may ruin SE results. You need to find out why it needs // to work and fix it.

  6. #16
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Trouble Moving Cart to Sub Domain - SOLVED

    Quote Originally Posted by webgear_aus View Post
    Actually it works with both // (this was the correct coding taken from the config file of the new install)
    Case is closed.
    The posted code in thread #11 works :)
    Sorry, but case not closed.

    The double slashes // are incorrect, and although 99.9% of the time this will not cause any problems or issues, it is the other .1% you need to worry about.

    Is it worth arguing the point when reverting back to a single slash will mitigate the issue(s) that will otherwise be very difficult to debug?

    We are urging you to do this for our sanity, else you'll be back here in the not so distant future asking why some customers are reporting random 'page not found' errors, but by that time, this thread will be long forgotten about and we will probably end up asking you all sorts of unrelated questions before we finally work our way back to this cause.

    We won't be impressed.

    Cheers
    Rod

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 23
    Last Post: 8 Oct 2014, 05:32 AM
  2. Moving upgrade to root folder
    By peedeefish in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 13 Jan 2011, 02:48 AM
  3. Problem moving folder from sub-root to root
    By andycowboy in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Jul 2009, 02:15 AM
  4. Moving Zen Cart to root folder
    By trialsmom in forum General Questions
    Replies: 2
    Last Post: 2 Oct 2008, 10:12 PM
  5. Moving Zen Cart to my root folder
    By apotterdd in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 5 Sep 2008, 04:30 AM

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