Author Topic: [3.6.10] Cannot add/delete categories in Product Edit page  (Read 2198 times)

iWim

  • Jr. Member
  • **
  • Posts: 75
[3.6.10] Cannot add/delete categories in Product Edit page
« on: April 22, 2020, 10:58:18 am »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3853
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #1 on: April 22, 2020, 11:39:15 am »
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

  • Jr. Member
  • **
  • Posts: 75
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #2 on: April 24, 2020, 09:55:40 am »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1441
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #3 on: April 24, 2020, 14:00:06 pm »
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

  • Jr. Member
  • **
  • Posts: 75
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #4 on: April 24, 2020, 17:59:54 pm »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1441
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #5 on: April 24, 2020, 19:18:16 pm »
Quote
Not 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

  • Jr. Member
  • **
  • Posts: 75
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #6 on: April 25, 2020, 16:13:57 pm »
Quote
Do 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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10422
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #7 on: April 25, 2020, 17:03:40 pm »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

iWim

  • Jr. Member
  • **
  • Posts: 75
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #8 on: April 28, 2020, 12:54:29 pm »
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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4608
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: [3.6.10] Cannot add/delete categories in Product Edit page
« Reply #9 on: April 28, 2020, 18:00:19 pm »
mod_expires, need to have json type to 0 secondes, to not cache it.