CalcBuilder Forum

CalcBuilder throws error.

User moon_831 2012-12-07 19:20:58

If I leve scjquery disabled CalcBuilder does nothing and gives a system message (sort of a pop-up window) that says "Internal Server Error" on evaluation.

If I enable scjquery it gives on evaluation the following error:

Fatal error: Call to undefined method JDocumentRaw::getHeadData() in /home/funwiths/public_html/plugins/system/scjquery/scjquery.php on line 84

How can I fix this?

Moonsoft support 2012-12-07 19:41:20

Hello,


Our Component doesn´t need scjquery plugin to run. If you get "Internal Server Error", please paste here your urls and we'll can take a look at your site and see what could be the problem.


Thanks. Regards,

User moon_831 2012-12-08 12:09:31

Thanks for being willing to help me. Here is the url:
http://funwithsugarandcake.com/index.php/our-prices

Moonsoft support 2012-12-08 18:25:47

I have the same error with the new version on joomla 2.5.8

Moonsoft support 2012-12-08 19:10:08

Hello,
checked the page, and found the component K2 is intercepting your calculator server calls, changing some of the parameters, and resulting on a 500 server error. To avoid this you can try this :

edit JOOMLA/modules/mod_calcbuilder/tmpl/user.php:
search

form.setProperty('id','cb_intform'); (around line 77)

and add in next line:

form.setProperty('method','get');


What we do here is to force the method to 'get' instead of 'post' because it seems k2 doesn't intercept that kind of submit.

Don't know if it's the same case for the other user who posted here. If this doesn't solve the issue, post your url and we'll check it as well.
Regards

User moon_831 2012-12-08 20:49:09

Works. Thanks.

Can you pls have one more look and tell me you I could get all pull down menus (option lists) to the same length rather than having a zigzag in the end?

Edited by moon_831 - 09.12.2012 00:49

Moonsoft support 2012-12-09 00:49:23

not for me...with calcbuilder 2.0 works...2.1 gets internal server error on a clean joomla with the section export example..also tried on another server..same error
please help...this is the second purchased version for me

http://cristi.mobi/joomla

Moonsoft support 2012-12-10 09:16:48

Works. Thanks.

Can you pls have one more look and tell me you I could get all pull down menus (option lists) to the same length rather than having a zigzag in the end?

Edited by moon_831 - 09.12.2012 00:49



Hello,
you can force all inputs have the same size adding a fixed width to the css:

Edit joomla/modules/mod_calcbuilder/assets/css/default.css

and add the preferred width to the cb_form inputbox class:


.cb_form .inputbox {

width:300px;

}

Hope this helps, regards

Moonsoft support 2012-12-10 10:10:42

not for me...with calcbuilder 2.0 works...2.1 gets internal server error on a clean joomla with the section export example..also tried on another server..same error
please help...this is the second purchased version for me

http://cristi.mobi/joomla


Hello,

We checked Section example in Calcbuilder 2.1.0 and we couldn´t reproduce the error. Please open a ticket in Helpdesk, and, if you can, send us the server log or access to your site to check it properly.

Thanks. Regards,

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
Support/development

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

Buy now!