everytime one of my users try to login on the first try they get the below error
We encountered an error (token mismatch). This probably means that the page you were using expired. Please try again
but when they try logging in a second time theres no issue. I have also experienced the issue.
please help !!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
if i add this to htaccess.dist will it fix the problme of the error messgae logging in from a differet domain is not permitted. ?
found this too:
https://github.com/Elgg/Elgg/search?q=sorry+logging+in+from+a+different+domain+is+not+permitted&ref=cmdform
so how do we fix this problem? please be basic : )
were do i add the code the top the bottom the middle?
http://docs.elgg.org/wiki/Login_token_mismatch_error
También tuve este problema que tenía que acceder dos veces al login por eso puse un simple contador con una session php en el index.php para que refresque la web.
<?php
/**
* Elgg index page for web-based applications
*
* @package Elgg
* @subpackage Core
*/
/**
* Start the Elgg engine
*/
//die(dirname(__FILE__) . "/engine/start.php");
require_once(dirname(__FILE__) . "/engine/start.php");
session_start();
if(!isset($_SESSION['VIEW_FIRST'])):
$_SESSION['VIEW_FIRST'] = TRUE;
header("Location: http://www.dominio.com/");
exit;
endif;
elgg_set_context('main');
- Previous
- 1
- 2
- 3
- 4
- 5
- Next
You must log in to post replies.