1
damjam
login stopped working today on my site
  • 2004/4/29 2:33

  • damjam

  • Just popping in

  • Posts: 63

  • Since: 2004/3/30


I've been working on my XOOPS site for a couple of weeks and have accessed it several times daily using the login/pass I set up at installation (with fantastico). I've never had a problem with login so far. Suddenly today it stopped working.

The only thing I can think of that I did today is modify language/english/global.php to change how the date and time are displayed.

Now when I login, I get the screen that welcomes me by name but then I'm returned to the anonymous index page with no user menu, etc. I tried putting /admin.php to the url and am denied access.

The site ishttp://oklahomacycling.net

Any ideas where I should check? Thank you.

2
Catzwolf
Re: login stopped working today on my site
  • 2004/4/29 3:49

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Sounds like you have a corrupt session table in the database, if you have access to it you can do a 'repair' or ask your hosting company to do this for you.

3
damjam
Re: login stopped working today on my site
  • 2004/4/29 12:07

  • damjam

  • Just popping in

  • Posts: 63

  • Since: 2004/3/30


Thanks. Unfortunately that didn't do the trick. The table and the entire db checked ok. I repaired the table and the db anyway. Then made a copy of the xoops_session table and emptied it. Then I went to the site, logged in, same results... welcome screen with my login name then returned to anonymous user with no access.

I noticed in the empty session table there were now three entries. The first is presumably where I opened the site. The second has data about me in the sess_data field. The third has no data in the sess_data field and is preumably where I was booted back to anonymous user status.

Any more suggestions would be much appreciated. Thank you.

4
tl
Re: login stopped working today on my site
  • 2004/4/29 14:01

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Not sure it will help, but check the file you edited
language/english/global.php

There should be no white space after
?>

When you edit files on windows, sometimes a whitepace may be added after ?>. The whitespace might cause session problems.


5
damjam
Re: login stopped working today on my site
  • 2004/4/29 14:21

  • damjam

  • Just popping in

  • Posts: 63

  • Since: 2004/3/30


Elegantly simple! That fixed it. Thanks!

(f***ing windoze)

Login

Who's Online

121 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

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

Latest GitHub Commits