craigk5n / webcalendar

WebCalendar is a PHP application used to maintain a calendar for a single user or an intranet group of users. It can also be configured as an event calendar.
http://www.k5n.us/webcalendar.php
GNU General Public License v2.0
148 stars 70 forks source link

Installation worked but it is not possible to open Events Details #392

Closed jessidevil closed 10 months ago

jessidevil commented 11 months ago

Discussed in https://github.com/craigk5n/webcalendar/discussions/390

Originally posted by **jessidevil** August 10, 2023 I have installed the webcalendar-master on my Server: |SYSTEM INFORMATION     | | |---|---| | OS type and version | Ubuntu Linux 22.04.3 | | Kernel and CPU | Linux 5.15.0-78-generic auf x86_64 | | Webmin-Version | 2.101 | | Usermin-Version | 2.001 | | Virtualmin Version | 7.7. | | Authentic theme version | 21.04 | | Apache Version | 2.4.52 | | PHP Version | 8.1.2 | | MariaDB Version | 10.6.12 | All looks good, you can see Events in the Overview Month, Week, Daily,... but if you click it you will only get a Error 500 from the Server. Any Ideas? Thanks in Advance :)
atzbach commented 10 months ago

I have the same Problem, all Details "view_entry.php?xxx" resolved a white blank site.

temporary fix with replace "view-entry.php" from Feb 15, 2022

AxelDuerrbaum commented 10 months ago

Changing the order of the "require_once" in line 18 to 21 in view_edit.php solves the problem:

require_once 'includes/classes/Doc.php'; require_once 'includes/classes/DocList.php'; require_once 'includes/classes/CommentList.php'; require_once 'includes/classes/AttachmentList.php';

Because AttachementList.php extends DocList !

automotorcanarias commented 10 months ago

https://github.com/craigk5n/webcalendar/issues/388

craigk5n commented 10 months ago

It should be fixed in the latest code in the master branch.