Re: Users Login To be Taken back to Guest Login
List posts in the topic
Re: Users Login To be Taken back to Guest Login
msg# 1.1
i dont think it is Protector problem . Try one Of this Methods :
1- Open file session.php found at /Xoops/kernel/session.php
Change line 80 var $enableRegenerateId = false;
to var $enableRegenerateId = true;
if it didt work go to step 2
2- Embty the Table _session and protector_access from database . you can write a php code to make cron file to everyday or every hour embty the table somthing like this code .
<?php
MYSQL_CONNECT('localhost,'dbuser,'password');
@mysql_select_db("dbname") or die(mysql_error());
// The Name of the Tables to embty
$query="TRUNCATE xoops_session";
$query="TRUNCATE xoops_protector_access";
mysql_query($query);
mysql_close()
?>
dont forget change the server name and username and password and db name and the tables name from the code above..
Good luck
Votes:9
Average:8.89
Posts tree