Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Location
    Laurinburg, NC
    Posts
    165
    Plugin Contributions
    0

    Default blank main page after template copy

    First off my ZenCart is 1.3.8a so please don't suggest an update.
    I am following the tutorial "How do I create a new Custom Template?" Gone through the tutorial a few times now and can not figure out were I have gone wrong. I copied the classic green template as the one to modify, but I get a blank screen http://shop.nilandsplace.com/camp/in...ain_page=index . I am not sure what to do next as I am just learning PHP and MySQL. What creates the index page? I also have been through the file structure and can’t find what is missing. and yes I have the book but it has not helped me figure it out.


  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: blank main page after template copy

    This suggests a fatal syntax error causing php or mysql to crash early in the page building process, i.e. before anything has been output to give us any clues as to where.

    I recommend installing the debugger (see this FAQ Entry) to help track down the problem.

    The answer to your specific question as to how pages are built is very complex and I would recommend starting with application_top and following its logic ... but that would be the long route to finding a solution to your problem.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2007
    Location
    Laurinburg, NC
    Posts
    165
    Plugin Contributions
    0

    Default Re: blank main page after template copy

    I found the error with the debugger it was the header.pHp with this line // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Niland\'s Place Campsite [home link]');
    the slash after Niland was the wrong direction

    Now I need to redo my side boxes they all turned off
    Thanks for the help James

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: blank main page after template copy

    Not as much help as I intended, since I forgot to add the link to the FAQ Entry for the debugger. But it appears you found it anyway. Glad you got it fixed.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Blank page after selecting template
    By infinitybooks in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 23 Sep 2011, 02:18 PM
  2. Homepage is a BLANK PAGE after installing the template
    By sung2010 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Jun 2010, 02:40 AM
  3. Homepage is a Blank Page after installing the template
    By sung2010 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2010, 05:28 PM
  4. Blank page after installing new template
    By weepantz in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 12 Mar 2009, 01:39 AM

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