Page 60 of 224 FirstFirst ... 1050585960616270110160 ... LastLast
Results 591 to 600 of 2240
  1. #591
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    First Question is there any one that I can pay to set this up for me? Second - if not. When I set up the second shop it needs to connect to the data base of the first shop Right? Then I load the multi site mod in to the first site and the second.

  2. #592
    Join Date
    Apr 2008
    Location
    South Florida
    Posts
    197
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Here is how it works....

    It uses the override directories for the templates. Create a new theme or duplicate the themes you want to use. You need a config file for each site. The main sites config will use all the data from the normal Zen Cart config files and database. The second sites config will only contain the things you want different on the second site. From then on the individual theme override directory will be used for each site. You can make changes in the overrides and they will be reflected in just that site.

    I am going to be out this evening but if you need help you can call or Skype me tomorrow.

    Steve

  3. #593
    Join Date
    Mar 2005
    Posts
    372
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    1054 Unknown column 'CATEGORIES_ROOT' in 'where clause'
    in:
    [select cd.categories_name from categories c, categories_description cd where cd.categories_description LIKE '%-SITE_NAME-%' AND cd.language_id=1 AND c.parent_id = CATEGORIES_ROOT and c.categories_id = cd.categories_id and cd.language_id='1' and c.categories_status=1]

    Having trouble with this and understanding the directions about www.site1.com_config.php file name it won't save to my computer and I actually want to set it up for on my local system first and there is no www. there even if the file did save.

    Hope this is making some sense.

    C.

    I would be interested if anyone could help me set this up also.

  4. #594
    Join Date
    Apr 2008
    Location
    South Florida
    Posts
    197
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    You need to save two files (Or more if you have more multi sites) in the includes/config_sites folder. The files name should be the actual site address not including the http:// and with _config.php after it. For example http://store.example.com would be named store.example.com_config.php

    In that file you will set up whatever is different from the default site.

    In the admin under multisite tools you can select "display configuration for a new site" and it will give you the default values for the config file. Just cut and paste the entire thing into your new config and uncomment out the lines you need to change.

    The categories root problem is that you have to define what category you want the second (third, etc.) cart to start in. Go into your categories and look at the id# and use that in the config file.
    Last edited by fotofx; 31 Oct 2008 at 01:29 AM.

  5. #595
    Join Date
    Jun 2007
    Location
    Puerto Rico
    Posts
    15
    Plugin Contributions
    0

    red flag Re: MultiSite Module Support Thread

    I would like to know if there is a possibility to use the great addon using domain.com/customername and then reroute it to the main shopping cart domain.com/shopsystem?

    I do not want to use the domain method as i will have to register domain names and also ssl certificates for each customer which uses my cart....

    Any ideas?? Thank you

  6. #596
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by ajnin000 View Post
    I have since fixed my issue, I needed to add detail in my /includes/config_sites/www.site1.com_config.php files.
    Hi Ajnin - I have the same issue - could you possibly let me know what detail you needed to add?

  7. #597
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    This may sound kinda dumb but I could not find in here and I read over the install on the Multi site.

    So if I want to have 2 sites like store1.example.com and store2.example.com then I need to load zencart to both sites right? Then they both need to link to the same data base right? then I load up the files that came in the multi site download - now do I load them up to both sites or just the one that I want to be the control site? and if I want to add more sites to this later one how do I do it?

  8. #598
    Join Date
    Apr 2008
    Location
    South Florida
    Posts
    197
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    NO.....

    OK, Both domains must point to the same site. When you request a site from the server, host headers are included in the request. This is how the server would normally decide what site to serve up. Similar to a shared hosting setup, one IP address but the host header tells the server what site to send.

    Both domains will point to the same site. When the site begins to load, the config file for that site is loaded (store1.example.com_config.php and store2.example.com_config.php). If there is a line in there that overrides the database config then the override is loaded, otherwise the database configuration is used. At the least you would need the following in each file.

    PHP Code:
    $template_dir "store1";
    define('SITE_NAME','store1');
    define('HTTP_SERVER''http://store1.example.com);
    //define('
    HTTPS_SERVER', 'https://store1.example.com);
    define('CATEGORIES_ROOT','0'); //root categories is 0 for this site
    define('ENABLE_SSL''false'); 
    You will notice in the above example I have https turned off (commented out)
    Also the root category of 0 is the default but it could be any category.

    You can override anything in the config database this way. Just create two different templates and don't forget to also create separate language files where applicable..

    Steve

  9. #599
    Join Date
    Apr 2008
    Location
    South Florida
    Posts
    197
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Just to add one more thing in case you are confused. If you own two domain names (abc.com & zyx.com) you could use "store" just like you would "www" by setting the DNS A Record for each domain to the same IP address. Then store.abc.com & store.zyx.com would actually be the same site.

    Steve

  10. #600
    Join Date
    Jul 2005
    Location
    Brooklyn NY
    Posts
    507
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    So I load zen cart up to one site then point the other site to that one right? I will give it a go and see how it all works out. Then if I want to add another site to this then I just make another template and then add more to the config file? Also is this store1.example.com_config.php and store2.example.com_config.php all under one config.php or is there 2 different config files? if so where do the 2 go in the same area?

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 115
    Last Post: 20 Jul 2021, 04:00 PM
  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

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