1
jfjobidon
can't login as admin after installation
  • 2008/8/2 15:38

  • jfjobidon

  • Just popping in

  • Posts: 3

  • Since: 2004/6/9 1


Hi

I have installed XOOPS with success but when I try to login on index.php
I have a short message : 'Thank you for logging in, myUserName' from 'user.php'
But after few seconds I'm redirected to the login page : 'index.php'

Thanks

JFJ

2
DarinAllan
Re: can't login as admin after installation

Possibly it could be this, you haven't given much info on version of XOOPS installed etc. so please have a read of the thread to see if it sounds like your problem, before trying it. Remember to back up relevant files.

Login problem

3
jfjobidon
Re: can't login as admin after installation
  • 2008/8/2 20:03

  • jfjobidon

  • Just popping in

  • Posts: 3

  • Since: 2004/6/9 1


I installed XOOPS 2.0.18.1

I try this :

changed the file /Xoops/kernel/session.php

I have replaced this line:
var $enableRegenerateId = false;
with:
var $enableRegenerateId = true;

I still have the same problem.

I also try to flush the xoops_session table
whithout success.

I also see this remark :

"What I found, after being alerted to the possibility of a problem in the _session table, was that the latter was corrupted. Doing a Repair Database fixed it"

So I did a 'check table' and the table seems OK.
I tried a 'repair table' but I can't fix the problem.

JF

4
jfjobidon
Re: can't login as admin after installation
  • 2008/8/13 2:31

  • jfjobidon

  • Just popping in

  • Posts: 3

  • Since: 2004/6/9 1


After few verifications :

the file 'index.php' redirect me to
'checklogin.php'. All the conditions for
the login seem OK. Then I'm redirected to
'index.php" in which I can find :

//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
} else {
...toward index.php
}

But $xoopsConfig['startpage'] is setup to '--' during the installation.
That's what I found in that variable
So, I'm always redirected to the login menu ('index.php').

The problem seems to come from $xoopsConfig['startpage']
which is always set to '--'

An idea ?

Thanks

jfjobidon

5
comstock
Re: can't login as admin after installation
  • 2008/8/27 3:46

  • comstock

  • Just popping in

  • Posts: 6

  • Since: 2008/8/21


Even though it may not apply, this is the thread I found when trying to fix my problem, so I'll relate my experience.

I moved a recently installed 2.0.18.1 to a new server.

Any login attempts were met with "Thanks you for logging in..." but then returned me to the main page and I was not logged in.

I cleared the sessions table but it didn't fix it.
I ended up going to the old, still running installation, turned "sessions" off in admin, exported and then imported into my new moved install. I was then able to login (and then turn sessions back on)

-Comstock

Login

Who's Online

1064 user(s) are online (253 user(s) are browsing Support Forums)


Members: 0


Guests: 1064


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits