Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2018
    Posts
    146
    Plugin Contributions
    0

    Default (t_constant_encapsed_string)

    My site has gone down and it says there is a HTTP ERROR 500. On the cache files in ftp it says the problem is -

    [11-Jan-2018 08:57:09 Europe/London] PHP Parse error: syntax error, unexpected '');
    ' (T_CONSTANT_ENCAPSED_STRING) in /web/sites/mas-uk.com/wwwroot/www/includes/languages/english.php on line 435

    This is line 435 - define("TEXT_CALL_FOR_PRICE","Call for Price");

    It also says this - [11-Jan-2018 09:01:51 Europe/London] PHP Parse error: syntax error, unexpected 'for' (T_FOR) in /web/sites/mas-uk.com/wwwroot/www/includes/languages/english.php on line 434

    This is line 434 - define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT',Call for Price');

    Any idea how to fix this?

    Thanks

    www.mas-uk.com

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: (t_constant_encapsed_string)

    Change line 434 to:

    This is line 434 - define('PRODUCTS_PRICE_IS_CALL_FOR_PRICE_TEXT','Call for Price');

    You are missing a single quote before the word Call.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 29 Feb 2012, 02:07 AM
  2. Replies: 5
    Last Post: 26 Oct 2009, 02:00 PM
  3. unexpected T_CONSTANT_ENCAPSED_STRING (autoload_func.php)
    By ungarod in forum General Questions
    Replies: 4
    Last Post: 19 Aug 2009, 08:47 PM
  4. unexpected T_CONSTANT_ENCAPSED_STRING
    By Kruna in forum General Questions
    Replies: 7
    Last Post: 8 Feb 2007, 02:13 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