PEAK XOOPS - Re: Users Login To be Taken back to Guest Login in englishin japanese

Re: Users Login To be Taken back to Guest Login

List posts in the topic

none Re: Users Login To be Taken back to Guest Login

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/30 13:10
onasre  上等兵   Posts: 38
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

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!