Re: MultiSite Module Support Thread
I think I found your problem.
Check includes/configure.php, and see is this line
PHP Code:
include_once('includes/config_sites/sites_switch.php');
is in it. It should be just before (approx line 17)
PHP Code:
define('HTTP_SERVER', 'https://YOUR_DOMAIN');
Quote:
Originally Posted by
margecc
Thank you for your reply! I had tried that already and it hadn't made any changes. I've added it again just to be sure I hadn't missed something and everything has stayed status quo. No categories are visible even though they are there and configured correctly. It can't seem to find my templates.
af-company.com/1.5.5f-trial
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Design75
I think I found your problem.
Check includes/configure.php, and see is this line
PHP Code:
include_once('includes/config_sites/sites_switch.php');
is in it. It should be just before (approx line 17)
PHP Code:
define('HTTP_SERVER', 'https://YOUR_DOMAIN');
PHP Code:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
//EDIT FOR MULTI SITE
include_once('includes/config_sites/sites_switch.php');
//EOF EDIT
define('HTTP_SERVER', 'http://af-company.com');
define('HTTPS_SERVER', 'https://af-company.com');
// Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
//* DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
This is what I have already in my config file. www.af-company.com/1.5.5f-trial
I really appreciate you time in helping!
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
margecc
PHP Code:
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
//EDIT FOR MULTI SITE
include_once('includes/config_sites/sites_switch.php');
//EOF EDIT
define('HTTP_SERVER', 'http://af-company.com');
define('HTTPS_SERVER', 'https://af-company.com');
// Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
//* DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
This is what I have already in my config file.
www.af-company.com/1.5.5f-trial
I really appreciate you time in helping!
Colleen, I have set up a test store, and am experiencing the same category problem. The them shows fine.
Maybe it has something to do with newer PHP version. Which version of PHP are you running?
Re: MultiSite Module Support Thread
Re: MultiSite Module Support Thread
:censored: There goes the simple solution. I was hoping it was a php 7 problem. I'll have to do some research tonight.
Quote:
Originally Posted by
margecc
PHP Version: 5.6.17
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
margecc
PHP Version: 5.6.17
Can you post the contents of a site_config file?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
Design75
Can you post the contents of a site_config file?
af-company.com_config.php
PHP Code:
<?php
define('DIR_WS_CATALOG', '/1.5.5f-trial/');
define('DIR_WS_HTTPS_CATALOG', '/1.5.5f-trial/');
$template_dir = "custom";
define('SITE_NAME','usa');
define('HTTP_SERVER', 'https://af-company.com');
define('HTTPS_SERVER', 'https://af-company.com');
define('CATEGORIES_ROOT','0');
?>
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
margecc
af-company.com_config.php
PHP Code:
<?php
define('DIR_WS_CATALOG', '/1.5.5f-trial/');
define('DIR_WS_HTTPS_CATALOG', '/1.5.5f-trial/');
$template_dir = "custom";
define('SITE_NAME','usa');
define('HTTP_SERVER', 'https://af-company.com');
define('HTTPS_SERVER', 'https://af-company.com');
define('CATEGORIES_ROOT','0');
?>
Maybe obvious, but are you using "usa" in the products description ? I discovered I was using the wrong name, and that was why nothing was shown
Re: MultiSite Module Support Thread
I have
<!--usa-->
in the categories description (i was going to send a pic but it wouldn't upload).
Re: MultiSite Module Support Forum
Do The module compatible with zencart 1.5.5.f ?? anyone there who using it in 1.5.5.f?