Friday, June 26, 2009

PHP-Calendar 2.0 Beta1

I just released version 2.0 Beta1.

The new features include a vastly improved permissions system. Site admins can create users and give them permissions (read, write, admin, etc) on distinct calendars. Running multiple calendars may not be perfect yet, but I would like feedback from anyone who wants to try it. I decided to release before I finished the code to delete users/calendars; that will be available in the next release.

The DB format is not finalized and there is unlikely to be an updater for the next version. This version is strictly for feedback. If you plan on updating your calendar when the next version comes out and you want to keep your events, wait. If you want to help me get the next version out, try this calendar, but understand it's going to be a difficult or strictly manual process to update.

The updater doesn't work for this version. It's unlikely that I'm going to write an updater to version 2.0. The user schema shouldn't change, but the event schema is going to change to the previous development line by the final version. There's too much installation dependent code to make an easy updater. If someone wants to take on the task, I will certainly be a guide, but I think improving the installer or other code would be time better spent.


  1. Good stuff. Good script. Just what I was looking for. I really hope you continue development.


  2. This comment has been removed by a blog administrator.

  3. I installed version 1.1 on a PHP 5.x based server. It worked just fine. However, when I installed on a PHP 4.x machine I get an error during install. The error is:
    Warning: main(adodb/ failed to open stream: No such file or directory in /home/content/xxxxxxxxx/html/calendar/install.php on line 33

    Fatal error: main(): Failed opening required 'adodb/' (include_path='.:/usr/local/lib/php') in /home/content/xxxxxxxxxxx/html/calendar/install.php on line 33

    Is it not supported in PHP 4.x?

  4. Sorry for not keeping up with the comments here. My paid job and other hobbies have been distracting me for a bit. Version 1.1 works fine on PHP 4.1 and newer. You need to install ADOdb, it's in the install doc and FAQ, I believe. 2.0 Beta1 requires PHP 5.0 with PDO, Beta2 and later require PHP 5.0 with MySQLi (since that should be more common than PDO).

    You can download any of these versions at and older versions at