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

    red flag Help! I made a mistake in my index.php!!

    Somehow I managed to cut, or paste, the wrong thing in the wrong place when I was trying to remove the "Sales Message Goes Here" text after my new installation. Please take a look at the code below and see if you can figure out where the problem is! Thanks so much for your help!

    PHP Code:
    define('TEXT_NOW''\' now');
    define('TEXT_ALL_CATEGORIES''All Categories');
    define('TEXT_ALL_MANUFACTURERS''All Manufacturers');
    } elseif (
    $category_depth == 'top')
    {
    // This section deals with the "home" page at the top level with no options/products selected
    / *Replace this text with the headline you would like for your shop. For example'Welcome to My SHOP!'*/
    define('HEADING_TITLE')), 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    } elseif (
    $category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE')), 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.'); 
    }
    ?> 

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Help! I made a mistake in my index.php!!

    These parentheses are causing you problems, in 2 places:

    define('HEADING_TITLE')), 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    .

    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. Changes made to /admin/index.php since 1.3.8a
    By lat9 in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 8 Aug 2011, 02:00 PM
  2. Design help! Made a mistake somewhere! Bluestripe Reloaded
    By geidorei in forum Addon Templates
    Replies: 1
    Last Post: 12 Jun 2011, 04:20 PM
  3. I made a huge mistake with my attributes Help!
    By vialisa in forum General Questions
    Replies: 1
    Last Post: 4 Jun 2010, 10:38 AM
  4. I made a mistake copying moneyorder.php
    By shirster in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Mar 2010, 02:38 AM
  5. Index.PHP on server Changed by mistake.
    By popss in forum General Questions
    Replies: 1
    Last Post: 6 Jun 2008, 10:06 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