Skip to forum content
LuxCal Web Calendar
The place for news, questions and suggestions
You are not logged in. Please login or register.
Active topics Unanswered topics
Post new reply
Post new reply
Compose and post your new reply
You may use: BBCode Images Smilies
All fields with bold label must be completed before the form is submitted.
Topic review (newest first)
dwcondu wrote:I believe this was the topic:
LuxCal Web Calendar → Known Issues and Fixes → LuxCal 5.2.0 SQL error when opening User Profile
Here's the url on that page:
h t t p s : / / www . luxsoft . eu / lcforum / viewtopic . php ? id=401
Since this forum can't have urls listed, I broke the url up.
Thank you
I believe this was the topic:
LuxCal Web Calendar → Known Issues and Fixes → LuxCal 5.2.0 SQL error when opening User Profile
Here's the url on that page:
h t t p s : / / www . luxsoft . eu / lcforum / viewtopic . php ? id=401
Since this forum can't have urls listed, I broke the url up.
The last problem is a known problem and the solution can be found in this forum under Known Issues and Fixes.
Where exactly in Known Issues and Fixs can that be found. I'm either blind or stupid but I can't seem to find the solution.
Thanks for last answer. FIXED!
Since I'm using Codeigniter4, I'm wondering if my $calPath issue is affected by the CI4 pathing. I'll continue. IF (big IF) I discover a solution, I will report it.
Thanks for your prompt responses.
Hi there,
The last problem is a known problem and the solution can be found in this forum under Known Issues and Fixes.
Roel
More questions!
I have the path $calPath set to default. I manual log in as admin. I click on the "User Profile" under the user's name and I get a popup.
SQL error. See 'logs - sql log '
Here's the sql log:
mycal ERROR Script: - mypac_cal - index php - SQL execute error: SQLSTATE [ 42S22] : Column not found: 1054 Unknown column 'number' in 'field list'
Values string: 2
Thanks!
LuxCal version 5.2.0M
I did a clean install complete with your installer setting up the database.
My summary of reactions:
When I set the $calPath to '/' then I automatically logged in. BUT, I got the various errors when I tried to add events, change settings, etc. The latest was PHP SESSION EXPIRED.
When I left the $calPath as set up originally, I DID NOT sign in automatically. I had to manually sign in and I then could make changes, updates, etc.
By the way these actions occurred when I was inside a frame and when using the calendar directly from the url.
Thanks for the reply.
Hi there,
What calendar version are you using?
Did the Single Sign On work before?
And if so, when did it stop working? Did it stop working after an upgrade of the calendar?
Roel
OK I set $calPath = '/';
Currently not being automatically logged in. After I manually log in, I'm getting error message
PHP SESSION EXPIRED
Please restart the Calendar
I'll be back I need to rest my brain.
Thanks
Please note, I am using Codeigniter 4. and I'm not the "sharpest knife in the drawer."
In my controller:
$session = \Config\Services::session();
$newdata = ['lcUser' => 'admin'];
$session->set($newdata);
In my view:
<style type="text/css" media="screen">
.my-body{
width: 100%;
}
</style>
<table class="my-body" id="events">
<tr>
<td><?php
echo 'lcUser is: ' . $mycal_user; ?><br>
<iframe class="embed" id="lcIframe" name="lcIframe" src=" mypac_cal/ " style="height: 700px; width: 100%;" title="Upcoming Events"></iframe></td>
</tr>
</table>
The php in the view echos lcUser is: admin
I changed the $calPath = '/'; and commented out the remainder.
I was automatically logged in. But every time I tried to edit, add, update settings, etc. I got the following error message.
INVALID REQUEST
Please restart the Calendar.
I undid my edit in the index.php by setting it back to original. I am no longer getting an error message and everything functions as expected.
Except, I am no longer being automatically logged in.
Thoughts?
Thanks
setting $calPath = '/'; seemed to fix the issue ... thanks
calendar page with single sign on and calendar in iframe
You're saying you can "echo it to the page", but to what page? Can you echo it in a test script running in the calendar iframe?
Actually it isn't working, I thought I had fixed it but it doesn't seem to work as expected.
I have set $_SESSION['lcUser'] and can echo it to the page as a check but the calendar does not auto login user