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

Category settings page gives a 500 error #426

Closed s22-tech closed 9 months ago

s22-tech commented 9 months ago
PHP Fatal error:  Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in /home/username/webcal/category.php:17
Stack trace:
#0 /home/username/webcal/category.php(17): fclose(false)
#1 {main}
  thrown in /home/username/webcal/category.php on line 17
craigk5n commented 9 months ago

Should be fixed in master branch and will be included in 1.9.11 release. You need to change the permissions of your wc-icons directory to writable to everyone.

chmod 777 wc-icons
s22-tech commented 9 months ago

Actually, permissions of 755 work just fine on linux.

Also, there was no wc-icons directory in the zip. I had to create it by hand.

Update: I just noticed that the ws directory is also not in the zip file.