Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Posts
    42
    Plugin Contributions
    0

    Default Parse error after making title change in index.php

    I had just installed this frontstore software on web server and was replacing the headline content only in the index.php as what I show in bold text

    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', 'Team ZR-1 Corvette Racers LLC');
    } 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', 'Team ZR-1 Corvette Racer's LLC');
    }
    ?>

    Then went to the online catalog and now fails with :

    Parse error: syntax error, unexpected T_STRING in /home/teamzron/public_html/fstore/includes/languages/english/index.php on line 56

    What is wrong, something else changed other then the title content I only changed ?
    What is the T_string ?

    Thanks

  2. #2
    Join Date
    Jun 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Parse error after making title change in index.php

    Found it,
    the title of Team ZR-1 Corvette Racer's which should be TEXT
    is some type of pug for the ' in it was seen as part of the code.

    Someone should fix this for to me when typing text content code should not fail with non letter content.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Parse error after making title change in index.php

    try

    define('HEADING_TITLE', 'Team ZR-1 Corvette Racer\'s LLC');

    in BOTH places
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. parse error on index page after editing language file
    By tomintulsa in forum General Questions
    Replies: 5
    Last Post: 9 Jun 2009, 07:21 PM
  2. PHP Parse error: parse error, unexpected T_STRING
    By awesomo in forum General Questions
    Replies: 9
    Last Post: 6 Sep 2008, 01:38 AM
  3. change title of index.php
    By mxddropship in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 May 2007, 12:33 AM
  4. Blank index.php and /admin/index.php page after install
    By gsummerlin in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jul 2006, 10:04 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