Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default New template install - error opening site

    I recently installed the ZJ template pack and when I try switching to any of the templates, I get the following error message:

    Fatal error: main() [function.require]: Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /store/includes/templates/template_default/templates/tpl_index_default.php on line 39

    If I change back to the template I was using before, my site opens as expected. I get the same error when I switch to the Classic Contemporary Green template as originally installed with Zencart.

    I am using version 1.3.7 and godaddy as my host. The only change I made after uploading the template is to reset the layout boxes. The template I currently use is my own custom template and it's been several years since I have edited my site. Where should I start to check my files?

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: New template install - error opening site

    Because this error also occurs when using the Classic Green template which comes with a ZC installation, I believe that one of the core files is missing or corrupt. Your custom template may use the override system and must have access to a complete file system for it to work.

    A stab into the dark:

    Check that your folders /includes/modules/pages/SUB_FOLDER/ are present and accounted for and that each of theses SUB_FOLDERS contains a header_php.php file. Pay special attention to includes/modules/pages/index/header_php.php

    Also check that all your define pages exist on the server, especially define_main_page.php

    If that does not throw any light on the issue then download and install the debug tool (do a search for this in the forum - I have no direct link - sorry).

 

 

Similar Threads

  1. v151 Error when building a test site and new template on server
    By kitcorsa in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Nov 2013, 01:48 PM
  2. Replies: 16
    Last Post: 15 Aug 2012, 12:40 PM
  3. v139h Transferring site to new domain now get 404 error when accessing admin on new site
    By nikihaym314159 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 29 Jan 2012, 09:24 PM
  4. Index not opening site after host moved me to new server
    By taodesigns in forum Installing on a Windows Server
    Replies: 5
    Last Post: 5 Oct 2009, 10:33 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR