Looks like it is working at the www. address.
The DNS and file matching is very important.
Looks like it is working at the www. address.
The DNS and file matching is very important.
The main site should have it's template set from within the admin. All sideboxes are off by default on a new template. You need to load the template and go into sideboxes and setup the ones you want. Or press the defailt button on the bottom.
init_templates.php file gets replaced where code
$template_dir = "";
$sql = "select template_dir
from " . TABLE_TEMPLATE_SELECT . "
where template_language = 0";
$template_query = $db->Execute($sql);
$template_dir = $template_query->fields['template_dir'];
$sql = "select template_dir
from " . TABLE_TEMPLATE_SELECT . "
where template_language = '" . $_SESSION['languages_id'] . "'";
$template_query = $db->Execute($sql);
if ($template_query->RecordCount() > 0) {
$template_dir = $template_query->fields['template_dir'];
}
gets commented out. So which file will be responsible to load a template?
Looks like file www.asdf.com_config.php does not have any effect.
Oh by the way when I try to set a template in admin for my main site it simply does not change it.
I want to make one thing clear. I did not modify any files I just simply added new files and executed a db query as suggested on dev site.
Is this a modded site or a stock 1.3.8 install? Did you do any edits or simply copy the files from the mod?
This module makes navigation to my site - via http://mysitename.com not working because of this code
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;
}
in sites_switch.php method
so only http://www.mysitename.com works
how do you solve this problem?
Bookmarks