1

Topic: PHP session expires immediately

Just updated to V.4.7.4. The calendar displays correctly. However, my session immediately expires when attempting to use any of the buttons such as log in, year, month, etc'. I have tried on several different browsers as well as refreshed the page. I would appreciate any insight you could give me into a possible fix. I have also tried adjusting the cookie life in the index.php code to see if that solved the problem, but to no avail.

2

Re: PHP session expires immediately

Edit:  I apologize, I meant to post this under problems.

Re: PHP session expires immediately

This is strange.
Just tested again - I cannot provoke this behaviour.

What happens if you use "remember me" ?
From whicjh version did you update?
What happens if you make a new install and then login?

Re: PHP session expires immediately

Just to make it clear :
The new install should be in a "testfolder" and you could use the L-version. The L-version is easy to install and easy to remove after testing.

5

Re: PHP session expires immediately

We have updated from version 4.5.1. Its the MySQL version also. I was forced to update the calendar because of a spoofing error that began occurring when no changes were made to the program or database. That error read "not permitted(csrf), no ST".  I recently became the admin for the site which is using this software and I don't believe anyone touched any code between the time it was working and the time which it failed. I will attempt a clean install on a fresh DB now then post the results.

6

Re: PHP session expires immediately

I already have a staging site setup which I use so no worries about installing then removing. Worst case I will copy the tables I need from the old DB and put them on a fresh installed one if that works.

Re: PHP session expires immediately

Shock,

Could you try deleting all cookies related to the calendar.
If that doesn't help, could you send me the URL of your calendar so that I can have a look myself.

Roel

8

Re: PHP session expires immediately

Just attempted a fresh install on the staging site with no luck. I am still receiving the PHP error when I click on any button. I tried deleted all cookies many times already. Roel, I will send you my staging sites calendar URL since it has the same problem for me.

9

Re: PHP session expires immediately

How would you like me to send you the calendar's URL and other necessary information as I will need to include some sensitive data.

Re: PHP session expires immediately

Note: I also accessed the calendar on many different devices, mobile included, to ensure that was eliminated from the possible list of problems.

Re: PHP session expires immediately

See my email reply.

Re: PHP session expires immediately

Hi Roel,

I am having the same problem following my upgrade. My upgrade shows other curious symptoms.
See post at:
http://www.luxsoft.eu/lcforum/viewtopic.php?id=123