VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: geisti on January 17, 2019, 09:10:09 AM

Title: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: geisti on January 17, 2019, 09:10:09 AM
Hey Guys,

i am using latest version of joomla and virtuemart and php 7.1

after log in me and customers are not able to click on any tab which are showd in the productdetailpage.

could this be a jquery issue? or is that an template error? i have no idea :/

*edit* related products also not working after login and i am not able to switch between product variants

best regards



Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: GJC Web Design on January 17, 2019, 09:38:03 AM
without a live example/url and test login no one can help
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: geisti on January 17, 2019, 09:41:22 AM
thought i solved it but unfortunately not :/


https://bit.ly/2Csy0OU

demo

demo
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: GJC Web Design on January 17, 2019, 13:26:28 PM
SyntaxError: unexpected token: ')'[Learn More] eee99cfa214fc2db266ecf9f16cbad5f.js:809:8

this is the bundled JCH optimiser JS so you will have to dig in there to see what is going on

the line is

try{2000){alert('Bitte kürzen Sie Ihre Rezension. Maximal erlaubte Zeichen: 2000');return false;}else{return true;}}

escape the ü or try changing to ue
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: geisti on January 17, 2019, 14:45:59 PM
thanks a lot for your help. i really appreciate it

okay i tried to change it to ue and to ü but still the problem.

the only way to get it work is to set "Activate review system for" to "disable"

when i set it to: "Buyers who bought the product" or "Registered users" it is not working.

i get also this information when i disable jch optimiser

Quote{readyState: 4, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, ...}abort: ƒ (e)always: ƒ ()complete: ƒ ()done: ƒ ()error: ƒ ()fail: ƒ ()getAllResponseHeaders: ƒ ()getResponseHeader: ƒ (e)overrideMimeType: ƒ (e)pipe: ƒ ()progress: ƒ ()promise: ƒ (e)readyState: 4responseText: "<!DOCTYPE html><html lang=de-de dir=ltr class="res"setRequestHeader: ƒ (e,t)state: ƒ ()status: 200statusCode: ƒ (e)statusText: "parsererror"success: ƒ ()then: ƒ ()__proto__: Object
template.js?ver=1.4:1583 parsererror
template.js?ver=1.4:1584 SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at p.parseJSON (jquery.min.js?325e23bc92625f5e337e3c7c92a934a2:2)
    at a.parseJSON (jquery-migrate.min.js?325e23bc92625f5e337e3c7c92a934a2:2)
    at jquery.min.js?325e23bc92625f5e337e3c7c92a934a2:2
    at C (jquery.min.js?325e23bc92625f5e337e3c7c92a934a2:2)
    at XMLHttpRequest.n (jquery.min.js?325e23bc92625f5e337e3c7c92a934a2:2)

does that help to find the issue?

kind regards
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: GJC Web Design on January 17, 2019, 20:11:03 PM
it is impossible to debug anything with JCH on .. it combines and minifies everything into one huge long string
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: Studio 42 on January 18, 2019, 02:07:30 AM
Hi, you have 19 loading problems, because mixed contain. YOu should fix this too.
But stop to use JCH the time it's not solved,  so we can help you, sometime the error is only because JCH minifier
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: FDT on February 07, 2019, 07:55:18 AM
we did it but it doesn't help
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: Jörgen on February 07, 2019, 08:31:48 AM
@FDT

Are You talking of geisti problem ? And what Did You do and what happened ?

Jörgen @ Kreativ Fotografi
Title: Re: After Login Virtuemart Tabs in Productdetailpage no clickable
Post by: Studio 42 on February 07, 2019, 13:00:05 PM
My test is successful today