News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[3.6.10] Cannot add/delete categories in Product Edit page

Started by iWim, April 22, 2020, 10:58:18 AM

Previous topic - Next topic

iWim

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

Jörgen

Sound like a js error or cache problem. Do You have cache turned on by your site provider ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

iWim

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

pinochico

Really VirtueMart use this fn.tooltip?

I think is from templaate, isn't it.

better send your URL so that we can better evaluate.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

iWim

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

pinochico

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.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

iWim

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.

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

iWim

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.

Studio 42

mod_expires, need to have json type to 0 secondes, to not cache it.