Zen Cart Logo

Dir_ws_templates

Locked

Views: 1,922

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
2 Aug 2006, 7:41 AM
#1
triplemaya avatar

triplemaya

New Zenner

Join Date:
Aug 2006
Posts:
13
Plugin Contributions:
0

Dir_ws_templates

Hi. Having made some changes to be able to access the admin area, I find this morning that I cannot see the catalog. The error messages are:-

Warning: main(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.main]: failed to open stream: No such file or directory in /home/computerhypnosis/public_html/catalog/index.php on line 43

Fatal error: main() [function.require]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/local/apache/php/lib/php') in /home/computerhypnosis/public_html/catalog/index.php on line 43

Unfortunately I am now not sure if this was working yesterday after I made the chages to the files or not.

Line 43 in index.php reads
require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');

Help much appreciated

2 Aug 2006, 10:09 AM
#2
triplemaya avatar

triplemaya

New Zenner

Join Date:
Aug 2006
Posts:
13
Plugin Contributions:
0

Re: Dir_ws_templates

My hosting has said:-
It looks like you've not set the path for DIR_WS_TEMPLATES correctly.
There is a possibility that Zen Cart is interacting negatively with
mod_security, which you may want to explore in the Zen forum

Searching for Dir_ws_templates in the help I have not found anything. If this is the problem could someone please tell me how to set it, and what to set it to.

Thanks