Results 1 to 6 of 6

Thread: Parse Error in Converting Lead

  1. #1
    gammageek is offline Junior Member
    Join Date
    May 2011
    Posts
    3

    Default Parse Error in Converting Lead

    When I'm trying to convert a lead, I get the following error

    Fatal error: Smarty error: [in cache/modules/Contacts/ConvertLead.tpl line 42]: syntax error: unrecognized tag 'main' (Smarty_Compiler.class.php, line 580) in [...]\include\Smarty\Smarty.class.php on line 1095

    What I think happened is I was trying to set up my statuses for leads and deleted the 'Converted' status. I saw too late that the Converted status is required. I've tried recreating the converted status both as a capital and lowercase based on a previous thread I found in the forums but the error persists.

    I haven't touched the code and I know it was working a few days ago. Does anyone have any insight into

    1. Is this, in fact, the likely problem?
    2. How can I fix it.

    If I've completely misdiagnosed the issue, can anyone point me in the right direction?

    Thank you

    MN

  2. #2
    Sakharov is offline Junior Member
    Join Date
    Oct 2008
    Location
    Moscow
    Posts
    8

    Unhappy Re: Parse Error in Converting Lead

    Quote Originally Posted by gammageek View Post

    If I've completely misdiagnosed the issue, can anyone point me in the right direction?
    I have never touched anything about Leads, neither in code nor through Studio, still just got exactly the same issue and message.
    My install is an upgrade from 6.2.0 to 6.2.3 amde recently.
    Very frustrating sh.t.

  3. #3
    chouaibi is offline Junior Member
    Join Date
    Sep 2011
    Posts
    2

    Default Re: Parse Error in Converting Lead

    PLZ can anyone help with this issue.
    I m having the same issue. With a fresh 6.2.3 installation
    There is the error message:
    ( ! ) Fatal error: Smarty error: [in cache/modules/Contacts/ConvertLead.tpl line 48]: syntax error: unrecognized tag 'main' (Smarty_Compiler.class.php, line 580) in /Users/chouaibi/Projects/sugar/include/Smarty/Smarty.class.php on line 1095
    Call Stack
    # Time Memory Function Location
    1 0.0002 102080 {main}( ) ../index.php:0
    2 0.1419 17510136 SugarApplication->execute( ) ../index.php:44
    3 0.1750 18818264 SugarController->execute( ) ../SugarApplication.php:85
    4 0.1836 19269160 SugarController->processView( ) ../SugarController.php:284
    5 0.1985 21612064 SugarView->process( ) ../SugarController.php:303
    6 0.5906 28254696 ViewConvertLead->display( ) ../SugarView.php:135
    7 0.6334 29120488 EditView->display( ) ../view.convertlead.php:181
    8 0.6345 29323952 TemplateHandler->displayTemplate( ) ../EditView2.php:730
    9 0.7263 30042400 Smarty->fetch( ) ../TemplateHandler.php:275
    10 0.7264 30096888 Smarty->_compile_resource( ) ../Smarty.class.php:1263
    11 0.7267 30152320 Smarty->_compile_source( ) ../Smarty.class.php:1424
    12 0.7268 30261824 Smarty_Compiler->_compile_file( ) ../Smarty.class.php:1491
    13 0.7401 30588512 Smarty_Compiler->_compile_tag( ) ../Smarty_Compiler.class.php:312
    14 0.7405 30598112 Smarty_Compiler->_syntax_error( ) ../Smarty_Compiler.class.php:580
    15 0.7405 30598872 Smarty->_trigger_fatal_error( ) ../Smarty_Compiler.class.php:2209
    16 0.7405 30600736 Smarty->trigger_error( ) ../Smarty.class.php:1813
    17 0.7405 30601312 trigger_error ( ) ../Smarty.class.php:1095

    Anyone can give me direction to fix this issue. I m a php developer but I m not very experienced in SugarCRM. If you have an idea plz shoot and I ll see what I can do.

    Regards

  4. #4
    chouaibi is offline Junior Member
    Join Date
    Sep 2011
    Posts
    2

    Default Re: Parse Error in Converting Lead

    Can anyone help with this issue. I m having the Error with a fresh 6.2.3 installation there is the error message and backtrace:
    ( ! ) Fatal error: Smarty error: [in cache/modules/Contacts/ConvertLead.tpl line 48]: syntax error: unrecognized tag 'main' (Smarty_Compiler.class.php, line 580) in /Users/chouaibi/Projects/sugar/include/Smarty/Smarty.class.php on line 1095
    Call Stack
    # Time Memory Function Location
    1 0.0002 101488 {main}( ) ../index.php:0
    2 0.1318 16154040 SugarApplication->execute( ) ../index.php:44
    3 0.1471 17201496 SugarController->execute( ) ../SugarApplication.php:85
    4 0.1547 17868536 SugarController->processView( ) ../SugarController.php:284
    5 0.1667 20211480 SugarView->process( ) ../SugarController.php:303
    6 0.2152 24451352 ViewConvertLead->display( ) ../SugarView.php:135
    7 0.2603 26621808 EditView->display( ) ../view.convertlead.php:181
    8 0.2612 26825288 TemplateHandler->displayTemplate( ) ../EditView2.php:730
    9 0.3462 27556416 Smarty->fetch( ) ../TemplateHandler.php:275
    10 0.3463 27610904 Smarty->_compile_resource( ) ../Smarty.class.php:1263
    11 0.3466 27666352 Smarty->_compile_source( ) ../Smarty.class.php:1424
    12 0.3468 27775864 Smarty_Compiler->_compile_file( ) ../Smarty.class.php:1491
    13 0.3569 28102104 Smarty_Compiler->_compile_tag( ) ../Smarty_Compiler.class.php:312
    14 0.3573 28111704 Smarty_Compiler->_syntax_error( ) ../Smarty_Compiler.class.php:580
    15 0.3573 28112464 Smarty->_trigger_fatal_error( ) ../Smarty_Compiler.class.php:2209
    16 0.3573 28114328 Smarty->trigger_error( ) ../Smarty.class.php:1813
    17 0.3573 28114904 trigger_error ( ) ../Smarty.class.php:1095

    Plz give me direction to fix this issue. I m a php developer but I don't have a big experience in SugarCRM.
    If you have any idea plz shoot and I ll see what I can do about it.

    Regards

  5. #5
    micha3l is offline Sugar Community Member
    Join Date
    Aug 2008
    Posts
    17

    Default Re: Parse Error in Converting Lead

    Any Solutions ?

  6. #6
    hermioni is offline Sugar Community Member
    Join Date
    Dec 2011
    Location
    Ahmedabad, Gujarat, India
    Posts
    26

    Lightbulb Re: Parse Error in Converting Lead

    HI,
    I have same issue.. can anybody help pls?
    when i m converting lead it fires error like
    ( ! ) Fatal error: Smarty error: [in cache/modules/bc_Customers/ConvertLead.tpl line 48]: syntax error: unrecognized tag 'main' (Smarty_Compiler.class.php, line 580) in E:\wamp\www\ctscrm_dev\include\Smarty\Smarty.class .php on line 1095

    pls catch me out from this issue and its really urgent to solve pls help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-03-29, 03:41 PM
  2. Error converting lead after upgrade
    By steff in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-08-06, 03:32 PM
  3. Replies: 4
    Last Post: 2006-11-02, 04:20 PM
  4. Replies: 1
    Last Post: 2006-09-28, 09:24 AM
  5. mysql error when converting lead 3.0b
    By obuwebco in forum General Discussion
    Replies: 0
    Last Post: 2005-05-09, 06:43 PM

Tags for this Thread

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
  •