Youjoomla Support Forums (
-   YouGrids (
-   -   Joomla 1.6.1 invalid token on logout (

MemfisxExecute 03-16-2011 06:11 PM

Joomla 1.6.1 invalid token on logout
Ok I just reinstalled everything including the creation of a new mysql database. However I have a problem when logging out from my site, it says "Invalid Token". URL to site: YouGrids - YJSimpleGrid Joomla! Templates Framework Demo

Do you know why this occurs?

neo 03-17-2011 04:23 AM

login out from where ? frontend or admin ?

neo 03-17-2011 04:24 AM

just fund something , looks like a 1.6.1 issue
il check further and test

neo 03-17-2011 04:28 AM

tested the demo , works fine on my end , front end logout from logout page , have you tried clearing cache ? or is it another page logout ?

neo 03-17-2011 04:40 AM

checked all files , <?php echo JHtml::_('form.token'); ?> is there for logout , compared default 1.6.1 all files are same

fund on tracker for admin logout issue
JoomlaCode > Projects > Joomla! > Tracker > Joomla! 1.6.x Issue Tracker > Edit Tracker Item

looks like we will have another update soon

dig814 03-21-2011 08:20 PM

I had the same problem and figured out the solution. The problem is that they added a token on logout in 1.6.1. The solution is to add:
HTML Code:

<?php echo JHtml::_('form.token'); ?>
to the default.php file in the template overrides for the mod_login (templates/yougrids/html/mod_login/default.php)

Add it in like so:

HTML Code:

<?php echo JHtml::_('form.token'); ?>

<input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGOUT'); ?>" />

All times are GMT -4. The time now is 09:47 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.