Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default No domain found - using multi-site module

    I added the multi-site module but when I try to open the zen cart web page I now get this error. That my domain does not exist. But it does. I can login to admin.
    Ideas?

  2. #2
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default Re: No domain found - using multi-site module

    Quote Originally Posted by maperr55 View Post
    I added the multi-site module but when I try to open the zen cart web page I now get this error. That my domain does not exist. But it does. I can login to admin.
    Ideas?
    Well I completely removed the zen cart folder and copied the back up in its place and I still get this error.

    the domain www.pcccomputer.com does not exist.

    Can anyone tell me what I need to edit to correct this.

    All happen after I tried adding the multi site module. I cant get any replys from their forum. and even a direct message to Gerome the writer has gone unanswered. Help now I can go forward or backward.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: No domain found - using multi-site module

    I can get to the domain you mentioned just fine - without errors. Granted, I don't see a Zen Cart install there.
    Is it your browser that's saying the domain doesn't exist, or is it an error message from your store that's saying that ?

    When you did your restore, did you reset permissions on your configure.php files? If not, perhaps those didn't restore and you're still using the modified versions of those files?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default Re: No domain found - using multi-site module

    Quote Originally Posted by DrByte View Post
    I can get to the domain you mentioned just fine - without errors. Granted, I don't see a Zen Cart install there.
    Is it your browser that's saying the domain doesn't exist, or is it an error message from your store that's saying that ?

    When you did your restore, did you reset permissions on your configure.php files? If not, perhaps those didn't restore and you're still using the modified versions of those files?
    The browser, when I type in the zen-cart command to launch the store front. As far as the comfigure.php files where they not deleted when I deleted the zen-cart folder?

    the install instructions as me to Execute SQL with this line.

    ALTER TABLE orders ADD order_site varchar(30) NOT NULL DEFAULT 'no';

    I run this from the Quirey line correct?

    Might this be the reason it no longer see the domain?

    Gonna try again. At most the worst I can be is where I am.

  5. #5
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default Re: No domain found - using multi-site module

    WEll after more playing I believe this to be where the error is comming from.
    zen-cart/includes/config_sites/sites_switch.php
    Code:
    <?php
        $default_server_name = $_SERVER['HTTP_HOST'];
        $config_file = $default_server_name.'_config.php';
    
        if(file_exists("includes/config_sites/$config_file")) {
            include("includes/config_sites/$config_file");
        } else {
            echo "the domain $default_server_name does not exist.";
            exit;    }
    
        //Name of the site that is written in the categories
        define('SITE_NAME',$config_file);
        //The order for this site will be seen for ORDER_SITE from the admin section
        define('ORDER_SITE',SITE_NAME);
          define('HTTP_SERVER', "http://$default_server_name");
          define('HTTPS_SERVER', "https://$default_server_name");
          
          //Define the parent category as 0 if not defined
        define('CATEGORIES_ROOT','0');
    ?>
    But Why?
    1

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: No domain found - using multi-site module

    Do you have a "includes/config_sites/www.pcccomputer.com_config.php" file?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default Re: No domain found - using multi-site module

    No, I do not. It said nothing in the instructions to add that file so I did not know it needed it.
    Would you have an example of how the sctipt should read in this php script.

    Since I'm going to have to teach myself Php and SQL, any recomendation on some good references?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: No domain found - using multi-site module

    Quote Originally Posted by DrByte View Post
    Do you have a "includes/config_sites/www.pcccomputer.com_config.php" file?
    Quote Originally Posted by maperr55 View Post
    No, I do not. It said nothing in the instructions to add that file so I did not know it needed it.
    Would you have an example of how the sctipt should read in this php script.
    1. The read_me.txt file in the contribution says this:2. Following that link explains in Step #4 how to "Create the configuration files of your sites"

    3. Inside the supplied /includes/config_sites folder, there is a "help.txt" file with brief instructions, along with a www.example.com_config.php file that you might use as a starting point.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default Re: No domain found - using multi-site module

    Quote Originally Posted by maperr55 View Post
    No, I do not. It said nothing in the instructions to add that file so I did not know it needed it.
    Would you have an example of how the sctipt should read in this php script.
    I think I'm Making progress.
    I created www.pcccomputer.com_config.php
    THis is what's in it.
    Code:
    <?php
    define('DIR_WS_CATALOG', 'http://www.pcccomputer.com/zen-cart/');
    define('DIR_WS_HTTPS_CATALOG', 'http://www.pcccomputer.com/zen-cart/');
    $template_dir = "/templates/classic";
    define('SITE_NAME','classic');
    ?>
    I now am able to get the text and link text for the catagories but no shell or template just a white page with that. If I click on a catagorie I will get a browser error with the url bar getting filled like below,

    http://www.pcccomputer.comhttp//www.pcccomputer.com/zen-cart/index.php?main_page=index&cPath=2

    If i remove one of the http://www.pcccomputer.com and make sure the : is in it, it will work fine.

    Not sure where I'm losing my template

  10. #10
    Join Date
    Aug 2007
    Location
    Manitou Beach, Michigan
    Posts
    324
    Plugin Contributions
    0

    Default Re: No domain found - using multi-site module

    Quote Originally Posted by maperr55 View Post
    No, I do not. It said nothing in the instructions to add that file so I did not know it needed it.
    Would you have an example of how the sctipt should read in this php script.

    Since I'm going to have to teach myself Php and SQL, any recomendation on some good references?
    Quote Originally Posted by maperr55 View Post
    I think I'm Making progress.
    I created www.pcccomputer.com_config.php
    THis is what's in it.
    Code:
    <?php
    define('DIR_WS_CATALOG', 'http://www.pcccomputer.com/zen-cart/');
    define('DIR_WS_HTTPS_CATALOG', 'http://www.pcccomputer.com/zen-cart/');
    $template_dir = "/templates/classic";
    define('SITE_NAME','classic');
    ?>
    I now am able to get the text and link text for the catagories but no shell or template just a white page with that. If I click on a catagorie I will get a browser error with the url bar getting filled like below,

    http://www.pcccomputer.comhttp//www....=index&cPath=2

    If i remove one of the http://www.pcccomputer.com and make sure the : is in it, it will work fine.

    Not sure where I'm losing my template
    >>>>>>>>>>>>>>>>> After Your last reply >>>>>>>>>>>>>>

    Yep got that document. I've read it an number of time. Does not make it much clearer. and with no one answering questions in that forum if forces you to guess. Thats why my quextion on a good reference book

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Multi User, Multi Store on same domain
    By lolzita in forum General Questions
    Replies: 1
    Last Post: 7 Dec 2009, 04:02 PM
  2. Ezpages when using the multi-site mod?
    By bogie in forum Basic Configuration
    Replies: 0
    Last Post: 27 Sep 2008, 08:11 AM
  3. Multi-shop, multi-admin, single domain
    By ChrisLA in forum General Questions
    Replies: 2
    Last Post: 25 Sep 2008, 02:12 PM
  4. Multi Site Module
    By eaxpdt in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Aug 2008, 10:56 PM
  5. Multi-domain Module
    By MOni in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 20 Jun 2008, 10:58 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