News:

Looking for documentation? Take a look on our wiki

Main Menu

Product Page Missing after upgrading to VM 4.06

Started by Cpointcc, July 18, 2022, 21:27:40 PM

Previous topic - Next topic

Cpointcc

Hello,

I have updated my client's site from VM 3.88 to 4.06.  My main product page is a category listing of all categories which is working.  When I click on the product category, nothing shows up.  I have a featured products module that works and displays the product info.

I have restored the site back to the VM 3.88 version and all is ok again.

I then tried to manually via the Extensions Update one by one install to see where the site broke.  It was with the main Virtuemart 4.0.6 install.  I have no error message with the error report turned on. I do have an inspector error showing:

product-categories:6 Uncaught SyntaxError: Unexpected string (at product-categories:6:485)

Any suggestions on what else to look for? 


IP   69.167.158.101
URL   https://www.industrialsemi.com
PHP   7.4.30
MySQL   5.7.38
Web server   Apache/2.4.54 (cPanel) OpenSSL/1.1.1q mod_bwlimited/1.4

I have again restored the site back to the version prior to the VM update.

pinochico

QuoteAny suggestions on what else to look for?

No suggestion,
because we don't see your code or debug, we don't want if you use override or not.
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

Cpointcc

Hello,

I have updated the site again.  You should be able to see the broken pages under Product Categories, then choose a category. 

https://snipboard.io/FKXV4j.jpg

https://snipboard.io/usKSZj.jpg

However, the Module for the Special Buys works:  https://snipboard.io/UIwfWv.jpg

The search module no longer works either.

Thank you for helping.




GJC Web Design

there are definitely routing problems with VM4.0.6 but a lot of corrections have been made for the next release which should be shortly...

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

Cpointcc


GJC Web Design

in the lap of the gods but would think a couple of days at most..

BTW ... there is no compulsion to update versions .. it is nice to have the latest but as an early adopter there is always the chance of an undetected bug with any new software....  ;)
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

Cpointcc

I agree, however, I was testing with PHP8 upgrade so I wanted to ensure that wasn't the culprit.  Thanks for your reply.

Cpointcc

I have restored back to my pre vm4 version.  Client can't be down too long.

pinochico

QuoteClient can't be down too long.

I am constantly surprised at the basic mistakes people make here.

The basic lesson of web programmers is - if it works don't upgrade, don't touch the system.
We have sites that are 12 years old and still make money and are functional and people from all over the world keep coming and buying them.

So any complaining about what the client wants is irrelevant at this point - he is not the one who decides whether to upgrade or not, you are the one to blame for doing it and using a still non-functional beta version on a production site, on top of that on untested PHP 8.1 (if you wrote it correctly and it is true)
Excuse it then by what the client wants and that it won't last long - so what?

Is the VM responsible for what I install and set up for the clients?
No, I am solely responsible for that and I have to understand it properly to know that I will suffer the consequences if I make a mistake.
Only me and not VirtueMart

And VirtueMart has no obligation to save my ass.

We have now pushed back 4 eshops for another year. They are on J25 and will last. We would not have made it to the beginning of the season, it is pointless to stress me and clients now.

It will already be a working J4.2 without basic bugs and it looks promising even with the VM version (according to chat).

In the meantime, we better upgrade 20 sites from J15 to J4 (no VM, just core).
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

Roderic

Quote from: pinochico on July 20, 2022, 03:11:36 AM

I am constantly surprised at the basic mistakes people make here.

The basic lesson of web programmers is - if it works don't upgrade, don't touch the system.

Not so sure about that, there are updates to fix security holes etc.
When updating PHP to keep it safe and up to date, you need to update Joomla / VM to keep it compatible.

The VM versions released in the last month or 2 are also not released as "Beta". They also work fine in J3.10. In J4 it needs some work.

pinochico

It's just a matter of perspective.

Yes, we also had one colleague in the collective who was always updating something and constantly solving problems.
We don't have him anymore. Clients were complaining that they had to deal with things all the time and the eshops weren't making money.

Yes, VM4 on J3 after the upgrade already shows the recommended stability for deployment on production eshops.
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