News:

Looking for documentation? Take a look on our wiki

Main Menu

Virtuemart component not showing in admin menu.

Started by Olbren, December 14, 2011, 08:13:20 AM

Previous topic - Next topic

Olbren

After installation of VM2 RC3 there is no link in the admin menu.

After the installation I also get the failure " Error buidling admin menu's"
I also get a button "Go to shop", that button was working perfectly.
But after closing there was no possibilty anymore to get back in virtuemart.

Please help me..



H_v_M

Due to a thread with the same question on a Dutch Joomla! forum I know that this is solved, solution was using this query:

UPDATE `#_menu`
SET component_id = (SELECT id  FROM `#_extensions` WHERE name = 'virtuemart')
WHERE title = "COM_VIRTUEMART"


Attention! # has to changed for the database prefix.
Strange enough this solution worked only manual, and not with the query.

Next strange thing is that now the FE is not showing up anymore, but I think if necessary Olbren will open a new thread about this.

ralfeez

I have the same problem with version 2.0.2 and this did not help me. Any other ideas?

ralfeez

I finally solved this for myself. It took a 100% cleaning of the database and removing all remnants of Virtuemart and then a fresh install. An "uninstall" does not remove all of the tables and table entries that must be deleted.


  • Uninstall Virtuemart
  • Go to phpmyadmin and delete all tables that have 'virtuemart' in the table name
  • Run this in mysql after changing "jos_" to the matching prefix that you use in your database:

    DELETE FROM `jos_menu` WHERE link LIKE '%virtuemart%';
    DELETE FROM jos_extensions WHERE element LIKE '%virtuemart%';
    DELETE FROM jos_assets WHERE name LIKE '%virtuemart%';
  • Reinstall VM from scratch

Good luck,
Ralph

herbcap

Hello there,

The problem is that you might have installed virtuemart previously.
Edit the following directly in the database (I don't know the Query)
go to table #_extension
find the entry for virtuemart (the main component)
make a note of the id value
now go to the table #_menu
find the entry COM_VIRTUEMART
check the value for component id, make sure it is the same

worked for me,
herbcap

shopper999

I had the same problem and could fix it manually in the database.

In my case, i previously installed "XMAP", and the "Xmap - Virtuemart Plugin".
I think, the virtuemart installation searches for virtuemart in the database, especially com_virtuemart.
It uses the first match, and that it the previously installed plugin.

I think the Installation routine of Virtuemart should get fixed in this way.