News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[fixed]1.9.8.RC2G Unchecking 'Using the Virtuemart jQuery' destroys administr

Started by grtrustme, September 23, 2011, 23:48:18 PM

Previous topic - Next topic

grtrustme

I m using Firefox (with Firebug), Ubuntu, Joomla 1.7, Virtuemart 2 (latest svn revision). I went to the configuration and unchecked the 'Using the Virtuemart jQuery' and saved it.

Now nothing can be saved in Administration. I get a jscript message that JQuery is not defined.

Tabs do not work, i can not edit Products, i can not edit Configuration, i can not edit anything and i can not enable again JQuery since the Save button (as well as all other script based functions) does not work any more.

grtrustme

And something else on this problem.
In the Front End, when i go in a product and press Add To Cart, it redirects me to the Cart page, but nothing gets added in the cart.

jjk

Quote from: grtrustme on September 23, 2011, 23:48:18 PM
Now nothing can be saved in Administration. I get a jscript message that JQuery is not defined.

Tabs do not work, i can not edit Products, i can not edit Configuration, i can not edit anything and i can not enable again JQuery since the Save button (as well as all other script based functions) does not work any more.

Same here. I've been curious if I have the same problem with the latest revision and disabled it too, because that checkbox didn't produce this problem a few days ago . Did you manage to recover from this meanwhile? I've tried to adjust the checkbox setting in the '_virtuemart_configs' database table 'config' column, but without success.

Update:
Meanwhile I got my adminstration back by re-setting the following values in the table '_virtuemart_configs', column 'config' to:
google_jquery=s:1:"0";
jquery=s:1:"1";

(I missed the google_jquery=s:1:"0"; in my first attempt)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

grtrustme

I recovered from that by going to Tools & Migration > Renew Config By File

So i reset the settings to the default ones!

Milbo

Yeah, the thing is, it is not a bug, it is exactly meant that way, maybe we should add a pirate skull to it :-) .

It is meant for people who heavily work with jquery and who want to replace the jquery provided by vm with there own. Look on this page http://jqueryui.com/download, you see that you can create your own packages.

Of course VM2 does not include all, so when someone creates a plugin/component/module, which needs more functions just adds its own js file and can disable for performance the vm2 one.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

Perhaps it would be a good idea to move these options into the "Dangerous Tools" section and add a big Caution!with a good red Warning! in the tooltip.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Studio 42

Hi,
It's a little mistake, because the checkbox disable it in Front and admin.

I send the fix for broken javascript Admin Back-End on disable it for FE in SVN files