1
AZMATT
Login Problems
  • 2004/11/13 8:27

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


My members and I are having problems with the login. After we login and try to go to the forum for example, it give us a restricted access page and says we are not logged in. Then we login again and it works fine. Any Ideas on how to fix this?

Also, is XOOPS suppose to log you out if you go afk too long? And if it does, how can i make it not log us out?

Thanks, Matt

2
Herko
Re: Login Problems
  • 2004/11/13 8:57

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


This could be caused by not having the XOOPS_URL and/or PHYSICAL_PATH in mainfile.php set to exactly where the website is located. This means that redirects do not work, as XOOPS checks the URL you logged into to the URL you are at, and if the base URL doesn't match (ie. http://www.xoops.org vs. xoops.org without www), you're not recognised as logged in.

Another cause may be the firewall issue. Firewall software could block the HTTP_REFERRER being sent to the website, thus making the above check impossible. Add the site to the trusted sites list and it'll be fixed.

As for the session duration, yes that is supposed to happen. You can set the session length in the system admin -> general settings -> preferences page, but I'd like to add a note of caution. Since XOOPS uses a database for its sessions, keeping them alive for a looong time will limit the number of users you can have on a site, as the available connections to the database aren't cleaned up when people leave. This will eventually clog the database, and thus the site.

Herko

3
carnuke
Re: Login Problems
  • 2004/11/13 9:08

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Thanks Herko ... abstracted to FAQ

4
AZMATT
Re: Login Problems
  • 2004/11/13 15:52

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


This is what they say:

// XOOPS Physical Path

// Physical path to your main XOOPS directory WITHOUT trailing slash

define('XOOPS_ROOT_PATH', '/home/lujanm/public_html');



// XOOPS Virtual Path (URL)

// Virtual path to your main XOOPS directory WITHOUT trailing slash

define('XOOPS_URL', 'http://azlancers.net');


What do I need to change them to?

5
AZMATT
Re: Login Problems
  • 2004/11/14 18:29

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


Anyone?

6
AZMATT
Re: Login Problems
  • 2004/11/16 3:34

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


bump

7
script_fu
Re: Login Problems

Quote:

AZMATT wrote:
This is what they say:

// XOOPS Physical Path

// Physical path to your main XOOPS directory WITHOUT trailing slash

define('XOOPS_ROOT_PATH', '/home/lujanm/public_html');



// XOOPS Virtual Path (URL)

// Virtual path to your main XOOPS directory WITHOUT trailing slash

define('XOOPS_URL', 'http://azlancers.net');


What do I need to change them to?


-------------------------------
Just a guess...
-------------------------------

define('XOOPS_URL', 'http://www.azlancers.net');

8
AZMATT
Re: Login Problems
  • 2004/11/16 3:47

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


didnt work, still messes up =/
this problem is definately the biggest problem with my site.

9
AZMATT
Re: Login Problems
  • 2004/11/16 5:44

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


I noticed, my site in my favorites for my browser was http://azlancers.net , i'm pretty sure that's what was messing it up. Is there a way that when people type http://azlancers.net in the webbrowser, it will change it to http://www.azlancers.net?

10
AZMATT
Re: Login Problems
  • 2004/11/17 1:32

  • AZMATT

  • Not too shy to talk

  • Posts: 124

  • Since: 2004/11/12


bump

Login

Who's Online

285 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 285


more...

Donat-O-Meter

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

Latest GitHub Commits