Hi Tony,
That's quite possible. Maybe your provider upgraded PHP and maybe it's time also to upgrade the LuxCal calendar.
What calendar version are you using?
Roel
You are not logged in. Please login or register.
LuxCal Web Calendar → Posts by Roel
Hi Tony,
That's quite possible. Maybe your provider upgraded PHP and maybe it's time also to upgrade the LuxCal calendar.
What calendar version are you using?
Roel
Hi there,
I had a look at your PonyCal and have the impression that your PHP sessions are not working.
Could you send me your email address (via the Contact Us page); I will then send you a small script to test your PHP sessions.
Roel
Hi Scunder,
Last week there was a calendar user with exactly the same problem and the good news is that I know how to solve it ![]()
There are two possibilities:
1) You upgrade to the latest version + this fix. This is a version I can send you (if you send me your email address).
2) You go to your server and use phpMyAdmin and in all tables of the calendar database change all fields which are set to "default Not null" and have no default value to "default Null". Altogether this has to be done 17X (sigh).
If you want to upgrade, which I of course recommend, let me know your email address and I will send you the latest calendar version with the "SQL strict" fix and instructions how to do this.
I of course would not mind if at the same time you translate the new texts in the language files of the upgraded calendar ![]()
Roel
Hi Piotr,
Yes, your session problems are fascinating ![]()
Send me your email address (via the Contact Us page) and then I will send you a simple PHP script to test the PHP sessions.
No sessions, no calendar ![]()
Roel
Hi Piotr,
I assume PHP sessions are enabled. So the problem is almost certainly the session.save_path (wrong directory or permissions not correct).
I think you should just tell your provider that your PHP sessions are not working and ask them to solve this problem. And maybe give them a hint that it is probably due to a wrong session.save_path.
Often one can select a PHP version in the control panel of your web host. If this is possible you could try to switch to a different PHP version, for which the session.save_path has been set correctly. (each PHP version has it's own session.save_path, so it is quite possible that an other PHP version works fine).
The LuxCal calendar runs with PHP V5.4 or higher.
Roel
Hello Piotr,
There are basically two possible reasons for PHP sessions not to be working:
1) sessions are not enabled in the PHP installation, which is very unlikely because many PHP web applications use sessions.
You can check if sessions are enabled by uploading a script containing . . .
phpinfo();. . . to the calendar root on your server and start it with your browser. It will show you the PHP installation details. Now scroll down to (or search for) SESSION and check the first line.
2) the session save path (session.save_path) is incorrect. In more than 99% of the cases this is the problem.
In the same PHP installation details as above, some lines down, you will find the variable session.save_path (see screenshot). In my case it is "/tmp". I don't know what it should be in your case, maybe "/tmp", maybe not. You can change the value in the php.ini file (if you have access to that file).
Hopefully this solves your problem. If not, let me know and I will try to help.
Roel
We are currently solving this problem by email.
Roel
Hi there,
It works as follows:
- create in the calendar root a folder called (for instance) "images"
- upload your logo.jpg file to this images folder (max. image size 70 x 70px)
- on the Settings page, under General, specify Path/name of logo image like this: "images/logo.jpg"
If this is what you did, could you please send me a link to your calendar, so that I can have a look. You can send me the link by email if you prefer.
Roel
Ah, I see.
This was a security risk in the 'old' LuxCal versions. Anybody could edit an event this way.
In the newer versions this is not possible anymore.
But since you are familiar with tailoring the calendar, I will explain what could be done:
The link to open an event in edit mode is . . .
http://<your calendar URL>?xP=31&action=edi0&eid=2957&evD=2019-05-17
The part &evD=2019-05-17 is optional (only required to edit a single occurence of a repeating or multi-day event).
However when you use this link from outside the calendar, you will get the message "you are not authorized to perform this action".
This message can be avoided by editing the file "pages/events.php" and at the end of the file, in the if-statement at line 459, replace "$mayEdit" by "true".
Roel
Hi there,
The way events are stored and retrieved from the database has not changed since very long. So if you could retrieve an event from the database in a past LuxCal version, it should be possible now.
But to answer your "If so, how?" question, I need much more details of what you exactly want to do, like . . .
- Are you using the MySQL or SQLite version of the calendar?
- What kind of program "outside of LuxCal"? An existing external application, or a PHP script produced by you, or something else?
- What do you exactly mean by "to open events to edit"?
Roel
Hi Riaan,
Have you tried to refresh the calendar page (Ctrl-F5)?
If so, on the Settings, in the section Views, try to delete the Map viewer URL. Often mod_security on Apache servers doesn't like URLs in web forms.
If this solves the problem, please let me know and then I will give you a hint on how to solve this.
Roel
Most "displays" have the following setting in the GENERAL SETTINGS section:
$evtWin = 1; //on click open event window (0: no, 1: yes). If the user has post rights, the event add/edit window will open, otherwise the event report window will openIn LuxCal v4.7.5, when in the display $evtWin is set to '1', clicking events does not result in opening the Event window.
This is caused by a JavaScript error in the toolbox.js file.
To solve this problem, edit the file 'common/toolbox.js' and replace line 128 . . .
pars.cal1x = calID;by . . .
if (typeof calID !== 'undefined') { pars.cal1x = calID; } //if defined, use calID; but don't store in sessionRoel
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?![]()
Roel
Hi Marc,
I think that 82 items could be too much to import in one go. Try splitting the .ics file in two parts and import both parts separately.
If this doesn't work, could you please send me the .ics file via email (via the Contact Us page), so that I can analyze the problem.
Roel
Thanks Dan,
We have been discussing to add a registration option to the events since quite some time already, but so far I could not find the time and energy to start coding
Maybe later this year. I had a look at the link you posted and the OperSource Registration script looks inspiring ![]()
Roel
Hi Dan,
Yes, I agree. This is rather serious and should be cured as soon as possible.
Hi Minne,
Please send me your email address as soon as possible (via the Contact Us page).
Regards,
Roel
Hi Minne,
Please don't post all that information in a forum. It's sensitive data which can be misused by malicious forum visitors. It's a wild world out here ![]()
You should always sent this kind of data by email just to me.
I removed the sensitive part and kept a copy for myself to further analyze the problem.
Roel
Phpdummy,
I don't know if you are the same as cpcnw (first post), but send me your email address (via the Contact Us page) and I will send you a small script to test your PHP sessions.
Roel
Thanks Jim,
2. Installation guide updated.
3a. On which pages is this happening? This could happen if PHP displays a Notice or Warning message.
3b. It's impossible to print which pages? And where can I find that Firefox article.
4. Elections in two years time. Everything will be file thereafter ![]()
Regards,
Roel
Hi Minne,
A couple of questions . . .
Did you install the latest calendar version 4.7.5 from the LuxSoft site? MySQL or SQLite version?
Did you follow the instructions when installing the calendar? You unzipped the calendar file and uploaded all files and folders to a web-accessible folder on your server?
And did thereafter the installation window open? And did the installation run successfully?
If that all went fine, could you please send me the URL of your calendar (via the Contact Us page).
Roel
Yes, please do so. Could you create a temporary account with admin rights for me in your calendar?
Roel
Hi Patp,
For version 4.7.5: Have you tried refreshing the calendar with Ctrl-F5 on your computer and "reload" on your mobile.
Concerning the error messages for version 4..1 it looks like V4.7.5 and V 4.6.1 are mixed up a bit. In v4.6.1 go to the Settings page and click the "Save Settings" button.
I have the feeling is's all related to the browser history.
Roel
Jonathan don't panic, I will help!
Upgrade to v4.7.5! (not 4.7.4) and thereafter start the calendar and refresh the calendar page (Ctrl-F5).
If thereafter you still have problem, we will help you solve them!
Roel
Concerning the spam filter: I will let you know by email.
Roel
Hi Fred,
Was your .sql backup file from LuxCal 4.7.1 or later? I had a look at your calendar and did not see any problem. You wrote that you uploaded the .sql backup file and all seemed normal, When I looked however, the calendar was empty. Did you deleted all events?
Have you tried refreshing the calendar page (Ctrl-F5)?
Roel
LuxCal Web Calendar → Posts by Roel