How to guides
Joomla Virtuemart – Error: Module Not Registered.”store” is not a valid VirtueMart core module” solution
Feb 7th
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.
IE compatibility view – How to force IE8 to use IE7 rendering mode
Jul 20th
I’ve had a problem with one of my sites, in which IE8 had a javascript error and I needed to use IE7 rendering mode, which was ok.
I this case I found two solutions:
1. Meta tag solution :
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
2. htaccess file solution
Header set X-UA-Compatible IE=EmulateIE7
In my case the .htaccess file version worked just fine
How to – detect iPhone with Java-script
Apr 23rd
Here is a javascript code snippet that will help you detect iPhone
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
if (document.cookie.indexOf("iphone_redirect=false") == -1) {
window.location = "http://website.com/iphone";
}
}
Install windows fonts on Ubuntu
Apr 22nd
In Terminal type the command
sudo apt-get install msttcorefonts
If you don’t want to restart after, you have to type the command:
sudo fc-cache -fv
And that’s it. Enjoy !
PS: If you want to install additional fonts, you just have to copy them to the ~/.fonts/ folder
How to install Flash player under Ubuntu 9.10 Karmic Koala
Apr 22nd
First, you have to close Firefox if it is open.
Open a Terminal window and type:
sudo apt-get install flashplugin-nonfree
That’s all.


