Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YouGrids (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=171)
-   -   Joomla 1.6.1 invalid token on logout (http://www.youjoomla.com/joomla_support/showthread.php?t=7882)

MemfisxExecute 03-16-2011 07: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 05:23 AM

login out from where ? frontend or admin ?

neo 03-17-2011 05:24 AM

just fund something , looks like a 1.6.1 issue
Joomla! • View topic - LOGOUT FAILURE - INVALID TOKEN
il check further and test

neo 03-17-2011 05: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 05: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 09:20 PM

Logout
 
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'); ?>" />
</div>



All times are GMT -4. The time now is 02:03 PM.

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