This is a continuation of my post about the email encoding problem. After I sorted out the encoding business, I deleted the emails with the broken characters. Then I try to empty the trash can, but errors are produced.
When I click to delete, say 50 objects permanently, the Error window pops up saying "failed to delete 50 objects".
Then when I click to the last page of the trash can, following error occurs:
"Fatal error: Call to a member function getOwner() on a non-object in /public_html/intranet/application/models/mail_contents/MailContent.class.php on line 476"
Looking at the log, the following appear:
-------------------------------------------------------------------------------
Session "default" started at 2009-06-26T09:17:36+0000
#1 ERROR: Error: Undefined variable: types in '/public_html/intranet/application/controllers/ObjectController.class.php' on line 1023 (error code:
#2 ERROR: Error: Undefined variable: types in '/public_html/intranet/application/controllers/ObjectController.class.php' on line 1028 (error code:
Time since start: 0.784224033356 seconds
-------------------------------------------------------------------------------
Session "default" started at 2009-06-26T09:17:41+0000
#1 ERROR: Error: Undefined offset: 0 in '/public_html/intranet/application/controllers/MailController.class.php' on line 308 (error code:
#2 ERROR: Error: Invalid argument supplied for foreach() in '/public_html/intranet/application/controllers/MailController.class.php' on line 347 (error code: 2)
Time since start: 0.498067140579 seconds
-------------------------------------------------------------------------------
Session "default" started at 2009-06-26T09:04:54+0000
#1 ERROR: Error: Undefined variable: ws in '/public_html/intranet/application/controllers/MessageController.class.php' on line 98 (error code:
Time since start: 0.682073116302 seconds
-------------------------------------------------------------------------------
Anyone know what the problem is?? I suspect it's the emails which have unreadable characters in them,, but I am not a programmer so I can't be sure.
Please help!