← Back to team overview

exponent-cms team mailing list archive

Fatal error with Exp 2.0 when sending a form

 

Hi,

is there any existing solution for this kind of fatal error already:

Fatal error: Smarty error: [in _confirm_form.tpl line 48]: syntax error: 'if' statement requires arguments (Smarty_Compiler.class.php, line 1270) in /customer/home/cust/newww/customer_html/fi/external/Smarty/libs/Smarty.class.php on line 1092

This comes in a form when clicking "Send".

The form doesn't of course send anything since it gets this kind of fatal error and the next page after clicking get half-rendered, not even css in it.

Server info:

PHP Version 5.2.6
System Linux
Server API CGI

Configure Command: 	 './configure' '--disable-force-cgi-redirect' '--enable-discard-path' '--with-gnu-ld' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-mysql=/usr/local/mysql' '--with-mhash' '--enable-wddx' '--with-gd' '--with-zlib' '--with-jpeg-dir' '--with-png-dir' '--with-ttf' '--with-freetype-dir' '--with-mime-magic' '--with-mcrypt' '--with-curl' '--with-openssl' '--enable-ftp' '--with-pdo-mysql=/usr/local/mysql' 

safe_mode off
mysql 5.1.32 
mysqli 5.1.32


BR, Sanna