Erase com-virtuemart-menu-paymentmethods from all urls

Started by luiskar, June 09, 2014, 19:07:21 PM

Previous topic - Next topic

luiskar

I don't know why all my urls have now com-virtuemart-menu-paymentmethods, like this: http://url.es/com-virtuemart-menu-paymentmethods/category/product . I'm using vm 2.6, anyone knows how to erase it

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


GJC Web Design

table  #__menu  - find the wrong aliases and change them
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

dsrpmedia

that is a completely unworkable solution - I can `t have my clients tracking me down to edit  thier databases everytime they want to create a menu item!!!

AH

So you have clients that pay you for a solution that you expect to get for free and be supported for free?

Correct me if I am missing something, but the economics of this approach do not seem to stack up.

Of course, if you have donated to the devs or purchased a gold support pack, then you are in luck.

If not, you have options.

Solve the issue yourself
Pay someone to fix it for you
Buy some VM support from the devs
Regards
A

Joomla 3.10.11
php 8.0

GJC Web Design

Can someone with this problem (I assume no mods or devs have it - I certainly haven't in multiple new vm2.6.x installs) try this

I haven't got a site that does it but has someone tried disabling/un-installing the VirtueMart Administrator Menu in admin modules as this is where the aliases are coming from
I mean the strings (and there are different ones) seem always to be aliases from that module
(see the #__menus table) - those strings like com-virtuemart-menu-paymentmethods, com-virtuemart-menu-orders etc are aliases for the VM Admin module menu items

then make a new menu and see if the alias is OK...
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

jenkinhill

In over 40 sites I have upgraded I have not seen this issue. Wish I knew what the affected sites have in common.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

It is very strange - I have never seen as well on any of my sites - today was the first time I have had access to a live site with it (but only JAdmin access .. just doing some config for a client)

His has it (he hadn't even noticed!!)   - but as far as I can see it is all pretty bog standard  - no Xmap

It is an Aussie so he's asleep now but will ask tomorrow if I can have a poke around in it
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

luiskar

Quote from: GJC Web Design on June 11, 2014, 00:15:20 AM
table  #__menu  - find the wrong aliases and change them
It works, the problems was that by default only showed me 30 in #__menu  and i couldn't find it.

PD: Thanks to this probems I figure out how to erase one problem in the url i usually have but know i want to redirect the vm urls. Mi url was mipage.es/tienda/whatever in all vm links and know is mipage.es/whatever. Can I redirect the old url to  the new ?

GJC Web Design

yes - to change the alias direct in the tables will of course work - would be nicer to find WHY they are being formed like this...

your redirect is hardly a VM question - google 301 redirection .htaccess

or just shift the whole install to the root

or in the server management redirect the "base" domain to the tienda folder
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

luiskar

Quote from: GJC Web Design on June 14, 2014, 14:08:57 PM
yes - to change the alias direct in the tables will of course work - would be nicer to find WHY they are being formed like this...

your redirect is hardly a VM question - google 301 redirection .htaccess

or just shift the whole install to the root

or in the server management redirect the "base" domain to the tienda folder
I think i found the problem. If i disable categories layout from my page the urls doesn't show com-virtuemart-menu-paymentmethods in the urls

GJC Web Design

Do u mean you had a menu item for VirtueMart Categories Layout ?  and you unpublished it?

Sadly the site I have access to doesn't have such a menu item - also do you mean any NEW menu you now make hasn't got the faulty string in it?

or old menus with the faulty string are now fixed?  (hard to see how as they are hard coded as aliases)
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

GJC Web Design

User deralex just reported  (and I tried this on a problem site - seemed to work ) that in the Joomla menus dialog if you click "Rebuild" the menu alias is corrected..

saves doing DB stuff

still would be nice to find WHAT causes it initially
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

deralex

Thanks for posting this "solution".  :)
It would be very nice to find the inital causes  :-\