ERROR [256] Smarty error:

Discussion in 'Troubleshooting' started by keybusinesscoach, Feb 8, 2010.

  1. keybusinesscoach

    keybusinesscoach New Member

    Joined:
    Aug 3, 2009
    Messages:
    5
    Hi There,

    When a member tries to become a member of our site, they receive this message after completing the payment section.

    ERROR [256] Smarty error: [in memory:text line 4]: syntax error: unrecognized tag: user.name_f (Smarty_Compiler.class.php, line 403) in line 1102 of file /home/businff7/public_html/keybusinesscoach/amember/smarty/Smarty.class.php


    The money is being received but it is giving the impression that the signup was not successful. it is also not sending the new user their details/membership information. This is disastrous! as this email contains specific affiliate data for a product we are giving away with our subscription.


    Any help is greatly appreciated. We obviously need to get this fixed asap!
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Did you modify any of your templates? It looks like one of them has a syntax error in it (left open tag, etc)

    Which page are you having the problem with? The Thanks page? Might want to check that template and see whats up.
  3. keybusinesscoach

    keybusinesscoach New Member

    Joined:
    Aug 3, 2009
    Messages:
    5
    Not that i know of.
    I went through and Ran a "Validate Syntax" on all the php pages in the folder in TextMate. they all returned without any syntax errors. However when i ran the php, some of them returned with error messages like:

    PhpMate r11069 running PHP 5.3.0 (cli) (/usr/bin/php)
    >>> thanks.php

    PHP Warning: include(/Users/Luke/Library/Caches/TemporaryItems/Transmit/.tmp_qikeah/config.inc.php): failed to open stream: No such file or directory in /Users/Luke/Library/Caches/TemporaryItems/Transmit/.tmp_qikeah/thanks.php on line 19
    PHP Warning: include(): Failed opening '/Users/Luke/Library/Caches/TemporaryItems/Transmit/.tmp_qikeah/config.inc.php' for inclusion (include_path='.:/usr/lib/php') in /Users/Luke/Library/Caches/TemporaryItems/Transmit/.tmp_qikeah/thanks.php on line 19
    PHP Fatal error: Call to undefined function new_smarty() in /Users/Luke/Library/Caches/TemporaryItems/Transmit/.tmp_qikeah/thanks.php on line 27
    Program exited.


    Can i replace these php file with backed up files from December when i know the problem did not exist?
    I'm nervous about doing for obvious reasons of deleting member data etc...
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Yes you can replace files, this will not affect user's info.
  5. keybusinesscoach

    keybusinesscoach New Member

    Joined:
    Aug 3, 2009
    Messages:
    5
    Ok, so I have replaced every .PHP File in the amember directory with file from a December backup and the problem persists. (where's the doctor?)

    The only explanation i can come up with is that the problem lies with my hosting provider.
    This makes more sense anyway as I'm the only one who has access to the server and nothing has been changed by me coding wise.

    Anybody else have another suggestion?
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact me in helpdesk and provide access info I will check what can be wrong.

Share This Page