variables should be assigned by reference

clubaero 25 Dec, 2013
Hi Bob
You can see my Choroform built with custom coded html working properly here: http://clubaero.nl/en/enrollmentform
It also works okay running offline, hosted on my laptop with Wampserver.
I copied the website offline to another computer (32 bit windows 7 with a slightly newer version of Wampserver) and I got this error:

Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\j32\plugins\system\nnframework\helpers\protect.php on line 172

In the php.ini settings I then changed the maximum execution time of each script, in seconds from 30 to:
max_execution_time = 120
When I now try to open the form, after a long wait I now get a stream of errors like this:

Strict standards: Only variables should be assigned by reference in C:\wamp\www\j32\administrator\components\com_chronoforms\form_actions\show_html\cfaction_show_html.php(142) : eval()'d code on line 6
Strict standards: Only variables should be assigned by reference in C:\wamp\www\j32\components\com_chronoforms\libraries\includes\data_republish.php(25) : eval()'d code on line 35
Strict standards: Only variables should be assigned by reference in C:\wamp\www\j32\administrator\components\com_chronoforms\form_actions\show_html\cfaction_show_html.php(142) : eval()'d code on line 6


Under all the error displays a messed up attempt to output the form appears – you can see the screenshot in the attachment.
In a ‘stackoverflow’ forum http://stackoverflow.com/questions/11777908/strict-standards-only-variables-should-be-assigned-by-reference-php-5-4 they advise removing the ‘&’ from the code. Unfortunately this doesn’/t apply to the Chronoforms scripts where the errors are occurring (there is no ‘&’ in the code lines noted specified in the error messages).
Can I do anything else in the Chronoform scripts to correct this?
In the mean time I shall try the new Chronoforms version 5 to see if that helps….. (happy Christmas!)
GreyHead 25 Dec, 2013
Hi clubearo,

Please see this FAQ

The check what the problem is with the nnframework - I don't know what that is??

Bob
clubaero 08 Jan, 2014
Hallo Bob
NNframeworks is a part of a system plugin which is installed by the Joomla extension 'modules anywhere' - which seems to do much the same as {loadposition mypos}.
GreyHead 08 Jan, 2014
Hi clubaero,

Sounds to me like a problem with nnframework, using the ChronoForms module should avoid it.

Bob
This topic is locked and no more replies can be posted.