Results 1 to 2 of 2

Thread: Fatal error: Smarty error: [in cache/modules/Accounts/EditView.tpl line 174]: syntax

  1. #1
    ottoverg is offline Sugar Community Member
    Join Date
    Nov 2011
    Posts
    12

    Unhappy Fatal error: Smarty error: [in cache/modules/Accounts/EditView.tpl line 174]: syntax

    Hi,

    I'm using version CE 6.4RC2. Everything was working fine. I removed two modules I created with Module Builder and, after removing those modules, I started receiving the following error message when I try to access NEW ACCOUNT module:

    Fatal error: Smarty error: [in cache/modules/Accounts/EditView.tpl line 174]: syntax error: unidentified token '..required' (Smarty_Compiler.class.php, line 1398) in /home/MyDomain/public_html/crm/include/Smarty/Smarty.class.php on line 1095
    I'm getting the same error when trying to add a new CONTACT.

    Mannually I deleted all files related to the modules I was discarding. The same way I dropped the tabels related to those modules in database.

    Attached the files mentioned in error message.

    Smarty.class.php

    EditView.php

    Smarty_Compiler.class.php

    I renamed file EditView to EditView.php for uploading purpose. The real extension for this file is .tpl

    If someone has a solution for this issue, please reply to ths

    Thanking in advance,

    Regards

    Otto
    Last edited by ottoverg; 2012-01-05 at 01:56 PM.

  2. #2
    tresfx is offline Junior Member
    Join Date
    Jan 2012
    Posts
    5

    Default Re: Fatal error: Smarty error: [in cache/modules/Accounts/EditView.tpl line 174]: syn

    I have a similar error at apache log :
    PHP Fatal error: Smarty error: [in cache/modules/Leads/DetailView.tpl line 155]: syntax error: unbalanced parenthesis in if statement (Smarty_Compiler.class.php, line 1270) in /var/www/include/Smarty/Smarty.class.php on line 1095, referer: https://sugar.et/index.php?action=ajaxui

    When I look at cache/modules/Leads/DetailView.tpl line 155 i see a syntax error
    PHP Code:
     {if strlen($fields..value) <= 0
    But any time I replace the '..' by '.' it generates again. I can't find how it is created this temp[late or where.
    Any one can help?
    Cheers

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. After installation of 6.1.0 I get fatal Smarty error
    By Materia in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2011-01-12, 10:13 AM
  2. Parse error: syntax error.... en_us.lang.php on line 1
    By power2nc in forum General Discussion
    Replies: 0
    Last Post: 2010-08-30, 06:51 PM
  3. Replies: 1
    Last Post: 2010-06-02, 06:36 PM
  4. Replies: 1
    Last Post: 2009-04-09, 08:46 PM
  5. Replies: 2
    Last Post: 2009-02-02, 06:19 PM

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
  •