WARNING: This is a Security Risk. Do this only if you are willing to accept that.
To have your system login automatically, complete the following steps;
- Click Start and type ‘netplwiz’ in Start Search.
- In the User accounts dialogue, uncheck “Users must enter a username and password to use this computer”.
- Click Apply.
- In the new dialog box that opens type the name and password of the account you wish to set for auto-logon by default.
- Click OK and close the dialogue.
By default, the Super-Administrator in Joomla is named Administrator, and the user record is #62. This gives any hacker an easy starting point to attack your site.
One of your first steps after installing Joomla! should be to fix this;
- Go into the Users module and create a new account called anything but Admin or Administrator (Chief, TopDog, whatever works for you.)
- Assign that user account Super-Administrator rights.
- Log in with the new Super-Administrator account. Now log out and in again with the new account to confirm that it works.
- Again in User Manager;
- Demote the original Administrator account to Public Front-end|Registered under Groups.
- Change Block User to Yes.
By changing the name and id# of your most powerful account, you've now rendered the original administrator account harmless and closed that avenue of attack for a hacker.
Joomla! Menus by default show their titles. Normally this is not a desireable behaviour, particularly when there is only one menu and the "Main Menu" title is rather pointless.
To hide the menu title, go into Module Manager, click the name of your menu under the Module Name column, then in the Details section click No for Show Title.
I recently had trouble adding a foreign key on a MySQL database.
ERROR 1005 (HY000): Can't create table '.\test\b.frm' (errno: 150)
After much searching I discovered that the problem was that the columnbeing references needed to be indexed.
So then adding a foreign key, make sure;
- it is an InnoDB table
- reference column may need to be identical in both tables.
- column being referenced is indexed. (The error message is not clear on this at all.)
