News:

Support the VirtueMart project and become a member

Main Menu

Categories problems after update to 3.2.0

Started by Geppux, March 27, 2017, 18:50:43 PM

Previous topic - Next topic

aftertaf

Hi,
Still have this issue.
I've tried to run without No Fallback and/or Dual Fallback, and also with 'show english for non translated strings' disabled. All result in the same need to do CTRL F5.
Not tried 'very stable 3.2.3' yet...
will give it a whirl on my test site

aftertaf

tested with com_virtuemart.3.2.3.9614_extract_first.zip and I still have this issue.
With and without No Fallback ticked.

same, even with all caches purged...

Milbo

#77
Which settings do you use in vm config?
the most compatible configuration is with Fallbacks enabled.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Quote from: panagiotiss on June 29, 2017, 12:26:36 PM
These particular servers have the following
php 5.6.30  nginx as proxy cache

Our demo.virtuemart.net works with the same configuration, imho
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Quote from: aftertaf on August 03, 2017, 12:10:23 PM
tested with com_virtuemart.3.2.3.9614_extract_first.zip and I still have this issue.
With and without No Fallback ticked.

same, even with all caches purged...

I think, I found an error on your backend, the browser console shows:
Uncaught TypeError: Cannot read property 'VERSION' of undefined
    at bootstrap-tooltip-extended.min.js:6
    at bootstrap-tooltip-extended.min.js:6
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

aftertaf

Quote from: Milbo on August 07, 2017, 11:30:58 AM
Quote from: aftertaf on August 03, 2017, 12:10:23 PM
tested with com_virtuemart.3.2.3.9614_extract_first.zip and I still have this issue.
With and without No Fallback ticked.

same, even with all caches purged...

I think, I found an error on your backend, the browser console shows:
Uncaught TypeError: Cannot read property 'VERSION' of undefined
    at bootstrap-tooltip-extended.min.js:6
    at bootstrap-tooltip-extended.min.js:6

is that something I can fix?

Milbo

the normal backend dont has this error. So you have something installed in your backend, which creates this error.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Doeke Norg

Had the same problem and found this topic. So I figured I'd post the solution for my particular case. (Your installation might differ!)

As Milbo pointed out they replaced the dropdown with an AJAX-based one; and the problem you / we are having is a browser caching issue. (therefore the refresh-option works).

To speed up our sites, we use a few .htaccess lines to cache javascript files for a month. I found out that the AJAX-request to retrieve the info is also being cached because of these rules.

The solution therefor was simple. Just add this to your .htaccess, and try again. Should fix your problem, IF!!, you have a similar setup.
Javascript will still be cached, but JSON will be excluded <-- this is a good thing.


<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On

# JSON no caching
ExpiresByType application/json                    "access plus 0 seconds"
ExpiresByType application/ld+json               "access plus 0 seconds"
ExpiresByType application/schema+json       "access plus 0 seconds"
ExpiresByType application/vnd.geo+json      "access plus 0 seconds"
ExpiresByType application/xml                     "access plus 0 seconds"
ExpiresByType text/xml                              "access plus 0 seconds"
</IfModule>


aftertaf

Thx I'll give it a try when back home
Man, I owe you a beer !!
:)

copied/pasted exactly what you put in my own .htaccess and now it works perfectly ! 8)

EsSa55


m.davide82

Thank you very much, this is FINAL SOLUTION!!!


Quote from: Doeke Norg on August 14, 2017, 12:10:02 PM
Had the same problem and found this topic. So I figured I'd post the solution for my particular case. (Your installation might differ!)

As Milbo pointed out they replaced the dropdown with an AJAX-based one; and the problem you / we are having is a browser caching issue. (therefore the refresh-option works).

To speed up our sites, we use a few .htaccess lines to cache javascript files for a month. I found out that the AJAX-request to retrieve the info is also being cached because of these rules.

The solution therefor was simple. Just add this to your .htaccess, and try again. Should fix your problem, IF!!, you have a similar setup.
Javascript will still be cached, but JSON will be excluded <-- this is a good thing.


<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On

# JSON no caching
ExpiresByType application/json                    "access plus 0 seconds"
ExpiresByType application/ld+json               "access plus 0 seconds"
ExpiresByType application/schema+json       "access plus 0 seconds"
ExpiresByType application/vnd.geo+json      "access plus 0 seconds"
ExpiresByType application/xml                     "access plus 0 seconds"
ExpiresByType text/xml                              "access plus 0 seconds"
</IfModule>



Doeke Norg

Quote from: aftertaf on August 16, 2017, 14:13:48 PM
Thx I'll give it a try when back home
Man, I owe you a beer !!
:)

copied/pasted exactly what you put in my own .htaccess and now it works perfectly ! 8)

Great. Good to hear!

One thing I would like to note, is that IMHO this is only happening because the JSON data hasn't got the right headers. Therefore I think it would be great if the ajax request can send the proper headers so this thing will never happen in the first place. The whole must-revalidate / date in the past stuff.

My last 5ct for this issue :)

Milbo

Which I did here
Quote from: Milbo on April 11, 2017, 15:25:35 PM
Try this file, extract to components/com_virtuemart/assets/js

I think the servers were just wrong configured, overriding the right headers. Because it works for most people, remind that. And it works when you go to a normal joomla hoster. You do not need todo anything.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Doeke Norg

Quote from: Milbo on September 09, 2017, 12:17:33 PM
Which I did here
Quote from: Milbo on April 11, 2017, 15:25:35 PM
Try this file, extract to components/com_virtuemart/assets/js

I think the servers were just wrong configured, overriding the right headers. Because it works for most people, remind that. And it works when you go to a normal joomla hoster. You do not need todo anything.

Allright, sorry. missed that. I'll just take my nickelback ;-)

EsSa55

Quote from: Milbo on September 09, 2017, 12:17:33 PM
Which I did here
Quote from: Milbo on April 11, 2017, 15:25:35 PM
Try this file, extract to components/com_virtuemart/assets/js

I think the servers were just wrong configured, overriding the right headers. Because it works for most people, remind that. And it works when you go to a normal joomla hoster. You do not need todo anything.

Please explain further: "I think the servers were just wrong configured, overriding the right headers."

TIA