VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: babylon5 on April 12, 2012, 08:37:15 AM

Title: VM menue gone after update to 2.0.4
Post by: babylon5 on April 12, 2012, 08:37:15 AM
After updating vm 2.0.2 and aio 2.02 to 2.0.4 the virtuemart menue within the components menue is gone. So I cannot reach the shop. Clearing the browser cache does not help.

Any ideas???

Babylon5
Title: Re: VM menue gone after update to 2.0.4
Post by: pkornmeier on April 16, 2012, 09:53:59 AM
I´m having the same problem.
Title: Re: VM menue gone after update to 2.0.4
Post by: jenkinhill on April 16, 2012, 10:22:58 AM
This will be the Joomla 2.5 installer. Try to install again, do not uninstall first. It will not delete any products/images etc.
Title: Re: VM menue gone after update to 2.0.4
Post by: pkornmeier on April 16, 2012, 16:16:29 PM
How should I install VM without the Joomla installer? I tried to install with the VM update function, but it did not work, I got an error. I installed it several times with Joomla installer, but the component menue ist still gone. Any Idea?
Title: Re: VM menue gone after update to 2.0.4
Post by: jenkinhill on April 16, 2012, 21:29:01 PM
Install with the Joomla Extension Manager in the same way that you would install any Joomla component, module or plugin.
Title: Re: VM menue gone after update to 2.0.4
Post by: pkornmeier on April 18, 2012, 10:19:09 AM
I installed it with the Joomla Extension Manager, but still no virtueamart in the menue. So I tried the VM 2.0.6 Update still the same. Any Idea?
Title: Re: VM menue gone after update to 2.0.4
Post by: jenkinhill on April 18, 2012, 12:58:42 PM
The fix for this (and any other component that is installed but not on the menu) is to open up the database in phpMyAdmin and look in the xxx_extensions table for the VirtueMart component entry. Check the content of the "enabled" field. It should be 1 but yours may show 0  - edit it to 1 and the component will then show in the Joomla BE menu.

Before doing that you could try using the Discover facility in the Extension Manager  - somebody reported this worked for a Community Builder component install on J2.5 that failed to appear in the components menu.

What PHP version are you using? Is it an overloaded shared server you are using?

There are also many reports here on the forum that having Xmap installed without the current VirtueMartplugin prevents the VM component from registering in the database, the anwer there is to add in the plugin and use Joomla 2.5's discovery feature. If you already have the Xmap VM plugin enabled, then disable it,  save, and then re-enable it. The link returns
Title: Re: VM menue gone after update to 2.0.4
Post by: pkornmeier on April 19, 2012, 10:03:14 AM
Hi Kelvyn,

thanks a lot for your help. The entry for virtuemart is enabled in the jos_extensions table, so that´s not the problem. But this brought me to the solution of the problem.

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 don´t why this happen, but may be it´s because my Joomla-Installation was migrated from version 1.5



Title: Re: VM menue gone after update to 2.0.4
Post by: jenkinhill on April 19, 2012, 15:30:22 PM
Interesting solution. There are odd reports of installation issues with other components on J2.5 too, so it may not be related to your migration. Good that it now works.
Title: Re: VM menue gone after update to 2.0.4
Post by: brandongay on April 19, 2012, 16:20:58 PM
My installation does not have a "field "title" = COM_VIRTUEMART"  What do I do from there?

Thanks
Title: Re: VM menue gone after update to 2.0.4
Post by: Georgios Kolomvos on October 09, 2012, 21:54:24 PM
Quote from: pkornmeier on April 19, 2012, 10:03:14 AM
...
- change the field "component_id" to the value  of the field "extension_id" from table "jos_extensions"

Thank you pkornmeier, your solution worked great for me.
I had the same problem (Virtuemart link disappeared from the components menu at Joomla Back-End) when i upgraded from VM2.0.8e to VM2.0.12b with Xmap installed.
I do not know why it happened. But since it is solved, everything is OK ...
Title: Re: VM menue gone after update to 2.0.4
Post by: webzie on October 09, 2012, 22:01:58 PM
FYI, after upgrading to vm 2.0.12b I lost VirtueMart in the components menu, but virtuemart-aio was still showing. Because I had backed-up, I figured out that virtuemart-aio had taken the ID form com_virtuemart in the #_menu table in PHP-admin.  So the com_virtuemart-entry had been overwritten by the virtuemart-aio-entry. After manually adding a table-entry for virtuemart component with a new ID, it showed again in the menu.
Title: Re: VM menue gone after update to 2.0.4
Post by: winstart on November 07, 2012, 09:33:40 AM
liked to do so but in my _menu i don't have de Virtuemart, only the Virtuemart AIO
i can make one, but can anyone tell me all the values??

:) Annelies
Title: Re: VM menue gone after update to 2.0.4
Post by: saviB on November 14, 2012, 18:36:20 PM
VM was set to 1 in my DB. I had to uninstall XMAP (and all its modules) then re-install VM. DONT UNINSTALL VM FIRST!
Title: Re: VM menue gone after update to 2.0.4
Post by: CE WebDesign München on December 07, 2012, 14:08:08 PM
same problem when i upgraded from VM2.0.8c to VM2.0.14 with Xmap installed.
And again from VM2.0.14 to VM2.0.15b.
So pkornmeier-fix works (thanks!) but has to be repeated...
Title: Re: VM menue gone after update to 2.0.4
Post by: sandstorm on December 20, 2012, 14:02:22 PM
I just had same problem upgrading from 2.0.12 to 2.0.14.

After upgrading AIO I lost my Virtumerat link in components.

To Fix I;

Uninstalled XMAP
Re - installed VM2.0.14 - NOT UNINSTALL FIRST

& this seems to have fixed the problem ??  ODD
Title: Re: VM menue gone after update to 2.0.4
Post by: franzpeter on December 22, 2012, 14:29:55 PM
The same thing happened updating from VM 2.0.14 to VM 2.0.16. The backend menu entry for Virtuemart was gone. I think the problem depends on how the update was done. I did, because the automatic update is still not available, by downloading the 2.0.16 files from the developer portal and installed the VM component install and the aio install.
Comparing the component id for VM 2 in the Joomla Backend with the component id in the database table (menu) did show, that they differed.
The way copying the one from the Joomla Backend into the database menu entry for VM component did solve the problem.
Title: Re: VM menue gone after update to 2.0.4
Post by: CE WebDesign München on December 22, 2012, 16:14:42 PM
Solved for me (J2.5.8 + VM2.0.14):
Updated XMAP to 2.3.2 first and than VM2.0.14 to VM2.0.16 and the VM-link is still there
(after loosing it 2 times on VM-updates before and editing/fixing it in the database)!
Happy X-Mass
Title: Re: VM menue gone after update to 2.0.4
Post by: CE WebDesign München on January 10, 2013, 01:32:20 AM
ups, vm-link vanished again,
in my case the xmap virtuemart-plugin is disabled, that is the (my) problem:
when enabled, vm-link is ok after vm-update.
so it works for me when i enable xmap virtuemart-plugin, update vm and disable xmap virtuemart-plugin...
for now i uninstalled that plugin, works too, if needed again just update xmap again...

thanks to gruz here: http://forum.virtuemart.net/index.php?topic=95542.msg327008#msg327008
Title: Re: VM menue gone after update to 2.0.4
Post by: Anne42 on January 13, 2013, 15:39:27 PM
Hello,

I just upgraded my Joomla version to 2.0.12 and now I can't find Virtuemart and Virtuemart AIO or any component actually. I used jUpgrade and when I looked into the menu item it says "Component 'com_virtuemart' does not exist"

(http://i.imgur.com/HjGB4.png)

Any ideas why? Thanks!
Title: Re: VM menue gone after update to 2.0.4
Post by: Anne42 on January 13, 2013, 16:07:57 PM
I also got this error on the frontpage:


Warning: Invalid argument supplied for foreach() in /.../jupgrade/administrator/components/com_virtuemart/models/user.php on line 184


Thanks.
Title: Re: VM menue gone after update to 2.0.4
Post by: CE WebDesign München on January 13, 2013, 19:45:08 PM
looks like a upgrade problem and not related to the virtuemart-plugins issues, since the aio-link is gone too...

which joomla version and which vm-version are used before upgrade/update?
did it say upgrade/update is sucsessfull?

try to upgrade/update to vm 2.0.18a + aio via Extension Manager: Install -> Upload Package File -> with the .zip-file instead of the .targz.zip-file from here: http://dev.virtuemart.net/projects/virtuemart/files

+++++++++++

if it is related to the virtuemart-plugins issues, try this (assuming j2.5.x): backup website, go to->extentions->Plug-in Manager->check all disabled virtuemart-plugins (virtuemart-plugin for xmap in my case) and ENABLE them (search for vm and/or virtuemart), then update to vm 2.0.18a + aio via Extension Manager: Install->Upload Package File.

hopefully vm links are back by now, (update joomla to 2.5.8 ), update all extentions using these vm-plugins (xmap to 2.3.2 in my case) and disable the vm-plugins not needed (or uninstall here: Extension Manager: manage)

if template is using vm-layout-overrides, check for changes here: http://virtuemart.net/index.php?option=com_content&id=416
Title: Re: VM menue gone after update to 2.0.4
Post by: Anne42 on January 14, 2013, 05:39:23 AM
I was using VM 2.0.16d on Joomla 1.5.23. I then used jUpgrade to update Joomla to 2.5.x. Yes, it did say successful upgrade. If I can't use jUpgrade, what's a good alternative to upgrade Joomla? Thanks a lot!
Title: Re: VM menue gone after update to 2.0.4
Post by: jenkinhill on January 14, 2013, 09:59:39 AM
I found that SP Upgrade worked better & more reliably than jUpgrade - tutorial: http://www.ostraining.com/blog/joomla/sp-upgrade/

Neither copies VM into the new installation so you have to do a new install and then copy the image files and original database entries from old site to new site.
Title: Re: VM menue gone after update to 2.0.4
Post by: Anne42 on January 14, 2013, 10:53:05 AM
Got it! Thanks, jenkinhill. Reinstalling VM and copying of the image files and database should solve the component problems, yes?
Title: Re: VM menue gone after update to 2.0.4
Post by: alepoudaki on January 22, 2013, 10:21:53 AM
Quote from: pkornmeier on April 19, 2012, 10:03:14 AM
Hi Kelvyn,

thanks a lot for your help. The entry for virtuemart is enabled in the jos_extensions table, so that´s not the problem. But this brought me to the solution of the problem.

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 don´t why this happen, but may be it´s because my Joomla-Installation was migrated from version 1.5

This solved my problem too. I updated to VirtueMart 2.0.18a and then Virtuemart was missing from administrator Menu.
In database table XXX_menu, the com_virtuemart had as component_id the extension id of XMap-Virtuemart Plugin....
Thanks for this answer!
Title: Re: VM menue gone after update to 2.0.4
Post by: aapje on March 19, 2013, 03:20:12 AM
After updating VM to 2.0.20b my VM menu link disappeared, yes I have xMap installed. I replaced the extentions ID to the menu ID's (pkornmeier-fix) but this did not bring back the VM menu link.

Found another simple solution in another forum. By enabling the plug-in: Xmap - Virtuemart Plugin I got my backend VM menu link back.

Hope there will be a better fix soon.
Title: Re: VM menue gone after update to 2.0.4
Post by: ocean1 on March 29, 2013, 08:44:30 AM
Hi,
again after updating the link is missing
I know how to solve this problem but is there a way to fix this forever.
I don't want to fix this after every update or those someone made a patch to do this on the easy way

Title: Re: VM menue gone after update to 2.0.4
Post by: jenkinhill on March 29, 2013, 12:25:15 PM
Make sure you use the Xmap virtuemart plugin and that Xmap is kept up to date.
Title: Re: VM menue gone after update to 2.0.4
Post by: ocean1 on March 29, 2013, 20:32:01 PM
what if I don't use xmap!
and have those update problems
Title: Re: VM menue gone after update to 2.0.4
Post by: rippergr on May 02, 2013, 20:56:50 PM
Quote from: pkornmeier on April 19, 2012, 10:03:14 AM
Hi Kelvyn,

thanks a lot for your help. The entry for virtuemart is enabled in the jos_extensions table, so that´s not the problem. But this brought me to the solution of the problem.

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 don´t why this happen, but may be it´s because my Joomla-Installation was migrated from version 1.5





Thanks a lot that worked. I made the update to other web pages but it came out only in one and your solution works great.
Title: Re: VM menue gone after update to 2.0.4
Post by: MAD King on May 17, 2013, 00:03:09 AM
Thank you so much.


Quote from: pkornmeier on April 19, 2012, 10:03:14 AM
Hi Kelvyn,

thanks a lot for your help. The entry for virtuemart is enabled in the jos_extensions table, so that´s not the problem. But this brought me to the solution of the problem.

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 don´t why this happen, but may be it´s because my Joomla-Installation was migrated from version 1.5




Title: Re: VM menue gone after update to 2.0.4
Post by: servlet on August 13, 2013, 22:08:39 PM
I uninstall Xmap... after that the same problem...
Your instructions are good.
Now everything works fine
Title: Re: VM menue gone after update to 2.0.4
Post by: fuzzfree on September 06, 2013, 11:10:54 AM
We had the same problem, client unistalled XMAP and Virtuemart disappeared from Administrator Components Menu. The easiest solution is just to re-upload Virtuemart from Extension Manager (like a normal installation).
Title: Re: VM menue gone after update to 2.0.4
Post by: servlet on September 06, 2013, 11:35:33 AM
Quote from: fuzzfree on September 06, 2013, 11:10:54 AM
We had the same problem, client unistalled XMAP and Virtuemart disappeared from Administrator Components Menu. The easiest solution is just to re-upload Virtuemart from Extension Manager (like a normal installation).
It is true, but if you have custom code outside of template overwrite you will lose this custom code.
Xmap is dead and it is useless for big shops...
Title: Re: VM menue gone after update to 2.0.4
Post by: mbrando on November 16, 2013, 17:10:34 PM
Quote from: pkornmeier on April 19, 2012, 10:03:14 AM
Hi Kelvyn,

thanks a lot for your help. The entry for virtuemart is enabled in the jos_extensions table, so that´s not the problem. But this brought me to the solution of the problem.

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 don´t why this happen, but may be it´s because my Joomla-Installation was migrated from version 1.5

This fixed me up. Thanks you.

Its odd that it had 10050 in stead of 10055 as the ID.

- Mike
Title: Re: VM menue gone after update to 2.0.4
Post by: gusstavvo on November 18, 2013, 02:46:43 AM
Hello from "extension_id" appear two tables. Is this right? Which one should I choose?
Title: Re: VM menue gone after update to 2.0.4
Post by: gldproducts on October 24, 2014, 21:52:58 PM
Quote from: jenkinhill on April 18, 2012, 12:58:42 PM
The fix for this (and any other component that is installed but not on the menu) is to open up the database in phpMyAdmin and look in the xxx_extensions table for the VirtueMart component entry. Check the content of the "enabled" field. It should be 1 but yours may show 0  - edit it to 1 and the component will then show in the Joomla BE menu.

Before doing that you could try using the Discover facility in the Extension Manager  - somebody reported this worked for a Community Builder component install on J2.5 that failed to appear in the components menu.

What PHP version are you using? Is it an overloaded shared server you are using?

There are also many reports here on the forum that having Xmap installed without the current VirtueMartplugin prevents the VM component from registering in the database, the anwer there is to add in the plugin and use Joomla 2.5's discovery feature. If you already have the Xmap VM plugin enabled, then disable it,  save, and then re-enable it. The link returns

Mine was still at "1" enabled, still not in the menu.
Title: Re: VM menue gone after update to 2.0.4
Post by: CE WebDesign München on October 25, 2014, 16:54:38 PM
hi,

what is your joomla and vm versions?
xmap / vm-plugins installed?

try this http://forum.virtuemart.net/index.php?topic=101120.msg336673#msg336673 (http://forum.virtuemart.net/index.php?topic=101120.msg336673#msg336673)

maybe it will be fixed by joomla https://github.com/joomla/joomla-cms/pull/4446 (https://github.com/joomla/joomla-cms/pull/4446) in future release,

kind regards
Title: Re: VM menue gone after update to 2.0.4
Post by: EvanGR on June 01, 2015, 18:55:39 PM
Hello, I know this is an old topic but bumped into this issue today.

xmap is a dead product, so we decided to try OSmap. During installation, parts of xmap were removed (without warning, argh!) and we ended up with the issue described in this thread.

The solution with the com_virtuemart id worked, but only restored the base link to Virtuemart in the backend. It did not bring back the sub-menu which normally appears on hover. Any ideas on that one?

Title: Re: VM menue gone after update to 2.0.4
Post by: dglite on June 27, 2016, 14:54:44 PM

Hi: this solved the issue to me...

Quote

Hi Kelvyn,

thanks a lot for your help. The entry for virtuemart is enabled in the jos_extensions table, so that´s not the problem. But this brought me to the solution of the problem.

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 don´t why this happen, but may be it´s because my Joomla-Installation was migrated from version 1.5


Great!

:)