The problem: When you try and log in to your Joomla site (even on the admin section @ /administrator/index.php), you get an 'invalid token' error.
This is a known issue with some templates using Joomla 1.5x, and it can be fixed with a simple modification to the template code.
I found this useful little post by Masterchief on the Joomla! support forums.
Due to a recent security fix, some problems may be introduced with existing 1.5 sites. The know issues are as follows:
Invalid Token page displays when trying to login
Older 1.5 templates, 1.0 templates working in legacy mode, or those using customer login code or using layout overrides will experience this problem.
The login must include a for token. Previously this was done with this code:
You must change this to:












