Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    10
    Plugin Contributions
    0

    application error  appears on my page

    I have a problem, i wanted to deleted my categories bar under the header so i deleted the text in the tpl file but now i get  on top of my page and under my logo !

    Firebug displays the  like this :


    <div id="mainWrapper">
    
    <div id="headerWrapper">
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">
    <li>
    </li>
    <li>
    <a href="http://fantix.nl/winkel/index.php?main_page=login">Inloggen</a>
    </li>
    </ul>
    </div>
    <div id="navMainSearch"/>
    <br class="clearBoth"/>
    </div>
    <div id="logoWrapper">
    <div id="logo">
    <a href="http://fantix.nl/winkel/">
    <img height="100" width="100" title=" Gebaseerd op Zen Cart :: De kunst van eCommerce " alt="Gebaseerd op Zen Cart :: De kunst van eCommerce" src="includes/templates/template_default/images/header.jpg"/>
    </a>
    </div>
    <div id="taglineWrapper">
    </div>
    </div>
    <br class="clearBoth"/>
    
    </div>
    <table id="contentMainWrapper" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
    <tr>
    <td id="navColumnOne" class="columnLeft" style="width: 175px;">
    </td>
    <td valign="top">
    <div id="navBreadCrumb">Home </div>
    <div id="indexDefault" class="centerColumn">
    <h1 id="indexDefaultHeading">Welkom op fantix.nl, op dit moment word er hard gewerkt aan de webwinkel. we verwachten deze voor 2009 af te hebben. Bij de opening van de webwinkel krijgen de eerste 50 klanten 10% korting op hun eerst bestelde product. We gaan van Fantix meer maken dan alleen een webwinkel, we gaan grote toernooien organiseren samen met jullie! Geef nu je mening op het forum : http://www.fantix.nl/forum en beslis mee over de toekomst van Fantix. </h1>
    <h2 class="greeting">
    </h2>
    <div id="indexDefaultMainContent" class="content">
    <p> </p>
    <p> </p>
    </div>
    <div id="whatsNew" class="centerBoxWrapper">
    <h2 class="centerBoxHeading">Nieuwe artikelen voor november</h2>
    <div class="centerBoxContentsNew centeredContent back" style="width: 50%;">
    </div>
    <div class="centerBoxContentsNew centeredContent back" style="width: 50%;">
    </div>
    <br class="clearBoth"/>
    </div>
    </div>
    </td>
    <td id="navColumnTwo" class="columnRight" style="width: 150px;">
    </td>
    </tr>
    </tbody>
    </table>
    <div id="navSuppWrapper">
    <div id="navSupp">
    </div>
    </div>
    <div id="siteinfoIP">Uw ipadres is: 84.29.237.35</div>
    <div id="siteinfoLegal" class="legalCopyright">
    Copyright © 2008
    <a target="_blank" href="http://fantix.nl/winkel/index.php?main_page=index">fantix.nl</a>
    . Powered by
    <a target="_blank" href="http://www.zen-cart.com">Zen Cart</a>
    </div>
    </div>


    Where do i delete this ??? i cant seem to find it in my files

  2. #2

    Default Re:  appears on my page

    Hi Fantix,

    Did you make a back up of the original file first? If so, just replace what you did with the original.

    You can turn off those links in the admin panel (configuration --> layout settings and switch the categories tab menu to off)

    Never delete code unless that's the only alternative and you're absolutely sure about what you're doing.

    If something can't be changed through the admin panel and you must adjust the code, comment it out rather than deleting. And always make a back up of both the original before you begin, and of the changes when you're finished.

    You comment out by placing /* before the stuff you don't want, anda /* at the end of it. (in the example above, everything in green would be 'commented out')

    If you're not yet familiar with the override system, learn about that before you do anything else.

    As for where you can find the code you listed in your post - you can't. That's the html code that is created by the various PHP files calling all the page elements together. The code you see in Firebug is a representation of all the bits and pieces of php code scattered across dozens of files. It doesn't exist within a single html file as it would if you had written it yourself or created it in a program like Front Page.

    You would not want to delete this anyway!

    What file did you go in to in order to delete the categories menu bar? That is the file that you need to restore to it's original state.

    If you did not make a back up and altered the original file, consider this a very difficult lesson. When you're done throwing up <grin>, simply download another copy of ZC, find the file you need, and use it to replace the one you changed. You don't need to reinstall.

    Hope this helps.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 

Similar Threads

  1. blank page appears after login
    By rajoo.sharma in forum General Questions
    Replies: 0
    Last Post: 22 Mar 2010, 10:30 AM
  2. Help! Page No Longer Appears
    By kconklin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Mar 2010, 07:41 PM
  3. Main Page text appears on login page
    By GillS in forum General Questions
    Replies: 2
    Last Post: 5 Feb 2009, 06:01 PM
  4. HEADING_TITLE appears on home page
    By Laques2000 in forum General Questions
    Replies: 4
    Last Post: 7 Mar 2007, 04:03 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