Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Posts
    13
    Plugin Contributions
    0

    Default 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. #2
    Join Date
    Aug 2006
    Posts
    13
    Plugin Contributions
    0

    Default 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

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Dir_ws_templates

    Ajeh posted the answer as a reply to your other inquiry on this:
    http://www.zen-cart.com/forum/showth...505#post239505
    .

    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.

 

 

Similar Threads

  1. DIR_WS_TEMPLATES error
    By board71 in forum General Questions
    Replies: 8
    Last Post: 20 Dec 2011, 06:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg