Hey, hey,
I saw a topic about this a couple of days ago, but that was about an outdated version of VM. Mine is up-to-date.
When I create a product, set categories and save all is good.
When I then add or delete a category and save & close all is good.
When I open to edit the product the added category is gone.
When I add or delete a category and save, the added category is gone or the deleted category is back.
Joomla! 3.9.16
VM 3.6.10 10211
PHP 7.3.17
MySQL 5.6.47
Annoyingly: This happens on the live site, but not on my localhost.
My localhost is not an exact copy, but the Joomla/VM versions are the same.
Can you help me solve this?
If you need any more information, let me know.
Thank you.
Wim
Sound like a js error or cache problem. Do You have cache turned on by your site provider ?
Jörgen @ Kreativ Fotografi
Hallo Jörgen,
I found these error/warnings in Firefox console:
(Translated from Dutch, words could be a bit different)
These are the same on the live site and on localhost.
Except for the random number bemind the '?'.
(Warning) This page Uses the non-standaard property 'zoom'. Considder using Calc() in the relevant propertyvalues or use 'transfer' together with 'transfer-origin: 0 0'.
JQMIGRATE: Migrate is installed, version 1.4.1
(Error) TypeError: t.fn.tooltip.Constructor is undefined
<anoniem> http://(...)/media/jui/js/bootstrap-tooltip-extended.min.js?0d90c9e0469751680d78c4f66738c63f:6
<anoniem> http://(...)/media/jui/js/bootstrap-tooltip-extended.min.js?0d90c9e0469751680d78c4f66738c63f:6
I'll contact my webhost on the server cache.
Meanwhile can I see the cache setting somewhere? Joomla System info? Plesk?
Thank you.
Wim
Really VirtueMart use this fn.tooltip?
I think is from templaate, isn't it.
better send your URL so that we can better evaluate.
Hey pinochico,
Thanks for trying to help out.
Not sure if the url can help here: It's on the backend, so the template is Isis.
After clicking around a bit these t.fn.tooltip errors are only on VM pages.
Still waiting on a reply from the webhost about cache though.
Regards,
Wim
QuoteNot sure if the url can help here: It's on the backend, so the template is Isis.
aha, I must really read twice, it't my mistake, sorry
Then I don't understand why in admin and isis you have error about zoom.
Ok, I will testing on my fresh installation anfd waiting for you.
QuoteDo You have cache turned on by your site provider
The webhost didm't quite onderstaand the question... Maybe I asked it wrong.
Anyway... they did tell me where I could find the cache setting in Plesk: it is OPCache and it's turned on.
Turning it off didn't make any difference.
you need to do some deeper study as to what is actually happening ..
look at the network traffic and see what exactly is posted to the server when you save the product.
Cats are sourced by ajax and rendered by chosen so it very JS dependent
I believe I have fixed it. :)
Thanks to all, but the e-beer goes to GJC for suggesting to look at the network traffic.
After that some lightbulbs started to flicker... ???
I had added mod_expires to the .htaccess a while ago.
After I removed it, emtied browser cache, things started to work again as exprected.
mod_expires, need to have json type to 0 secondes, to not cache it.