Author Topic: Categories problems after update to 3.2.0  (Read 18486 times)

aftertaf

  • Jr. Member
  • **
  • Posts: 205
    • sO couture
  • VirtueMart Version: 3.2.14
Re: Categories problems after update to 3.2.0
« Reply #75 on: August 03, 2017, 11:32:22 am »
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
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

aftertaf

  • Jr. Member
  • **
  • Posts: 205
    • sO couture
  • VirtueMart Version: 3.2.14
Re: Categories problems after update to 3.2.0
« Reply #76 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...
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9789
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #77 on: August 05, 2017, 20:33:09 pm »
Which settings do you use in vm config?
the most compatible configuration is with Fallbacks enabled.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9789
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #78 on: August 05, 2017, 20:43:59 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9789
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #79 on: August 07, 2017, 11:30:58 am »
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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

aftertaf

  • Jr. Member
  • **
  • Posts: 205
    • sO couture
  • VirtueMart Version: 3.2.14
Re: Categories problems after update to 3.2.0
« Reply #80 on: August 07, 2017, 14:26:21 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?
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9789
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #81 on: August 09, 2017, 09:43:34 am »
the normal backend dont has this error. So you have something installed in your backend, which creates this error.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Doeke Norg

  • Beginner
  • *
  • Posts: 17
    • SQUID Media
Re: Categories problems after update to 3.2.0
« Reply #82 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.

Code: [Select]
<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

  • Jr. Member
  • **
  • Posts: 205
    • sO couture
  • VirtueMart Version: 3.2.14
[SOLVED FOR ME] Re: Categories problems after update to 3.2.0
« Reply #83 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)
Webmaster for my wife (link in my profile ;)
Extensions / plugins : POSForWebshops, TemplatecreatorCK ,MaximenuCK, and PageBuilderCK, VM BatchEdit Pro, VM CustomFilters Pro, Awocoupon Pro, slogin, supersaas,  among other things...
Joomla! 3.8.6//VM 3.2.14//PHP7.0.18 & mariadb 10.1.22 on Debian
big up to notepad++!!!!

EsSa55

  • Jr. Member
  • **
  • Posts: 53
    • 4FootyFans & 4MovieTVmusicFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.4.2
Re: Categories problems after update to 3.2.0
« Reply #84 on: September 01, 2017, 13:27:20 pm »
Brilliant!

Thanks Doeke Norg

m.davide82

  • Jr. Member
  • **
  • Posts: 125
Re: Categories problems after update to 3.2.0
« Reply #85 on: September 08, 2017, 12:10:32 pm »
Thank you very much, this is FINAL SOLUTION!!!


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.

Code: [Select]
<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

  • Beginner
  • *
  • Posts: 17
    • SQUID Media
Re: [SOLVED FOR ME] Re: Categories problems after update to 3.2.0
« Reply #86 on: September 08, 2017, 19:54:59 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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9789
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Categories problems after update to 3.2.0
« Reply #87 on: September 09, 2017, 12:17:33 pm »
Which I did here
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Doeke Norg

  • Beginner
  • *
  • Posts: 17
    • SQUID Media
Re: Categories problems after update to 3.2.0
« Reply #88 on: September 09, 2017, 13:19:30 pm »
Which I did here
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

  • Jr. Member
  • **
  • Posts: 53
    • 4FootyFans & 4MovieTVmusicFans
  • Skype Name: talk2-4footyfans
  • VirtueMart Version: Live: 3.4.2
Re: Categories problems after update to 3.2.0
« Reply #89 on: September 11, 2017, 12:21:48 pm »
Which I did here
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