News:

Looking for documentation? Take a look on our wiki

Main Menu

Product upadate not working after upgrade to VM 3.0.10

Started by wonderland, September 20, 2015, 19:43:08 PM

Previous topic - Next topic

wonderland

Hello,

I just upgraded from VM 3.0.9 to VM 3.0.10 and now products don't update after child product via Multi Variant is selected.
Example:
1. Open this link - http://bit.ly/1a6wrFV
2. Under "Auduma krāsa" choose "Dabīgi gaiša"
3. At this point product picture should change, because this is a child product. (You can see how url changes from aizkari/biezie-aizkari to aizkari/biezie-aizkari/dabigi-gaisi) In VM 3.0.9 product was reloaded automatically.
4. Press F5, and you will see that child product will get loaded.

I understand that there was a little problem with V 3.0.10, however, I updated VM just recently, around 20 minutes ago.

Joomla version is - 3.3.6

GJC Web Design

you get a 500 server error  ->  500 - Unable to load renderer class

you can see it here:  http://jonikashop.lv/aizkari/biezie-aizkari/dabigi-gaisi?tmpl=component&format=raw

hmmmm - not sure what that means .. have u tried with the std template to check?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wonderland

#2
Is this some kind of raw output mode?

What do you mean by std template? Standard template? I have tried to remove all template overrides in order to see if there were any errors in my template overrides.

I'm not sure what could have gone so terribly wrong, because everything was ok in v3.0.9.

I also noticed that there is this message in administrator panel "Taking config from file", what does that mean?

Milbo

Taking config from file just means that values in the file are loaded into the config. It is just an hint for people using hidden configs.

For me it looks like your SEF is making trouble. The raw format works for anyone else very well.

Yepp sry, for the problem with the missing layout of the cart. But found 1 hour after the release.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

wonderland

#4
Do you mean search friendly URL?
What could I try to do?
Were there any SEF related changes in v 3.0.10? Because everything was ok for me in V 3.0.9.

EDIT:
Maybe this could generate some ideas:
1. Open this link - http://bit.ly/1a6wrFV
2. Under "Auduma krāsa" choose "Dabīgi gaiša"
3. Press on main product picture, you will see that child product gets loaded.

Olso this:
1. Open this link - http://bit.ly/1a6wrFV
2. Scroll down till you see tabbed content
3. Press on any of tabs, you will also see that child product gets loaded

GJC Web Design

The raw request is the background ajax call to return the "new " product

this , on your install, is failing with the 500 server error

Max suggests that this could be SEF related so first try with your SEF turned off .. see if it works

In cases like this you need to do some experimentation as you are the only one reporting this

By std. template I mean try with protostar to eliminate any template issues
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wonderland

I just tried protostar template and I also disabled everything, every module, every plugin, everything that is not related to VM. And still I have the same problem.


GJC Web Design

QuoteMax suggests that this could be SEF related so first try with your SEF turned off .. see if it works
???????????
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wonderland

#8
I did this also, but with no changes to the situation. I also tried this with protostar template and everything else disabled.

Just to be sure you are referring to setting "SEO Disabled" in SEO section of virtuemart?

GJC Web Design

no -- Joomla  -- so end up with urls like
index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=161&virtuemart_category_id=4&Itemid=123

this is for testing to see if your server has a problem with sef urls
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wonderland

I have disabled both SEF and URL rewriting in Joomla global settings. http://bit.ly/1Fp2MXi


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wonderland

#12
It seems I have found the problem. Looks like I can't use {loadposition xx} in product description, as it breaks the ajax function. Probably not many people use {loadposition xx} in their site, so no one reported this.

Just to be 100% sure, I installed fresh Joomla v3.4.4 and Virtuemart v 3.0.10 and nothing else. I created a new product with multi variant and child product. Everything worked great and then I added {loadposition position-7} to product description after doing this product ajax reload stops working - http://bit.ly/1QsQf5E

I'm not sure if {loadposition xx} should break ajax.

You can login to the demo site and see for yourslef (if you remove {loadposition} and refresh, it will work)

admin
temp123

GJC Web Design

and what are you loading there?

have u tried to load a simple e.g. html module?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

wonderland

I just tried loading HTML module with just one sentence. While the text loads from module, the problem persists, ajax is broken because of {loadposition xx}.

You can log in demo site with credentials provided in previous pest and see that only simple HTML module gets loaded. - http://bit.ly/1V62n3i

In this demo site only Virtuemart is installed, no other plugin or module could be causing this.