1
Eclipso
Being logged out when i click Home link
  • 2006/5/11 14:16

  • Eclipso

  • Just popping in

  • Posts: 6

  • Since: 2006/5/11


I have just finished set-up a XOOPS site for a team in the matrix. It is XOOPS version 2.2.4,
I believe my php is version 5, not 100% sure and im running mySQL database, probably kind obvious, but im not sure what version either.

The problem is when i log into my site everything works fine, but when i click home it seems to log me off the site, and i need to re-enter my details. It is very strange and im not sure what it could be, i am kinda new to xoops, i have used it before but this is the first time i have set it up all by myself. I couldnt find a solution on these forums or on google, please help.

I have set up a test account so you guys can see what i am talking about.
Both username and password is Test
The website is http://www.the-illusionists.net

much appreciated

P.S. not sure if this is needed, but the this is the code i have in my custome made navigation menu,

Home

Forum

Old Forum

Downloads

Gallery

Ventrilo

Web Mail

Take The Red Pill

Links

2
m0nty
Re: Being logged out when i click Home link
  • 2006/5/11 14:27

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


tour site is using http://domain.com instead of http://www.domain.com

edit mainfile.php and add www. to the define url statement, then clear templates_c

also, you have a javascript error on your page.. it maybe the clock thats causing the jv error,, but i didnt run my browser debug..

3
m0nty
Re: Being logged out when i click Home link
  • 2006/5/11 14:30

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


also, i am not being logged out when i click home, so it's working fine.. but i did get a message when i logged in saying my referrers were blocked.. which they aren't..

but seems ok now.. sites working fine.

you may want to check your firewall to see if it's blocking http header referrals..

4
Eclipso
Re: Being logged out when i click Home link
  • 2006/5/11 21:22

  • Eclipso

  • Just popping in

  • Posts: 6

  • Since: 2006/5/11


i have just add the www like you suggested, what i didn't do tho was back-up my mainfile.php, so i had to open up my mainfile.dist.php and add all the information to it and save it as mainfile.php because i had previously edited it with notepad which took all of the formating away, i dont thing server liked it, anyways i fixed that problem that was logging me off when clicking home by adding www to the

define('XOOPS_URL', 'http://mysite.com');

so that it became

define('XOOPS_URL', 'http://www.mysite.com');

works perfect now.

But out of curiosity, what causes that issue?

Login

Who's Online

301 user(s) are online (196 user(s) are browsing Support Forums)


Members: 0


Guests: 301


more...

Donat-O-Meter

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

Latest GitHub Commits