Hi,
I "maydayed" Roel for an issue described in problems topics.
We together found the solution.
Description :
After upgrade, display of many php errors, first line (name, date, login) not visible when logged in.
Impossible to logout ... and impossible to make change in settings as it sends me an "invalid request" answer.
Errors linked to settings table according to Roel.
As I have another 524 but brand new on the server, made a comparison between 521 and 524 settings table.
It shows differences and more fields in 524.
Made a copy of liable settings table from brand new to my imported datas, scratching imported settings table.
All ok, no more issue ! Just some data to change, minor problem.

Conclusion :
Roel thinks an error occured in the upgrade procedure which is supposed to correct the structure to new standard.
No key for this trouble as it seems nobody else encountered, just a solution .. wink
Could be  a tricky external cause, nobody knows.

I write this here after Roel asked me to, in case anybody encounters the issue.

2

(6 replies, posted in Problems)

Roel will sure give keys but his email answer hit me to have a look at DB structure in the settings table ...
Seems brand new 5.24 settings contains more fields and then it could be a key ...
Just checked and swapped from imported to brand new table ...
And issue is no more reported !
Waiting for Roels tips !

3

(6 replies, posted in Problems)

I just sent you an email as we already exchanged times before ...
Thx for help !

(there should be a link with the database as a brand new one seems ok ... but I didn't try  reinstalling it there ...)

4

(6 replies, posted in Problems)

Ok I send you all informations

5

(4 replies, posted in Problems)

Yes, it's 5.2.4
I go checking ..
And ...
On the Admin account, stteings page, defaut language ... french.
If I open options, english language is selected and as soon as I select it, all is french.
As soon as I delog/Log in ... back to english in options language and french in settings ... all in english.
Trouble is if I personally don't care, my users do not use english ...  and so I need french as first language after logging.
And selecting or not "restore last user selections" changes nothing to that.
I'll try and look for the config file to check if anything can be moved ...

Edit :
I went in the database, checking users.
Language set as english for admin ... changed to francais.
Lauching calendar, loging ... french ..
Try and change language in the calendar, no change in the base neither via options or settings.
Well, the issue is solved for me but ... there's a malfunction somewhere to store this particular change.

6

(4 replies, posted in Problems)

Well ..
Public access : french
Connected as admin : english, selected french in settings
Setting french in "options/languages", disconnecting, french.
Login again as admin, english ...
I think there's a mistake somewhere ...
Either on Chrome, Brave, Vivaldi.
Seems that the language selection in options has priority but it's not saved ..
Brand new install, no import of any data..

7

(6 replies, posted in Problems)

Mmmmhhh tried RoeL
But I encounter an "invalid request" issue ...
Do you want the luxcal.log for details ?

Other thing I didn't mentionned is that the first line containing login, date, etc doesn't appear ...

8

(2 replies, posted in Need Help)

Oohh .. thx Schwartz, I had no idea it had to be.
Works fine !

9

(2 replies, posted in Need Help)

Seen in the admin guide that we can drag& drop events.
Doesn't seem to work on my clean install of 5.2.4, whichever is the display selected or maybe I missed something ?

10

(4 replies, posted in Problems)

I don't understand tha language selection.
If you set another language on the settings /nav bar, nothing changes.
You need to activvate language selection in the options, then select a language and then selection is ok.
So, what's the use of the selection on the settings page ?

Hi,
Upgrade completed from 521 to 524.
In order no to crash anything, newdatabase, new folder, but the dump of the operational database is imported to the new one and all fils/directories match the upgrade notes.
Calendar seem to be updraded from its own and works but ...
I have troubles in the header, same on new or editing event.
This is for calendar page :
<b>Warning</b>:  Undefined array key "evtTemplGen2" in <b>/homepages/.../calendrier524/index.php</b> on line <b>189</b><br />
<b>Warning</b>:  Undefined array key "evtTemplUpc2" in <b>/homepages/.../calendrier524/index.php</b> on line <b>190</b><br />
<b>Warning</b>:  Undefined array key "evtTemplPop2" in <b>/homepages/.../calendrier524/index.php</b> on line <b>191</b><br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /homepages/.../calendrier524/index.php:189) in <b>/homepages/.../calendrier524/common/toolbox.php</b> on line <b>637</b><br />
<br />
<b>Warning</b>:  Undefined array key "calMenu" in <b>/homepages/.../calendrier524/common/header.php</b> on line <b>468</b><br />

On the server, PHP is 8.2.15 and MySQL is 8.0.32

Tried on a new directory/database to start from.
All ok with no data
If I new import database... then again the issue, calendar ok but display issue ...

Any idea ?

12

(5 replies, posted in Problems)

Well, I must admit I don't understand the trouble as on mine there's always a little free space on the left on any hour where I can add an event ... whathever the display is.

Hubert

13

(2 replies, posted in Problems)

Thx Greig ...
For mine, it's either on Chrome 106.0.xx (W11) both laptop and desktop, than on Androïd 12 on the Samsung.
And it's a permanent issue, either on new event than on editing an existing one ...

Oh, just discovered that the issue also exists on calendar page if you use date selector ..

14

(2 replies, posted in Problems)

When I edit an event, on the phone (Androïd 12) or on the computer (W11) whith V 5.21, if I want to change the event date, a popup comes with the calendar.
But this popup has no background as it's quite difficult to see the dates.
And when I select one, no "click" or whatever is seen as I'm not sure of my selection.

Not sure you see what I mean ...

Hubert

15

(10 replies, posted in Problems)

Hi all,
Issue solved, Roel had a key for it, I applied and all came back ok.
Now, my 521 calendar is fully operative and I can forget my test platform ...

Many thx Roel for quick resolution (as usual) !
Hubert

16

(10 replies, posted in Problems)

I send you an email.
Now, After xx reinstalls, it works but only with 1 user, issue and crash with users table ...

17

(10 replies, posted in Problems)

News,
I don't know how .. calendar is now operative after having done and delete 3 or 4 times new installs ..
Operative but ...
I have an issue with users.
I can log as ans admin but others users have an empty token field so that they're not able to log and they create an SQL issue.
Tried to use the upgrade521.php, makes an error and does not seem to do anything
mycal_users and _usersX both contain token value for me but different values.
I don't know what this field is suposed to be/do, and what happens if I try an random value.

Trying to read Users table cal in the app also creates a bug :
Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /homepages/7/d336518503/htdocs/calendrier521/common/toolboxd.php:110 Stack trace: #0 /homepages/7/d336518503/htdocs/calendrier521/common/toolboxd.php(110): implode(',', NULL) #1 /homepages/7/d336518503/htdocs/calendrier521/pages/users.php(40): stExec(Object(PDOStatement), NULL) #2 /homepages/7/d336518503/htdocs/calendrier521/pages/users.php(227): listUsers() #3 /homepages/7/d336518503/htdocs/calendrier521/index.php(285): require('/homepages/7/d3...') #4 {main} thrown in /homepages/7/d336518503/htdocs/calendrier521/common/toolboxd.php on line 110

Any key ?

18

(10 replies, posted in Problems)

Hi Roel,

Have also a bug in update from 5.1.0M to 5.2.1M
Token etc error, mycal_ users had no token field, I added it manually.
Now, the error in the log is "Query string: INSERT INTO `mycal_stylesX` SELECT DISTINCT * FROM `mycal_styles` WHERE `name` != 'THEME'"
If the update521.php is deleted, error ... file missing
If not deleted, the error in the log as shown before.
I have zero possibility to go to the calendar directly (../calendar521)

I want to keep my data, tried an upgrade, a new install and import the calendar, nothing works.
I'm quite upset and I have another calendar to migrate which is in v 4.7.8, I 'm really anxious about it ...

Any key ?

19

(1 replies, posted in Problems)

Hi,
For some reason, one of my users of a collective calendar is silly enough not to understand what I explain on how to use the calendar.
I thonk I tried everything to explain ...
I know try to know if I can mask some fields, especially location field, in order not to have silly informations there.

Is it possible, may be in groups or somewhere else to manage this ?

Thx

Good job Roel !
Instant update, no issue, new  functions welcome, many thanks !

Of course we'll check translations Roel, just have to keep it in mind ... Thx for all and happy to check soon.
Rolling will be so useful to me ...
I must now check the update method for 5.1.0 !

22

(3 replies, posted in Problems)

Well, Roel gave me some tips and the issue disappeared ...
Cron task is working the way I wanted to.
Doc is maybe a little light, take care to "call" the dedicated cron php which is lcalcron.php and to put on the good data on the cron server

Thx Roel !

23

(3 replies, posted in Problems)

Full answer by mail but the log file is empty ...
Not sure I understood all the cron job working way ...

Thx for help !

24

(3 replies, posted in Problems)

Hi,

Didn't find any question relative to my issue (or misunderstanding ?)
I created a cron job on my hosting provider, no trouble, seems to work, receive a daily report

Of course, switched cron data in the settings and as my provider makes it, chose "local" host

For every event I create/modify, I receive an email, great  ! (rp not ..)
But, I created two events in order to test the night job
And ... nothing, no mail, only the provider sending a notification "cron job ok".
Mmhh .. where's the mistake ?
Now I tried with "distant" host, let check but I don't think it will change anything.
LuxCal 4.7.8

25

(4 replies, posted in Problems)

Thx for new version including this request !

Hubert