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?
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.
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.
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.
WEll after more playing I believe this to be where the error is comming from.
zen-cart/includes/config_sites/sites_switch.php
But Why?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'); ?>
1
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.
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?
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"Latest Instruction here:
http://www.medea.co.uk/dev/multisite_instructions.html
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.
I think I'm Making progress.
I created www.pcccomputer.com_config.php
THis is what's in it.
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,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'); ?>
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
>>>>>>>>>>>>>>>>> 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
Bookmarks