Page 40 of 224 FirstFirst ... 3038394041425090140 ... LastLast
Results 391 to 400 of 2240
  1. #391
    Join Date
    Mar 2007
    Posts
    250
    Plugin Contributions
    6

    Default Re: MultiSite Module Support Thread

    Quote Originally Posted by TheDruid View Post
    I should do next,
    Read through the previous pages! As the answers are there!

    Yes there are alot of pages, but you will learn alot more about how this modules works by reading the previous post, rather than reiterating the same as someone else!

    http://www.zen-cart.com/forum/showth...i+site&page=26

  2. #392
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    application error Re: MultiSite Module Support Thread

    Hi, Thank you for the tip, I had read most of the forum, but I guess I must have missed that part. Unfortunately it doesn't seem to have worked. See I had already created the file, and placed the following code into it (edited with the appropriate name):
    "<?php
    $template_dir = "site1";
    define('SITE_NAME','site1');
    ?>"

    I did notice just now that the example config file has a few more lines of code which were not mentioned in the multi-site instructions http://www.medea.co.uk/dev/multisite...tions_0.4.html T
    he code in the example is:
    "<?php
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    $template_dir = "example";
    define('SITE_NAME','example');
    ?>

    However after adding in these other lines I'm still getting the same "does not exist"message. Is there more to a config file than this? what am I missing? do i have to do something to the
    "define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');"
    lines?

  3. #393
    Join Date
    May 2005
    Location
    England
    Posts
    676
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    You should need to alter those defines. What is the name of your config file that contains your defines? And have you done the thing with the template system, rename each according to your site names.

    Heathenmagic

  4. #394
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    the config file is called www.eatideal.com_config.php
    and if it helps,
    The template file is called: EatIdeal_com

    and the contents of the config file are: <?php
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    $template_dir = "EatIdeal_com";
    define('SITE_NAME','EatIdeal.com');
    ?>

  5. #395
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    Hi, I just found this:
    Quote Originally Posted by Gerome View Post
    streetglow,
    define('DIR_WS_CATALOG','/retailer/');
    define('DIR_WS_HTTPS_CATALOG','/retailer/');
    Gerome.
    and so I tried using "/Shop/" in my config file (which is where my ZC is installed) but it didnt seem to change anything. what am I still missing?

  6. #396
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    I was trying to see if this would help:
    Quote Originally Posted by Gerome View Post
    As for multi domains issues, I use .htaccess in order to resolve this problem because I think it makes things cleaner.

    Add the the beginning of your htacess:



    This is what is used for bigdepot.co.uk:
    http://ww.bigdepot.co.uk/scratchless-cd-c-3377.html
    http://bigdepot.co.uk/scratchless-cd-c-3377.html
    http://anything.bigdepot.co.uk/scrat...cd-c-3377.html
    http://www.bigdepot.com/scratchless-cd-c-3377.html
    All are redirected to that link, with a similar .htaccess code.
    http://www.bigdepot.co.uk/scratchless-cd-c-3377.html

    For these who don't want to bother with it, there is other this way:
    into the site1.com_config.php:
    PHP Code:
    includes('includes/config_sites/www.site1.com_config.php'); 
    But I didn't really understand the finer point on how to tailor it to my site.

  7. #397
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Thread

    So, I realized that because I'm on shared hosting this might be the problem, but when I tried to implement it there were no noticeable changes
    Quote Originally Posted by Gerome View Post
    SSL can be an issue, especially if you use the same IP for all your domain because SSL need an unique IP for each domains. It means that your server setting has to even more complicated...

    Another solution can be to use common DNS for all the SLLs and to use a different subfolder in order to change them.

    As for the MultiSite configuration, it requires a bit of extra code.

    Just take the case of the use of www.secure-payment.com as DNS ...

    includes/config_sites/www.secure-payment.com_config.php has to contain:
    Code:
    <?php
    $location = explode('/',$_SERVER['REQUEST_URI']);
    switch($location[1]) {
        case 'site1':
            include('includes/config_sites/www.site1.com_config.php');
            break;
        case 'site2':
            include('includes/config_sites/www.site2.com_config.php');
            break;
        case 'site3':
            include('includes/config_sites/www.site3.com_config.php');
            break;
    }
    unset($location);
    ?>
    Then in the config files of each site, you have to write:
    Code:
    define('DIR_WS_HTTPS_CATALOG','/site1/');
    define('HTTPS_SERVER', "https://www.secure-payment.com");
    Code to add in the beginning of .htaccess:
    Code:
    RewriteCond %{HTTP_HOST} ^www.secure-payment.com$
    RewriteRule ^site1/(.*)$ /zencart_folder/$1 [L]
    
    RewriteCond %{HTTP_HOST} ^www.secure-payment.com$
    RewriteRule ^site2/(.*)$ /zencart_folder/$1 [L]
    This will make the SLL of all your sites like:
    https://www.secure-payment.com/site1/
    https://www.secure-payment.com/site2/
    I used one of my two DNSs but I still dont even know if this is the problem. Any clues?

  8. #398
    Join Date
    Dec 2007
    Posts
    52
    Plugin Contributions
    0

    help question Re: MultiSite Module Support Thread

    OK, Its official. I have read this entire thread from start to finish, and I didn't do any scanning this time. I tried everything that seemed like it might have something to do with it, some of it was a little beyond my current understanding, but basically nothing changed my results. I simply cant dial into my catalog using any domain or directory combo, Period.

  9. #399
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: MultiSite Module Support Forum

    Hi all you multisiters!

    I am trying to set my new site with the "Multisite" module, was going quite well until I hit Step 4, headed "Create the config files of your sites".
    The very first instruction under Step 4 says to add a line of text to "includes/configure.php". Ehen I do this I get a 'fatal error or timed out...' and wont save the line of text.
    Now I presume I'm using the right configure.php file (mystore/includes/configure.php)?
    What am I doing wrong at this point, as I cant get past this step?

    Would appreciate help if possible.

    Dave

  10. #400
    Join Date
    Mar 2006
    Posts
    283
    Plugin Contributions
    0

    Default where to upload www.site1.com_config.php

    On step 4 where exactly am I supposed to upload www.site1.com_config.php to? the site1.com html folder or a folder on the main sites area?

    Thanks

 

 

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