xoops forums

ItachiWolf

Just popping in
Posted on: 2005/11/26 16:39
ItachiWolf
ItachiWolf (Show more)
Just popping in
Posts: 7
Since: 2005/11/7
#1

Login twice

I think i asked this question before, but my members and I have to log in twice, each time we want to access something. I tried editing somefile, but im not sure it was the right one.

Im running XOOPS 2.0.13.2

Any help would be appreciated.

minkoilman

Just popping in
Posted on: 2005/11/26 17:36
minkoilman
minkoilman (Show more)
Just popping in
Posts: 17
Since: 2004/8/7 1
#2

Re: Login twice

Try editing mainfile.php. The file includes the following code (in 2.2.3) ...

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.yoursitename.com');
define('XOOPS_URL', 'http://www.yoursitename.com');


Try adding www. in front of the addresses listed here if they aren't there already.

Peekay

XOOPS is my life!
Posted on: 2005/11/26 18:15
Peekay
Peekay (Show more)
XOOPS is my life!
Posts: 2335
Since: 2004/11/20
#3

Re: Login twice

When editing mainfile.php (or any PHP file) make sure the editor doesn't leave any blank space after the closing PHP tag. Common issue, but can cause endless problems.

Also, try to upload PHP files in ASCII mode. This automatically converts line feed characters in the file to the correct format for the target server OS. To be honest, most servers aren't that fussy, but in my experience this has caused problems with some scripts.
A thread is for life. Not just for Christmas.

ItachiWolf

Just popping in
Posted on: 2005/11/27 18:09
ItachiWolf
ItachiWolf (Show more)
Just popping in
Posts: 7
Since: 2005/11/7
#4

Re: Login twice

It still makes me relogin twice :S

Abishai

Just popping in
Posted on: 2006/1/10 13:36
Abishai
Abishai (Show more)
Just popping in
Posts: 21
Since: 2003/10/27
#5

Re: Login twice

I have the same problem on a couple of my sites.

The problem exists on xoops.org, just try it:

Login at xoops.org and then try to access a page at www.xoops.org (or v/v) you need to login again although Who's online shows you are still online...

So can someone help with this? Is there a solution already available somewhere?