When installing VitueMart V1.1.6 if you receive the following error under the Update Log “Error: Module Not Registered.”store” is not a valid VirtueMart core module.”  and the following error in the main box “You do not have permission to access the requested module.” this post might help you.

After much searching we found solution that seems to work.  This is for who is using Joomla 1.5.x, VM 1.1.6 and MySQL 5.5.

The problem is the fact that MySQL 5.5 no longer supports the TYPE option, instead it uses the ENGINE option.  So, when the VM 1.1.6 installation tries to create the DB tables, an error occurs and no tables are created.

Follow these steps:

1) Install the VM 1.1.6 as shown in the installation guide.  Once you get to the window saying “Welcome to VirtueMart 1.1.6 stable” click either button.  After a few seconds the installation will stop with the message “Error: Module Not Registered.”store” is not a valid VirtueMart core module.”

2) Make a copy of the file “virtuemart.installation.joomla.sql” that is located in the sql directory.

3) Edit the new file.  Do global replace of “TYPE=” with “ENGINE=” and another global replace of “TYPE =” with “ENGINE =”.

4) Open your phpMyAdmin (PMA) frontend for MySQL.  Find your website DB.  If you scroll down, you’ll notice that some or all of the “jos_vm_xyz” tables are missing.  In my case they were all missing.  Select the “SQL” tab.

5) Copy the contents of your new installation.joomla.sql file.  Paste the contents into the PMA window at the “SQL” tab.  Hit the GO button.

6) You may get a syntax error regarding the “jos_vm_waiting_list” table (I did).  I couldn’t figure out the problem so I simply copied the next section of text repeated step 5 with this last few lines of script.  This means you won’t have the capability found in the “jos_vm_waiting_list” table.

7) If you want the sample data, open the file “virtuemart.sample_data.sql” copy the contents and repeat step 5.