1
robstockley
Login/logout mixup after website moved

I've been developing an XOOPS replacement for my fishing club website for a month or so now. Copying/moving between two development servers (to let the committee try it out) went well and I also copied it to my ubuntu laptop to demonstrate at a club night.

All the copying to this point was using scp and phpmyadmin. The destination server doesn't support scp or shell accounts so I had to upload the new site using ftp and then manually set permissions. It all seems to work except for one thing which I hadn't seen before and am baffled by.

After logging in and only on some pages rather than seeing profile/inbox/logout you see login/register. If you click login then you get sent to your profile page so the user is definitely still logged in. Why is the smarty tag working on some pages and not on others, and why only on this server?

The conditional statement in the theme template is
Quote:
<{if $xoops_isuser}>


The only significant (suspicious) difference between the development environment and the production one is that register_globals is set on the production server.

I've played around with group permissions and cleared all templates and session records. Setting debug on doesn't reveal any additional warnings to the development server.

I'm baffled and would be grateful for some advice on how to trouble shoot this further.

Cheers,
Rob

Website is http://www.wellingtonflyfishers.org.nz

2
robstockley
Re: Login/logout mixup after website moved

I should add that I've also tried upgrading all modules in the system/modules page.

3
robstockley
Re: Login/logout mixup after website moved

Okay. A little more digging and it appears that when a user browses to the affected modules a duplicate session record is created in the xoops_sessions table. Why would this happen?

Login

Who's Online

278 user(s) are online (254 user(s) are browsing Support Forums)


Members: 0


Guests: 278


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