Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Can't select calculator, errors 25.02.2012 19:04

Hi,

I can't select calculator in module (screen: http://www.real-logistics.pl/calc.gif)


On the page - http://www.real-logistics.pl/pl/kalkulator - I've errors:

Warning: Invalid argument supplied for foreach() in /modules/mod_calcbuilder/tmpl/user.php on line 335

Warning: Invalid argument supplied for foreach() in /modules/mod_calcbuilder/tmpl/user.php on line 374

Re: Can't select calculator, errors 25.02.2012 19:17

Hello,

To get rid of Warning messages you can change your Error Reporting level. Go to Global Configuration / Server and change the level to Simple or None.
Then try again your frontend.

Regards,

Moonsoft Team
Moonsoft Team
www.moonsoft.es

Re: Can't select calculator, errors 25.02.2012 19:22

Yeah, but calculator doesn't work at all.

Re: Can't select calculator, errors 25.02.2012 19:34

Hello,

Please send us more infomation and we will try to help:

- Joomla version
- How did you installed? by Extension Manager or by ftp?
- Was any error during install?
- Did you try to reinstall module?

Thanks. Regards,

Moonsoft Team
Moonsoft Team
www.moonsoft.es

Re: Can't select calculator, errors 25.02.2012 19:42

- Joomla version - 1.5.6
- How did you installed? by Extension Manager
- Was any error during install? No
- Did you try to reinstall module? Yes, it doesn't help

Re: Can't select calculator, errors 25.02.2012 20:01

Hi,
think we found your issue. Your joomla version seems to be building the module parameters in a slightly different way that the others (even 1.5.x ones). To get the list of the calculators to choose, please edit the file

joomla\modules\mod_calcbuilder\mod_calcbuilder.xml

and replace at this line


param name="prefsids" type="sql" default="-1" label="Select an article" query="SELECT id, name as title FROM #__calcbuilder_utility ORDER BY name" key_field="id" value_field="title"


(omitted open and close tags)

param name="prefsids" type="sql" default="1" label="Select a calculator" query="SELECT id AS value, name AS prefsids FROM #__calcbuilder_utility"


Tried here and solved the misconfiguration. We also attached the module rebuilt to download at customer download section.

Best regards

Edited by MSTeam - 25.02.2012 20:52
Moonsoft Team
www.moonsoft.es

Re: Can't select calculator, errors 26.02.2012 08:13

Now it works :)
thanks
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback