| Re: Moving a site, keeps logging out |
| by ccairns on 2009/12/4 14:02:27 I added in smartsection/smartobject just to have something to test. Given that we ruled out multimenu by turning it off, and there are pages which log out with just multimenu and smartsection active, it seems unlikely to be a dodgy module unless I'm misunderstanding how some of them work (or forgetting which ones are active where!). We'll see as I add them in anyway, I'm going to get on with a new version tonight. |
| Re: Moving a site, keeps logging out |
| by ghia on 2009/12/4 1:20:54 Quote: I've tried a clean 2.4.1 install on a subdomain and it didn't exhibit any problems so it's nothing to do with the hosting itself. |
| Re: Moving a site, keeps logging out |
| by ccairns on 2009/12/3 20:10:28 Trabis: yes, all three lines are in mainfile.php. dbman: it's already set to 0, I tried flipping it to see if it made a difference and it didn't. ghia: no more messages output I'm afraid. The data in the session table changes (sess_data is blanked) but nothing else does. Tried changing the RegenerateId setting and nothing changed either. I've tried a clean 2.4.1 install on a subdomain and it didn't exhibit any problems so it's nothing to do with the hosting itself. Think I'm going to call time on this one - I need something vaguely polished up by Sunday so I'm going to start from scratch. Bah. Thanks for all your efforts guys, I would have liked to work out what the hell was going on! |
| Re: Moving a site, keeps logging out |
| by ghia on 2009/12/3 1:07:19 I think you must enable debug for anonymous as well by editing /include/common.php and commenting out le="color: #000000"><?php // error_reporting(0); // $xoopsLogger->activated = false; afterle="color: #000000"><?php if ( ($level == 2 && empty($xoopsUserIsAdmin)) || ($level == 1 && !$xoopsUser) ) { This can give information at moment the session is lost. Following check could be done without logged in. Select a theme. Click on contact us. The theme stays. Cick on Home or Forum, the theme returns again to the default eesb-theme. At that moment I hope to see a debug error message. I assume the data in the session table will change also on that moment. Other thing to try is to edit /kernel/session.php and setting the le="color: #000000"><?php var $enableRegenerateId=true; |
| Re: Moving a site, keeps logging out |
| by dbman on 2009/12/3 1:04:17 I had a similar issue today after updating a XOOPS site from 2.3.3 to 2.4.2. Once custom session was turned off I was able to access without a problem. I had to turn off custom session in the database using: le="color: #000000"><?php update xoops_config set conf_value = 0 where conf_name = 'use_mysession'; |