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

Continue of discuss about /results,1-0 problem in category URL

Started by ViPeS, February 02, 2024, 22:04:41 PM

Previous topic - Next topic

ViPeS

/results,1-0 in categories URLS appeared again in VM 4.2.6 10972
VM 4.4.6 11109, Joomla 5.2.4, PHP 8.3.8

AH

Regards
A

Joomla 4.4.5
php 8.1

Milbo

Please try the attached router, of course remove the .txt, to

/components/com_virtuemart/
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ViPeS

Replaced the router.php file from the VM 4.2.6.10972 package with this one — results,1-0 in category URL disappeared!
Only Google managed to crawl more than 140 Urls, now we have to delete them from Google's cache!
VM 4.4.6 11109, Joomla 5.2.4, PHP 8.3.8

Milbo

That is great. thank you. So now I just need to fix the multiimage upload feature and I need some more reports about paypal checkout, if it is working now.

Then I can do a new version, directly.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

leko

VirtueMart 4.4.4 11101 – Pagination Issue on Search Results Page & Solution 

If you are using VirtueMart 4.4.4 11101 on Joomla 5 with a VirtuePlanet template, you may have encountered a pagination issue after the upgrade on the GFE – Global Frontend Search results page. 

Issue Description: 
The issue occurs when search results contain more than one page. When attempting to navigate to the second page of search results, instead of loading correctly, a 404 error appears. 

I contacted VirtuePlanet support, and they confirmed that the issue is not related to the template but is due to a VirtueMart bug

Solution That Worked for Me: 
After researching the problem, I found a fix by replacing the following files with corrected versions from the VirtueMart repository: 

1️⃣ vmpagination.php 
📂 Path: `administrator/components/com_virtuemart/helpers/vmpagination.php` 
🔗 Download file 

2️⃣ product.php 
📂 Path: `administrator/components/com_virtuemart/models/product.php` 
🔗 Download file 

3️⃣ router.php 
📂 Path: `components/com_virtuemart/router.php` 
🔗 Download file 

How to Apply the Fix? 
1. Download the files from the links above. 
2. Backup your existing files on the server before replacing them. 
3. Replace the old files with the new ones in their respective directories. 
4. Clear Joomla cache and check if the pagination issue is resolved. 

💡 I hope this solution helps others facing the same issue! If you have additional insights or alternative solutions, feel free to share them in the comments. 😊

Jumbo!

Quote from: leko on February 05, 2025, 11:33:01 AMIf you are using VirtueMart 4.4.4 11101 on Joomla 5 with a VirtuePlanet template, you may have encountered a pagination issue after the upgrade on the GFE – Global Frontend Search results page. 

Thank you for sharing the solution with the community. However, the above line is misleading. You face the same issue irrespective of the template you use on your site. It has nothing to do with a VirtuePlanet template.