Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Joomla 1.6.1 invalid token on logout

03-16-2011, 06:11 PM
# 1 (permalink)
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?
03-17-2011, 04:28 AM
# 4 (permalink)
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 ?
03-17-2011, 04:40 AM
# 5 (permalink)
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
03-21-2011, 08:20 PM
# 6 (permalink)
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'); ?>" />
Thread Tools
Display Modes

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

Members Login