Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mkowalski

Pages: [1]
1
Older versions / Bad character encoding in email title
« on: December 15, 2009, 09:03:28 am »
Incoming email titles are badly displayed. I have tested it with gmail-originating message in utf-8 format with polish-specific characters in title.

2
Older versions / Re: [1.5.3] Fails on cron reminders
« on: October 06, 2009, 05:39:35 am »
The way to fix it is:

Change the following line in application/models/object_subscriptions/ObjectSubscriptions.class:

#$user_object_workspaces = $object->getWorkspaces(logged_user()->getWorkspacesQuery());

Into:

$user_object_workspaces = $object->getWorkspaces($user->getWorkspacesQuery());

Also, in cron mode, the following include is required:

require_once ROOT.'/application/helpers/permissions.php';

3
Older versions / Re: [1.5.3] Fails on cron reminders
« on: October 04, 2009, 06:35:15 pm »
Line numbers may be different due to logging I've added.

4
Older versions / [1.5.3] Fails on cron reminders
« on: October 01, 2009, 06:52:19 am »
This is the log:

Session "default" started at 2009-10-01T09:45:01+0000
#1 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#2 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#3 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#4 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#5 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#6 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#7 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#8 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#9 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#10 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#11 ERROR: Error: Object of class ProjectTask could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 123 (error code: 4096)
#12 ERROR: Error: Object of class DateTimeValue could not be converted to string in '/home/mknstref/public_html/opengoo/application/hooks/opengoo_hooks.php' on line 125 (error code: 4096)
Time since start: 0.600854873657 seconds
-------------------------------------------------------------------------------

Then php fails:

<b>Fatal error</b>:  Call to a member function getWorkspacesQuery() on a non-object in <b>/home/mknstref/public_html/opengoo/application/models/object_subscriptions/ObjectSubscriptions.class.php</b> on line <b>36</b>

I have checked that function logged_user() returns 1 ..

Any ideas on how to patch it?

Pages: [1]