Virtuemart question for E-sport

GK User
Tue Apr 09, 2013 9:31 am
Hello all,

Joomla 2.5.9 (E-sport template)
Virtuemart 2.0.12f

I have a browser issue with virtuemart's custom fields.
I have created custom fields (size) only for one item to show you what happens.

In Chrome the entire page freezes and nothing responds.
IE and Firefox don't seem to have that problem.

Item with personal fields:
http://estelle.gr/than/index.php/compon ... l?Itemid=0

Item without personal fields:
http://estelle.gr/than/index.php/compon ... l?Itemid=0

I wrote to the virtuemart forum and after checking they told me it has to be a template issue.
I'm really at a loss here because I don't know any other way to specify size for my items in order to bypass personal fields.

Any insight would be appreciated.
If you need codes for backend let me know.

Thank you in advance.
User avatar
Senior Boarder

Konrad M
Tue Apr 09, 2013 2:49 pm
Hi,
please go to /html and change com_virtuemart folder name for a moment. Then please check if issue still exist and let me know.
User avatar

GK User
Tue Apr 09, 2013 4:44 pm
Konrad M wrote:Hi,
please go to /html and change com_virtuemart folder name for a moment. Then please check if issue still exist and let me know.


Hello,
the only com_virtuemart folder I see is in the Components folder and when I rename it I get errors

Warning: require(/home/dcacomgr/public_html/estelle.gr/than/components/com_virtuemart/helpers/cart.php) [function.require]: failed to open stream: No such file or directory in /home/dcacomgr/public_html/estelle.gr/than/modules/mod_virtuemart_cart/mod_virtuemart_cart.php on line 32

Fatal error: require() [function.require]: Failed opening required '/home/dcacomgr/public_html/estelle.gr/than/components/com_virtuemart/helpers/cart.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dcacomgr/public_html/estelle.gr/than/modules/mod_virtuemart_cart/mod_virtuemart_cart.php on line 32


So, maybe i did not understand properly. Where exactly is this com_virtuemart folder you want me to rename?
User avatar
Senior Boarder

Konrad M
Tue Apr 09, 2013 4:46 pm
I talked about templates/gk_esport/html/com_virtuemart
User avatar

GK User
Tue Apr 09, 2013 4:53 pm
Konrad M wrote:I talked about templates/gk_esport/html/com_virtuemart


No, unfortunately the problem insists. I still get a page freeze on the item I have the custom fields.
User avatar
Senior Boarder

Konrad M
Tue Apr 09, 2013 4:55 pm
It means that it is Virtuemart issue. Please ask on their support forum community.
User avatar

GK User
Tue Apr 09, 2013 4:57 pm
Konrad M wrote:It means that it is Virtuemart issue. Please ask on their support forum community.


Thank you! I will!!! :)
User avatar
Senior Boarder

GK User
Tue Apr 16, 2013 1:30 pm
Hello again!

After a long search in forums I got a reply about my problem.
Here goes and I quote (translated):

"The problem lies in gkPopupOverlay, that in Chrome, for reasons I do not know, does not have the attribute "visibility: hidden" (that attribute exists in other browsers) and that attribute is created here gk_esport/js/gk.scripts.js.

If you right click --> Inspect... in a page that freezes, it will lead you directly to gkPopupOverlay.
If you delete display:block or put opacity, you will see why this is happening. You will also see that in Chrome there are only two styles (display και opacity) whereas in Firefox there is also the style Visibility.

Maybe there is something wrong with mootools and the fade initialization the script does. In any case the problem lies in your template and I don't see how Custom Fields should be blamed for any of this."


So, has this shed any light to my problem?
I now have put Personal fields in all the products so, where ever you click http://www.estelle.gr/than you will see how Chrome freezes.

I would really appreciate you having a second look.
Thank you in advance
User avatar
Senior Boarder

Konrad M
Wed Apr 17, 2013 12:04 pm
Try go to this file and find:
Code: Select all
popup_overlay.setStyles({'display': 'block', 'opacity': '0'});

and change it to:
Code: Select all
popup_overlay.setStyles({'display': 'block', 'opacity': '0',visibility:'visible'});

Let me know if it was helpfull.
User avatar

GK User
Thu Apr 18, 2013 8:13 am
The css unfortunatelly didn't work but I made it work another way.

This topic resembled my problem https://www.gavick.com/forums/140/probl ... 24465.html

Inside the Template settings in Virtuemart I activated the "Use of google jquery external library".

So far it works just fine and without problems.

Thank you all for your time as always! :D
User avatar
Senior Boarder


cron