Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2015
    Location
    Broadchurch
    Posts
    77
    Plugin Contributions
    0

    application error continuous log file error

    Can anyone put light on this log file error that appears every day?

    error is: PHP Parse error: syntax error, unexpected 'FOOTER_TEXT_BODY' (T_STRING) in ............................/catalog/includes/languages/english.php on line 16

    file is as follows:

    line 16 = define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

    the footer text works ok on the actual site, so not sure why the log error keeps appearing.

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: continuous log file error

    What is the line above it?

  3. #3
    Join Date
    Mar 2015
    Location
    Broadchurch
    Posts
    77
    Plugin Contributions
    0

    Default Re: continuous log file error

    Answering the above reply from Bislewl.
    These lines are all in green text:

    [Top of page here]
    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2014 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version GIT: $Id: Author: ajeh Modified in v1.5.4 $
    */

    // FOLLOWING WERE moved to meta_tags.php
    //define('TITLE', 'Zen Cart!');
    //define('SITE_TAGLINE', 'The Art of E-commerce');
    //define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');
    // END: moved to meta_tags.php
    Last edited by Man from Mars; 4 May 2015 at 07:01 AM. Reason: grammer

  4. #4
    Join Date
    Mar 2015
    Location
    Broadchurch
    Posts
    77
    Plugin Contributions
    0

    Default Re: continuous log file error

    Can anyone answer my problem. Thank you

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: continuous log file error

    What are lines 10 through 15
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Mar 2015
    Location
    Broadchurch
    Posts
    77
    Plugin Contributions
    0

    Default Re: continuous log file error

    That is all there is! I've copied again the file for you to look at including now the line below as well. I am using Zen Cart version 1.5.4
    ################################################################################ ################################################################################ __
    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2014 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version GIT: $Id: Author: ajeh Modified in v1.5.4 $
    */

    // FOLLOWING WERE moved to meta_tags.php
    //define('TITLE', 'Zen Cart!');
    //define('SITE_TAGLINE', 'The Art of E-commerce');
    //define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');
    // END: moved to meta_tags.php

    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href=""' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');

    // look in your $PATH_LOCALE/locale directory for available locales..

    ********more code below here*******************
    ################################################################################ ___/
    /################################################################################ ########################################___

  7. #7
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: continuous log file error

    The problem is here

    Code:
    define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href=""' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');
    ~Melanie


    Should be

    Code:
      define('FOOTER_TEXT_BODY', 'Copyright &copy; ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

 

 

Similar Threads

  1. v151 How to debug when NO ERROR LOG file created?
    By Jeff_Mash in forum General Questions
    Replies: 8
    Last Post: 24 Jan 2014, 10:50 PM
  2. Where is the log file when you set Debug Mode to "Log File"?
    By alicia1234 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 1 Feb 2009, 12:05 AM
  3. Error message in log file
    By ericny in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2007, 06:30 PM
  4. PHP error in log file after install
    By flame in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Aug 2006, 02:58 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