Roundcube Community Forum

 

Roundcube Planner

Started by Lazlo, December 07, 2011, 10:50:20 AM

Previous topic - Next topic

Lazlo

Roundcube Planner version 0.5: Roundcube Planner

- compatible with 0.8 beta and the new skin
- added functionality to create a plan from mail

cdkdang

Sorry I've been using the barebones roundcube (no plug in) for about a month and haven't had any issues and am now trying to implement your planner plugin.

When I do I get HTTP Error 500 (Internal Server Error). In roundcube mail error logs i get the following

[16-Apr-2012 20:50:27] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct() [<a href='datetimezone.--construct'>datetimezone.--construct</a>]: Unknown or bad timezone (10)' in C:\wamp2\www\rcm\plugins\planner\planner.php:51
Stack trace:
#0 C:\wamp2\www\rcm\plugins\planner\planner.php(51): DateTimeZone->__construct('10')
#1 C:\wamp2\www\rcm\program\include\rcube_plugin_api.php(182): planner->init()
#2 C:\wamp2\www\rcm\program\include\rcube_plugin_api.php(114): rcube_plugin_api->load_plugin('planner')
#3 C:\wamp2\www\rcm\program\include\rcmail.php(208): rcube_plugin_api->init()
#4 C:\wamp2\www\rcm\program\include\rcmail.php(140): rcmail->startup()
#5 C:\wamp2\www\rcm\index.php(34): rcmail::get_instance()
#6 {main}
  thrown in C:\wamp2\www\rcm\plugins\planner\planner.php on line 51

I'm running roundcube 0.7.2 on wampserver 2.0 with apache 2.2.11, php 5.3.1 and mysql 5.1.36.

I followed the instructions, extracted planner (version 0.5) folder to plugins directory. ran mysql instructions on roundcube database.

What am i doing wrong?

rosali

I think Laszlo missed, that timezone management has been changed from 0.7 to 0.8 branche. While it is an integer (offset value) in 0.7 it is a string (timezone name) in 0.8.
Regards,
Rosali

Lazlo

@cdkdang

Replace the line with:
// set user's timezone
try {
  $timezone = new DateTimeZone($this->rc->config->get('timezone', 'GMT'));
}
catch (Exception $e) {
  $timezone = new DateTimeZone(date_default_timezone_get());
}

New version will be rolled out as soon 0.8 is released.

cdkdang

It worked thanks.

Sorry it took so long, but I stopped fiddling with Round Cube till just today.

Good simple plugin.

Tayku

Nice, just the right patch on right time. Maybe you could work this into your latest revision, Lazlo?

Some hints: this is proposing but for a good to-do-list you should add more levels of priority. In my case I use a list with -1, 0, 1, 2 as levels. 0 is standard, the others are for bulkwork, important and very important. Secondly, a possibility to revert a task to be undone would also be great.
I keep an eye on this plugin. :)

Lazlo

I've been working on a new interface. New interface also has support for priority levels and reverting done tasks. Download the latest development version from http://lazlo.me/roundcube-planner/ for testing.

oldschool

Hi, Lazlo!

I just installed the 0.5 on a 0.8rc and use larry as default gui.
No probs until now.

Congrats. Cool plugin!
;D


Rgds.

speedy80

Hi Lazlo,

I installed your planner 0.5 on a roundcube 0.9git version. I get following error:

Application Error (524): No handler found for action planner.plugin.calendar_get_reminders

Regards,
speedy80

Lazlo

Please try the latest development version, this one has many bug fixes and a new interface.

speedy80

I installed the latest development version. I have the same result. Are there any logs i can post for you?

Lazlo

Are you using other plugins?

Lazlo

Just released version 0.6 beta with the new interface. Bugs can be reported here and translations can be submitted here.

speedy80

Yes, I have different plugins enabled. I disabled all but planner. The error disappears, but planner still seems to load forever.

I deleted the sql table and inserted it anew. Still the same error.

Lazlo

Please report your issues here and attach possible error logs from logs/.