I am getting the following errors.
[31-Aug-2012 03:02:58] PHP Warning: include_once(includes/languages/english.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/westdh/public_html/dir/includes/init_includes/init_templates.php on line 72
How do i fix this. I am using the template called. my_template_default
this what I see in the area of line 72.
/*
* Determine the active template name
*/
$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'];
}
/**
* The actual template directory to use
*/
define('DIR_WS_TEMPLATE', DIR_WS_TEMPLATES . $template_dir . '/');
/**
* The actual template images directory to use
*/
define('DIR_WS_TEMPLATE_IMAGES', DIR_WS_TEMPLATE . 'images/');
/**
* The actual template icons directory to use
*/
define('DIR_WS_TEMPLATE_ICONS', DIR_WS_TEMPLATE_IMAGES . 'icons/');
Bookmarks