Forums

upgrade to 4.0.0.6 show parse/syntax error

michaelFFW 10 Dec, 2012
After I updated from 4.0.0.5 to 4.0.0.6 one of my forms stopped working with this error.

Parse error: syntax error, unexpected '{' in /*removed my path*/components/com_chronoforms/form_actions/show_html/cfaction_show_html.php(142) : eval()'d code on line 9

The form was called from a url that passed a token to this form.
It would then use the token to do a db lookup to show user info.

joomla 2.5.8

Thanks Michael
michaelFFW 12 Dec, 2012
Found the error.
Custom code that grabbed value of reg user block value did not have single quotes around.

<?php $blocked = '{block}'; ?>

This worked without quotes in prior version. New version through error.
This topic is locked and no more replies can be posted.