41
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?



42
robstockley
Re: Login/logout mixup after website moved

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



43
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 ishttp://www.wellingtonflyfishers.org.nz




TopTop
« 1 2 3 4 (5)



Login

Who's Online

259 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 259


more...

Donat-O-Meter

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

Latest GitHub Commits