I updated from 2.5.5 and get a duplicated menu. (joomla 2.5.19)
Except that, It looks a great solid rock version ;)
(http://dibuxo.com/images/stories/vm2_6_0_bug.png)
Works fine for me?
Quote from: gersput on April 07, 2014, 18:27:40 PM
I updated from 2.5.5 and get a duplicated menu. (joomla 2.5.19)
Except that, It looks a great solid rock version ;)
(http://dibuxo.com/images/stories/vm2_6_0_bug.png)
Mine is same :-( ... but "only" 2 times
I have the same problem: all the icons appear twice
Not that I have a solution, just for curiosity, how many languages do you have enabled?
Hello
Yes some of you have a lot of submenus with a an unknown parent, but of type com_virtuemart
Please try this version.
[attachment cleanup by admin]
Thanks for the patch. I presume this should be extracted and pasted over the existing install of Virtuemart? Or is this a standalone module to install through the Extensions menu?
Hello
It is a stand alone menu. You can unpublish it from the module manager.
I am trying to find out why some of you have entries with the wrong parent id.
The sql to look at the orphans entries is
SELECT m.id, m.title, m.alias, m.link, m.parent_id, m.img, e.element FROM `#__menu` as m
LEFT JOIN #__extensions AS e ON m.component_id = e.extension_id
WHERE m.client_id = 1 AND e.enabled = 1 AND m.id > 1 AND e.element = 'com_virtuemart'
AND ( m.parent_id!=1 AND m.parent_id !=
(SELECT m.id FROM `#__menu` as m
LEFT JOIN #__extensions AS e ON m.component_id = e.extension_id
WHERE m.parent_id=1 AND m.client_id = 1 AND e.enabled = 1 AND m.id > 1 AND e.element = 'com_virtuemart'))
ORDER BY m.lft
ofc, to be used with care
I don't know if it will help, but here's the results of your query on my instance, semicolon separated.
269;"COM_VIRTUEMART_MENU_CATEGORIES";"com-virtuemart-menu-categories";"index.php?option=com_virtuemart&view=category";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-categories.png";"com_virtuemart"
257;"COM_VIRTUEMART_MENU_CATEGORIES";"com-virtuemart-menu-categories";"index.php?option=com_virtuemart&view=category";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-categories.png";"com_virtuemart"
270;"COM_VIRTUEMART_MENU_PRODUCTS";"com-virtuemart-menu-products";"index.php?option=com_virtuemart&view=product";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-products.png";"com_virtuemart"
258;"COM_VIRTUEMART_MENU_PRODUCTS";"com-virtuemart-menu-products";"index.php?option=com_virtuemart&view=product";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-products.png";"com_virtuemart"
271;"COM_VIRTUEMART_MENU_ORDERS";"com-virtuemart-menu-orders";"index.php?option=com_virtuemart&view=orders";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-orders.png";"com_virtuemart"
259;"COM_VIRTUEMART_MENU_ORDERS";"com-virtuemart-menu-orders";"index.php?option=com_virtuemart&view=orders";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-orders.png";"com_virtuemart"
272;"COM_VIRTUEMART_MENU_REPORT";"com-virtuemart-menu-report";"index.php?option=com_virtuemart&view=report";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-report.png";"com_virtuemart"
260;"COM_VIRTUEMART_MENU_REPORT";"com-virtuemart-menu-report";"index.php?option=com_virtuemart&view=report";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-report.png";"com_virtuemart"
273;"COM_VIRTUEMART_MENU_USERS";"com-virtuemart-menu-users";"index.php?option=com_virtuemart&view=user";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shoppers.png";"com_virtuemart"
261;"COM_VIRTUEMART_MENU_USERS";"com-virtuemart-menu-users";"index.php?option=com_virtuemart&view=user";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shoppers.png";"com_virtuemart"
274;"COM_VIRTUEMART_MENU_MANUFACTURERS";"com-virtuemart-menu-manufacturers";"index.php?option=com_virtuemart&view=manufacturer";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-manufacturers.png";"com_virtuemart"
262;"COM_VIRTUEMART_MENU_MANUFACTURERS";"com-virtuemart-menu-manufacturers";"index.php?option=com_virtuemart&view=manufacturer";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-manufacturers.png";"com_virtuemart"
275;"COM_VIRTUEMART_MENU_STORE";"com-virtuemart-menu-store";"index.php?option=com_virtuemart&view=user&task=editshop";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shop.png";"com_virtuemart"
263;"COM_VIRTUEMART_MENU_STORE";"com-virtuemart-menu-store";"index.php?option=com_virtuemart&view=user&task=editshop";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shop.png";"com_virtuemart"
276;"COM_VIRTUEMART_MENU_MEDIAFILES";"com-virtuemart-menu-mediafiles";"index.php?option=com_virtuemart&view=media";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-media.png";"com_virtuemart"
264;"COM_VIRTUEMART_MENU_MEDIAFILES";"com-virtuemart-menu-mediafiles";"index.php?option=com_virtuemart&view=media";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-media.png";"com_virtuemart"
277;"COM_VIRTUEMART_MENU_SHIPMENTMETHODS";"com-virtuemart-menu-shipmentmethods";"index.php?option=com_virtuemart&view=shipmentmethod";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shipmentmethods.png";"com_virtuemart"
265;"COM_VIRTUEMART_MENU_SHIPMENTMETHODS";"com-virtuemart-menu-shipmentmethods";"index.php?option=com_virtuemart&view=shipmentmethod";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shipmentmethods.png";"com_virtuemart"
278;"COM_VIRTUEMART_MENU_PAYMENTMETHODS";"com-virtuemart-menu-paymentmethods";"index.php?option=com_virtuemart&view=paymentmethod";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-paymentmethods.png";"com_virtuemart"
266;"COM_VIRTUEMART_MENU_PAYMENTMETHODS";"com-virtuemart-menu-paymentmethods";"index.php?option=com_virtuemart&view=paymentmethod";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-paymentmethods.png";"com_virtuemart"
279;"COM_VIRTUEMART_MENU_CONFIGURATION";"com-virtuemart-menu-configuration";"index.php?option=com_virtuemart&view=config";"268";"components/com_virtuemart/assets/images/icon_16/menu-icon16-config.png";"com_virtuemart"
267;"COM_VIRTUEMART_MENU_CONFIGURATION";"com-virtuemart-menu-configuration";"index.php?option=com_virtuemart&view=config";"256";"components/com_virtuemart/assets/images/icon_16/menu-icon16-config.png";"com_virtuemart"
282;"COM_VIRTUEMART_MENU_CATEGORIES";"com-virtuemart-menu-categories";"index.php?option=com_virtuemart&view=category";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-categories.png";"com_virtuemart"
283;"COM_VIRTUEMART_MENU_PRODUCTS";"com-virtuemart-menu-products";"index.php?option=com_virtuemart&view=product";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-products.png";"com_virtuemart"
284;"COM_VIRTUEMART_MENU_ORDERS";"com-virtuemart-menu-orders";"index.php?option=com_virtuemart&view=orders";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-orders.png";"com_virtuemart"
285;"COM_VIRTUEMART_MENU_REPORT";"com-virtuemart-menu-report";"index.php?option=com_virtuemart&view=report";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-report.png";"com_virtuemart"
286;"COM_VIRTUEMART_MENU_USERS";"com-virtuemart-menu-users";"index.php?option=com_virtuemart&view=user";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shoppers.png";"com_virtuemart"
287;"COM_VIRTUEMART_MENU_MANUFACTURERS";"com-virtuemart-menu-manufacturers";"index.php?option=com_virtuemart&view=manufacturer";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-manufacturers.png";"com_virtuemart"
288;"COM_VIRTUEMART_MENU_STORE";"com-virtuemart-menu-store";"index.php?option=com_virtuemart&view=user&task=editshop";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shop.png";"com_virtuemart"
289;"COM_VIRTUEMART_MENU_MEDIAFILES";"com-virtuemart-menu-mediafiles";"index.php?option=com_virtuemart&view=media";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-media.png";"com_virtuemart"
290;"COM_VIRTUEMART_MENU_SHIPMENTMETHODS";"com-virtuemart-menu-shipmentmethods";"index.php?option=com_virtuemart&view=shipmentmethod";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-shipmentmethods.png";"com_virtuemart"
291;"COM_VIRTUEMART_MENU_PAYMENTMETHODS";"com-virtuemart-menu-paymentmethods";"index.php?option=com_virtuemart&view=paymentmethod";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-paymentmethods.png";"com_virtuemart"
292;"COM_VIRTUEMART_MENU_CONFIGURATION";"com-virtuemart-menu-configuration";"index.php?option=com_virtuemart&view=config";"281";"components/com_virtuemart/assets/images/icon_16/menu-icon16-config.png";"com_virtuemart"
I uninstalled the Virtumart Administrator Menu with the duplicates and installed the new module attached to this thread. Now the menu doesn't show at all, and the module has this instead of the version and release date on the management screen: ${PHING.VM.RELEASE} ${PHING.VM.RELDATE}
I tried uninstalling and reinstalling with the same result.
Any thoughts?
Better the duplicates than nothing.
Check the xxxxx_menu table in your database. If there are no VirtueMart entries, you probably lost them. That's why it is always a good idea to produce a backup before making changes.
I just had just cut the module folder (moved it to my desktop) and pasted the new one, which worked. The ${PHING.VM.RELEASE} makes me think that you used the Joomla extension installer to install the new module.
Ah, yes, that's why I asked the question about whether it was stand alone (to be installed by the extensions manager) or I should copy the files over via FTP.
I misunderstood your response. No biggie. I can get it from backup.
Thanks.
Sadly, getting from backup did not work. The #_menu entries are are still there, but the menu is no longer connected to them.
Recovering the files from backup, zipping them, and reinstalling with the extension manager removed the problem with the release date and version, but still no menu displays, either before or after copying the patch over the existing files.
Any thoughts as to how I can restore the connection?
Hello
QuoteI uninstalled the Virtumart Administrator Menu with the duplicates and installed the new module attached to this thread. Now the menu doesn't show at all, and the module has this instead of the version and release date on the management screen: ${PHING.VM.RELEASE} ${PHING.VM.RELDATE}
${PHING.VM.RELEASE} ${PHING.VM.RELDATE} are tags in the php/xml files that are replaced when we do an official release.
So it is not an error.
I am still trying to find out why some of you have those entries in the table. I am not able to reproduce the problem.
The VM admin menu item won't show up at the top for me either...running Joomla 2.5.19, VM 2.6 on PHP 5.3.5. I checked the module "Administrator VM Menu" and it's set to "menu" position and is published.
Quote from: klattr1 on April 11, 2014, 15:11:26 PM
Joomla 2.5.19, VM 2.6 on PHP 5.3.5.
Minimum required PHP version is 5.3.10 http://virtuemart.net/news/latest-news/456-virtuemart-are-proud-to-release-vm2-6 - I doubt if that affects the menu display, though.
Hello
Are you using the one i have posted here https://forum.virtuemart.net/index.php?topic=123213.msg420662#msg420662?
Quote from: alatak on April 11, 2014, 10:30:13 AM
${PHING.VM.RELEASE} ${PHING.VM.RELDATE} are tags in the php/xml files that are replaced when we do an official release.
So it is not an error.
I am still trying to find out why some of you have those entries in the table. I am not able to reproduce the problem.
The ${} codes were fixed by the restore. What had gotten lost was the admin menu positioning. Thanks to someone else mentioning theirs had that, I was able to get the menu to display again. However, it still contains the duplicate values. I can delete them from the database, but I'll leave them for now in case they can somehow help you track down the hiccup that caused them.
Quote from: alatak on April 11, 2014, 19:16:38 PM
Hello
Are you using the one i have posted here https://forum.virtuemart.net/index.php?topic=123213.msg420662#msg420662?
I upgraded to PHP 5.4.11 and still no luck. Even installed the revised module alatak posted. Nothing shows up in the admin menu.
klattr1 you have no component link at all to VM? That is usually related to xmap. http://forum.virtuemart.net/index.php?topic=116292
jenkinhill, thanks for your tips. I tried disabling xmap but it didn't fix the issue...but this did!!
http://forum.virtuemart.net/index.php?topic=101120.msg336673#msg336673
If the problem occurs do the following:
- go to the table "jos_extensions"
- search the entry with field "name" = virtuemart
- note the value of the field "extension_id"
- than go to the table "jos_menu"
- search the entry with field "title" = COM_VIRTUEMART
- change the field "component_id" to the value of the field "extension_id" from table "jos_extensions"
Than reload the Joomla-adminsite and it should work.
I had the same problem.
i had to go to joomla_menu table and delete all duplicate items in the database.
Just to confirm that the problem exists - I had also this issue on fresh install. Still having it, but will find some time to delete from database fields.
Did nothing and after few hours problem disappeared by itself.
And to make things more complicated, on a mirror system, I did the upgrade and it ran smoothly with no duplicates unlike the first system. So...looks like this is an intermittent problem, which makes it a pain to solve.
Have exactly the same issue as commented here but tbh it doesnt bother me much. More ways to access the shop ;D
Just to quickly solve the appearance
( for the ones like me who doesn't know a lot about programming en php)
=> delete the tables wich appears several times ... in joomla menu
joomla 2.5.19
vm 2.6.0
php 5.4.27
[attachment cleanup by admin]
While that solves the display, it doesn't help why it happened.
Also, please be careful directly editing the database. There is no undo, and if you remove something that's not part of this menu, you could lose access to something critical...like your system configurations.
Yes, you're right. That do not solve the bug at all !!.
But , as it is a "small bug" wich not affect the system, the virtuemart beginner users probably want to find a workaround in a first time.
=> It is only in this focus i post this .
rule N°1: In any case you play with the database, you need to first make a backup !
joomla 2.5.19
vm 2.6.0
php 5.4.27
Well, to be honest, this is the type of solution I often do (going into the DB to fix bugs), but a lot of folks using these programs have no DBA background.
The trouble with backups is that in my case, and probably in many others since it's an intermittent issue, this didn't happen in my dev update, only in one of my live systems. So a backup doesn't do me any good unless I've locked out the system during production hours (which on the web is 24/7 because of timezones).
That's why I am just ignoring it rather than doing an interim fix.
I just wanted to put it out there because there are no warnings in your initial post, and I've had clients who would see that, say it's easy, and off they go on their own with disastrous results :).
My doubt left is can a future VM version fix this? is it possible?
Regards
The reason why it happened is already fixed and we will provide an "a" version soon. It is as far as I know the biggest fail in vm2.6, the rest is good. And as marfisk pointed out,... it did not happen always! just sometimes. Valerie posted also already an updated version.
Hello
@lindapowers
QuoteHave exactly the same issue as commented here but tbh it doesnt bother me much. More ways to access the shop ;D
And the new module posted does not fix it?
Can you send me via skype the 2 tables #__menu and #__extensions.
I will try to understand why the new module does not work.
Thank you.
Quote from: alatak on April 24, 2014, 10:45:07 AM
Hello
@lindapowers
QuoteHave exactly the same issue as commented here but tbh it doesnt bother me much. More ways to access the shop ;D
And the new module posted does not fix it?
Can you send me via skype the 2 tables #__menu and #__extensions.
I will try to understand why the new module does not work.
Thank you.
Hi Valérie
I unistalled the module from the backend and then also deleted it from ftp since it didnt allowed me to install it.
The module completely dissapared and now we have simply the link under "components" which is actually what we wanted, dont know if that is the expected solution though.
Regards
Same problem here.
I use xmap too, joomla 2.5.19, PHP 5.5.11
And when i create a new category, SEF path created is /COM_VIRTUEMART_MENU_ORDERS/XXXXXXXXXX or /COM_VIRTUEMART_MENU_PRODUCTS/XXXXXXXXXX so i need to delete the first part manually in the DB.
Is it related?
BTW I use Xmap too in case that matters.
Hello
ok,interesting. I will test with xmap.
My only duplicate _ menu. But the rest is OK.
[attachment cleanup by admin]
Hello
:D, looks like we are drunk ;)
Are you using the new VM menu module ? or the one which is included in the release?
If you are using the one included in the release, please test that one http://forum.virtuemart.net/index.php?topic=123213.msg420662#msg420662
Otherwise, please send me via MP or skype the dump of the extension and menu table.
FYI, I'm using the new module and it didn't change anything, but even uninstalling the original module didn't remove the duplicate entries so when I added the new one, they were still in the database.
I'm not sure how the new module is supposed to affect that.
Hello
Yep I think I deserved that - And the Very Australian saying ":D, looks like we are drunk ;)" ?
- but the Module works and there is no duplicates anymore.
catchya thanks
john2400
Quote from: alatak on April 25, 2014, 12:02:20 PM
Hello
:D, looks like we are drunk ;)
Are you using the new VM menu module ? or the one which is included in the release?
If you are using the one included in the release, please test that one http://forum.virtuemart.net/index.php?topic=123213.msg420662#msg420662
Otherwise, please send me via MP or skype the dump of the extension and menu table.
This solve for me. No more duplicated items in menu
TY Alatak
just to let you know
I got the duplicate menu when I installed the aio twice
first time it was ok
the second time I got the double menu
menu is ok now - no double entries
disabled module
uninstalled xmap
reinstalled vm 2.6 + aio
enabled module
no more double entries