Upgrade from 2.0.22a to 2.0.22b and the webbshop disappeared

Started by Roffer, August 28, 2013, 12:14:41 PM

Previous topic - Next topic

Roffer

I upgraded from 2.0.22a to 2.0.22b and the web shop is no longer showing the category or Products and the menu is corrupt.
http://www.farg1an.se/webbshop/hg-produkter
I have updated joomla to 2,5,14 and everything work OK before I updated to Virtuemart 2,0,22b.
I now wonder if the only thing to do is to deleted Virtuemart and start from beginning again, it´s about a week's hard work to get all the product back on the sight.


[attachment cleanup by admin]

jenkinhill

You have a JavaScript conflict with your Yootheme template, probably involving facebox and one of the many scripts in your template, Changing the setting for Use Fancybox  in VM Configuration/Templates may fix this, or maybe remove some of the "features" from the template.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Roffer

I try use Fancybox, and no change. and I don´t know how to remove some of the "features" from the template.
What did the upgrade from 2.0.22a to 2.0.22b do to the java because it work as it should Before the upgrading?

It seem to work until you click on a category, then it just won’t work.

Maxim Pishnyak

Screen shot of VM settings (Templates tab/Activate Css Styles & Javascripts), please.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Roffer

Here are Screen shot of VM settings. I tryed sepret settings but nothing seem to change.
Yoo-team tells me that; "The problem here is that the VM JavaScript are loaded before jQuery is loaded on the site."

[attachment cleanup by admin]

Maxim Pishnyak

In general Yoo Team said you that they doesn't support using VM on Flux template. What a surprise?

Probably you are trying to combine template and shopping cart that both were are not planned to be combined.

Be informed that template MUST support shopping cart. So decision where to load jquery goes to VM. I'm sorry.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

jenkinhill

I just looked at your site again this morning and it seems you have turned off VM's jQuery loading in VM configurattion/template.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Roffer

1.  Yoo team Flux template have I had for 3 years and it works well whit Virumart. First 2 years whit VM1 and now about 1 year whit VM2.
The last update mixed things up and know it don’t work, as you can see. Something happened when I updated from 2.0.22a to 2.0.22b and the web shop disappeared. It seems to get of the template when I click on any article or category in the shop.

The flux templet have suport the shopping cart up to the last update, so to blame yoo team is a little low.

2. I have turned off VM's jQuery loading in VM because I read that this can address some issues between VirtueMart and templates / component / modules.
But it have no effect on my problem. I have turned it on again now.
So is there any fix for this or must I delete the whole thing and start over again?

Maxim Pishnyak

1. Can you see VM in Flux demo?
Quote from: Roffer on August 29, 2013, 11:20:05 AM
The last update mixed things up and know it don't work, as you can see. Something happened when I updated from 2.0.22a to 2.0.22b and the web shop disappeared.
For resolving such issues it could be useful to compare 22a and 22b web shop installations. Could you provide links to both?
2. You did right move for jQuery.js.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Roffer

1. I have used Flux in Three (3) years and it has worked for me to now, whit the last update. Something in that update got my shop to close down.
2. NO. I can’t provide links to both, it´s the 22b web shop installations that I have now.

It´s seem that no one are having any solution to this problem so I think I need to start from scratch again, not sure that VM are going to be my first option.

jenkinhill

The only js file change between 2.0.22a and b was in vmprices.js

But I have now had time to compare a page that displays OK and one that does not. Your template inserts some additional width code into each header.
In the page that displays OK it is

<style type="text/css">body { min-width: 1200px; }
.wrapper { width: 1200px; }
#main-shift { margin-left: 215px; }
#left { width: 200px; }
#menu .dropdown { width: 250px; }
#menu .columns2 { width: 500px; }
#menu .columns3 { width: 750px; }
#menu .columns4 { width: 1000px; }
</style>

and in the broken page it is:

<style type="text/css">body { min-width: 0; }
.wrapper { width: 0; }
#main-shift { margin-left: 0px; }
#left { width: 0px; }
#menu .dropdown { width: 0px; }
#menu .columns2 { width: 0px; }
#menu .columns3 { width: 0px; }
#menu .columns4 { width: 0px; }
</style>

So the page wrapper is given zero width. Not wide enpough to display anything. Why it does this I do not know, but maybe Yoothemes do.

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum