CalcBuilder Forum

Parse error: syntax error, unexpected '=' i

User optimized 2015-08-31 23:27:14

Hi, I am getting:

Parse error: syntax error, unexpected '=' in /home/arbitrate/public_html/components/com_calcbuilder/models/calcbuilder.php(407) : eval()'d code on line 1 at

http://cescon.org/index.php/es/nosotros/calculator-test2

What can be cauaing this problem?

Regards,

Mike

Moonsoft support 2015-09-01 09:47:08

Hi,
that message means you have an error at the 'code' section of your calculator. Most common syntax error is to forget to end each line with a ;
You can double check your code to find any missing ; or comment/delete for a while blocks of your code until you have the form working again, to spot the line containing the issue.


If you are unable to find the syntax error, you can place a ticket at the helpdesk and paste your code there, so we'll take a look.


Hope this helps, regards

User optimized 2015-09-01 16:14:34

Hi,

Our Code Area is currently empty as we did not see any instructions on entering the code on the Spreadsheet integration video.

All the calculations are being made in the spreadsheet

What code should we add ?

Regards,

Mike

Edited by optimized - 01.09.2015 16:54

Moonsoft support 2015-09-01 19:14:32

Hi,
that's right, you can keep your code area empty if you don't need to do any further processing with your inputs and/or outputs. However, is strange because that error is being thrown by the code section, please double check you don't have any missing character saved at that area that could be causing the issue. If you can't see any content there, please export your calculator, zip it and attach to a private ticket (the spreadsheet is not needed) at your helpdesk or share an access to your site and we'll take a look.

Thanks, regards

...
List Manager

Build different lists for your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!