[HELP] Fatal error occured when I want to submit link/article

Discussion in 'PHP' started by ewwing, Aug 9, 2011.

  1. #1
    I installed phpld for my domain _ewwing.com but when visitors click submit link/article something weird always appears like this:

    Fatal error: Smarty error: [in submit.tpl line 100]: syntax error: unrecognized tag 'validate' (Smarty_Compiler.class.php, line 590) in /home/kimarwin/public_html/ewwing.com/libs/smarty/Smarty.class.php on line 1113

    Please help me how can I fix this error? Thanks in advance.
     
    ewwing, Aug 9, 2011 IP
  2. ausrixy

    ausrixy Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    have you tried having your server people reinstall the smarty files?

    also looks like you are trying to do something in submit.tpl that is not recognized, take a look at line 100 in that file.
     
    ausrixy, Aug 10, 2011 IP
  3. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #3
    you need to check first what the error says.. open the submit.tpl file then go to line 100. maybe check a variable named 'validate'
     
    JohnnySchultz, Aug 11, 2011 IP
  4. ZeroGamma

    ZeroGamma Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Although I don't know the smarty framework too well in seems, this looks like one of the files involved is corrupt or has been modified/upgraded incorrectly. I'd recommend downloading a new version of the framework and replacing the faulty file.
     
    ZeroGamma, Aug 11, 2011 IP