Results 1 to 10 of 2247

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    hello

    thanks for this contribution. as far as I understand I must install an addon domain or parked domain to use this module. but I would like to use this module with seperate ssl certificates (that would mean I should add seperate ip addresses for each domain, if I'm not wrong). Is it possible. or have you got a solution for this situation?

    In addition, I suppose this module should work with different servers via putting all files to each servers. but it's going to be hard to update files for per server.

    Any comments about installing different ssl certificates for each domain are wellcome. (A possible solution might be using a root domain as secure server but it may seems unprofessional to customers)

  2. #2
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    nakins,

    your code for "www.yoursite.com_congfig.php" should be

    PHP Code:
    $template_dir "your_site_template_directory";
    define('SITE_NAME','Your Site Name'); 
    i.e. mine is


    PHP Code:
    $template_dir "2fast_shoes";
    define('SITE_NAME','Shoes'); 

  3. #3
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by KThompson View Post
    nakins,

    your code for "www.yoursite.com_congfig.php" should be

    PHP Code:
    $template_dir "your_site_template_directory";
    define('SITE_NAME','Your Site Name'); 
    i.e. mine is


    PHP Code:
    $template_dir "2fast_shoes";
    define('SITE_NAME','Shoes'); 
    I had changed that to:

    <?php
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    $template_dir = "site1";
    define('SITE_NAME','site1');
    ?>

    And used site2 for the second config file. I'm still getting the error

    1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'
    in:
    [select cd.categories_name from STORE_categories c, STORE_categories_description cd where c.parent_id = CATEGORIES_ROOT and c.categories_id = cd.categories_id and cd.language_id='1' and c.categories_status=1]

    Where and how is CATEGORIES_ROOT defined?

    Thanks

  4. #4
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    add this to your www.yoursite.com_config.php

    PHP Code:
    define('CATEGORIES_ROOT','1'); //root categories is 1 for this site 
    change "1" to whatever category number you need to show contents of in your category box. 0 will be all categories

    hope that helps

  5. #5
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Ok, this is still not working.

    I started over by deleting my cart dir and I did a drop tables. I uploaded zen cart into /cart. I ran the install and input all the info requested. I renamed the install dir and set the permissions in the configuration.php to 444. I checked
    to see if it worked in the browser, and it did.

    I uploaded all the ADD files and all the MODIFIED files. I ran the ALTER TABLES query. I added the INCLUDE ONCE line to that file. I created two template dirs in cart/includes/templates. These were 'main' and 'site2', along with 'classic' and 'template_default'. I changed the name in the template_info files to main and site2 respectively. I created two config_site files.

    www.mysite.com_config.php
    Code:
    <?php
        define('DIR_WS_CATALOG', '/');
    	define('DIR_WS_HTTPS_CATALOG', '/');
    	$template_dir = "main";
    	define('SITE_NAME','main');
    	define('CATEGORIES_ROOT','1'); //root categories is 1 for this site
    ?>
    And another for mysite2.

    I added main-site2 to the cats. I tried that and <?--main-site2-->. the last one never could be entered or show up correctly in on the admin page.

    I'm still getting this error:

    1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'
    in:
    [select cd.categories_name from STORE_categories c, STORE_categories_description cd where c.parent_id = CATEGORIES_ROOT and c.categories_id = cd.categories_id and cd.language_id='1' and c.categories_status=1]

    This isn't fun

  6. #6
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    try putting 0 instead of 1 for

    define('CATEGORIES_ROOT','1'); //root categories is 1 for this site.

    I'm lost if that doesn't work i'll try and make some better instructions for you

  7. #7
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Nope, this didn't work either. Could this be a php4/5 issue?

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. WorldPay Module version 2.0 - Support thread
    By philip_clarke in forum Addon Payment Modules
    Replies: 729
    Last Post: 4 Nov 2017, 08:23 AM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 PM

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