Dealing with INVALID TOKEN Screens

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Forum rules
Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
masterchief
Joomla! Hero
Joomla! Hero
Posts: 2316
Joined: Fri Aug 12, 2005 2:45 am
Location: Brisbane, Australia
Contact:

Dealing with INVALID TOKEN Screens

Postby masterchief » Wed Jan 09, 2008 10:59 pm

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:

Code: Select all

<input type="hidden" name="<?php echo JUtility::getToken(); ?>" value="1" />


You must change this to:

Code: Select all

<?php echo JHTML::_( 'form.token' ); ?>
Andrew Eddie - Tweet @AndrewEddie
<><
http://eddify.me
http://www.kiva.org/team/joomla - Got Joomla for free? Pay it forward and help fight poverty.

Return to “Joomla! 1.5 Bug Reporting”

Who is online

Users browsing this forum: No registered users and 7 guests