1 (edited by NorfolkGreg 2019-01-15 11:57:40)

Topic: Confused Upgrade 4.7.3 - 4.7.4

Hi Roel,

My host has the Softaculous app installer available and I use it to install my copy LuxCal. I have just used it to upgrade from 4.7.3M to 4.7.4M. However, I now appear largely locked out of my calendar. See:
http://www.stalhambaptist.org.uk/diary.php

These are the symptoms.

While the calendar will launch (and display a link to 4.7.4M when I hover over the "Powered by Luxcal" button on the footer.) as soon as I attempt to access any facility, the screen clears and displays a message box

Session expired.
Please restart the calendar.".

The footer also contains a message

== no token assigned ==

I also note that when this happens the Powered by LuxSoft button now reveals a link to 4.7.2L

Re: Confused Upgrade 4.7.3 - 4.7.4

In order to maintain calendar access I have used the Softaculous "Restore" facility and I am now back running 4.7.3M (as reported by the "Powered by LuxSoft" button) and all seems to be well again.

Let me know if you wish me to re-upgrade and grant you Admin access to the calendar in order to investigate went wrong.

3 (edited by NorfolkGreg 2019-01-16 03:14:41)

Re: Confused Upgrade 4.7.3 - 4.7.4

I've done some investigation and found that in the v4.7.4M archive there is a file at:
pages/alert.php in which lines 51-56 contains:

<footer>
<span class='floatR'><a href='http://www.luxsoft.eu?V4.7.2L' target='_blank'>powered by <span class='footLB'>Lux</span><span class='footLR'>Soft</span></a></span>
<?
if (!empty($note)) { echo "<span class='note'>== {$note} ==</span>"; }
?>
</footer>

And it appears to be called three times from within index.php (and a lot of language files.)

Could this be the rogue file causing the problem?

Re: Confused Upgrade 4.7.3 - 4.7.4

Hi Greg,

The link to V4.7.2L when you hover the Powered by LuxSoft button is my mistake and will be corrected in a next version. This doesn't harm.
The fact that you get a Session expired message with "== no token assigned ==" in the footer could be caused because of "old" cookies in the browser cache.

I'm certainly willing to help you and with FTP access further analyse the problem. However, if you re-upgrade, the users of your calendar will most probably encounter the same problems, which will be annoying.
Is there no way to install the new 4.7.4 calendar in a test folder, so that I can test without affecting the main calendar? Via email I can explain to you in a few lines how to do this; it's really easy - no Softaculous needed.
Let me know if you want me to do this.

Roel

5 (edited by Free_Being 2019-01-19 22:37:16)

Re: Confused Upgrade 4.7.3 - 4.7.4

Hi,

I had the problem when upgrade from 4.7.3 to 4.7.4 with "session expired" error.

I deleted any luxcal cookies into my browser, and deleted PHP sessions on server side.

Now everything seems to be OK.

Edit : and thank you for the Calendar, it's a good product wink

6 (edited by NorfolkGreg 2019-01-24 11:20:07)

Re: Confused Upgrade 4.7.3 - 4.7.4

Hi Roel,

Roel wrote:

Is there no way to install the new 4.7.4 calendar in a test folder, so that I can test without affecting the main calendar? Via email I can explain to you in a few lines how to do this; it's really easy - no Softaculous needed.
Let me know if you want me to do this.

Apologies for late reply. I've been tremendously busy with other projects.
Hopefully, I will have time next week to created a duplicate calendar to which I will be happy to give you access.
I'll let you know as soon as I have it ready.

[Edit]Duplicate because I wonder if some of the issues are related to the upgrade and files which may have been left from the previous installation. But if you think a second completely new installation would help I can do that with an empty calendar immediately.

Re: Confused Upgrade 4.7.3 - 4.7.4

I'm still running 4.7.3 and have just tried to upgrade to 4.7.5 but the same (or a related) issue appears still occurs. I get a "PHP Session Expired" message whenever I go to login. I've had to use the Softaculous backup facility to get back to 4.7.3 which continues to run just fine.

I really do need to sort this out. I've now got a second new installation created and want a way of importing all my existing data.

I see that this alone doesn't do it:

1. Do an full iCal export
2. Create brand a new installation of LuxCal
3. Import the iCal data

as it seems that I need to get all my categories entered first and maybe other settings?

What files in installation of 4.7.3 would contain the necessary data?

Re: Confused Upgrade 4.7.3 - 4.7.4

Hi Greg,

I think it's a matter of clearing the browser cache and maybe deleting some old cookies after a V7.4.5 installation.

I'll make you an offer:
Export your current v4.7.3 database to a .sql file (with phpMyAdmin), send me the file and I will upgrade it for you. Thereafter you can import the upgraded .sql file in your second new installation and then together we will make it work, without PHP Session Expired messages.

Deal?
wink
Roel

Re: Confused Upgrade 4.7.3 - 4.7.4

Hi Roel,

Many thanks! I'll take up that offer!

I couldn't ask for more!

But I won't be able to supply the file till the early part of next week as I'm away at a conference till then.

Greg