CalcBuilder Forum

Front end error

User anonymous 2011-10-18 20:35:45

Hello, I just recently purchased Calc Builde. I keep getting an error on the frontend of this extentiopn, Even if I use the code in the Quick Guide. Here is the errors I keep getting:


Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /components/com_calcbuilder/models/calcbuilder.php(178) : eval()'d code on line 1

Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /components/com_calcbuilder/models/calcbuilder.php(178) : eval()'d code on line 1

Parse error: syntax error, unexpected ';' in /components/com_calcbuilder/models/calcbuilder.php(204) : eval()'d code on line 1

Warning: Invalid argument supplied for foreach() in /components/com_calcbuilder/models/calcbuilder.php on line 211"



Please help!!!

Edited by anonymous - 18.10.2011 20:36

Moonsoft support 2011-10-18 20:37:43

Hello,
that kind of errors usually refer to any missing '$' or ';' symbol at the code section. We suggest to download the first example of calculator (first steps) at calc builder download section:

http://components.moonsoft.es/downloadcalcbuilder

If you import that working calculator you could start working from there. For your case, you should add other input fields and change the sum operation to multiply ( * ) and divide. That should do the work.

...
CalcBuilder

Create dynamic calculators

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!