Hi
i installed the autologin hack but it doesn't works well
i can't login if i didn't checked the remember me
and it says 'Now, logging in automatically' every page except the index.php
then i commented the
line 164 in include/common.php
// redirect to Root when query string exists (anti-CSRF)
//if( ! empty( $HTTP_SERVER_VARS['QUERY_STRING'] ) ) {
// redirect_header( XOOPS_URL , 0 , 'Now, logging in automatically' ) ;
// exit ;
//}
then the site works but still need to check the remember me box
and i have add this line
define('XOOPS_COOKIE_PATH', '/');
it still the same
it is possible due to the php config?
http://www.ppfans.com/env.phphere is the phpinfo
At first, you should restore the files to default.
Overwrite these files from the archive of original XOOPS.
user.php
include/checklogin.php
include/common.php
Especially, user.php is important.
You should confirm your XOOPS version.
If you've already installed modules like IPBM, 4images, or PHPBB, my hack will be no use.
That's because they modify include/common.php.