Skip to forum content

LuxCal Web Calendar

The place for news, questions and suggestions

You are not logged in. Please login or register.


Post new reply

LuxCal Web Calendar → Need Help → File attachments → 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.

Required information for guests


Required information

Topic review (newest first)

4

Hello W.S.

I see. Because it's a rather unusual host name, the URL parser apparently doesn't like it and flags it as invalid.
Please edit the file "common/toolbox.php" and on line 20 (starting with $rxCalURL) do the following:

Replace "localhost" (somewhere in the middle) by "[\w-]{2,10}host". No typing errors please wink

Since you are running a local server, you should set the calendar URL on the Settings page to srv-host/?cal=mycal. I don't think http:// is needed, but I'm not sure.

Please let us know if this solved your problem.
Best regards,
Roel

PS. I will also change this in the next LuxCal version, which is planned for 1 September.

3

Hello Roel,

thank you for your reply.

The actual setting of Calendar URL is: http://localhost/?cal=mycal

Setting the Calendar URL to http://srv-host/?cal=mycal results in an error message "Missing or invalid settings".
I also tried http://srv-host/index.php/?cal=mycal with the same result.

srv-host is the host name of the Linux server. I am running a local installation. My browser accesses the calendar with srv-host/index.php

Best regards
W.S.

2

Hello W.S.

You should go to the admin's Settings page and under General set the Calendar URL to the real URL (http://www. etc.).

Best regards,
Roel

1

Hello,

I am working with version 4.5.2M.

I cannot access attached files. When clicking the hyperlink to an attachment, my browser tries to open something like localhost/attachments/......
What I need is something like srv-host/attachments/......   where srv-host is the host name of the server.

Where can I do this configuration?

Best Regards
W.S.

LuxCal Web Calendar → Need Help → File attachments → Post new reply