6.0.0-beta1
7/19/25

[#9654] Problem with Ingo Transport Vfs and Procmail
Summary Problem with Ingo Transport Vfs and Procmail
Queue Ingo
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester noles (at) a3k (dot) net
Created 03/11/2011 (5244 days ago)
Due
Updated 03/11/2011 (5244 days ago)
Assigned
Resolved 03/11/2011 (5244 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/11/2011 01:29:44 PM noles (at) a3k (dot) net Comment #4 Reply to this comment
In condition of $field = self::ACTION_FORWARD and the query for the 
sql db is empty
$ob->setForwardAddresses will be called on line 105. This result in an 
error because  $ob = new Ingo_Storage_Forward(); is not declared.

I changed the line from 100 to 99 for  $ob = new 
Ingo_Storage_Forward(); that it will be declared in every condition.
I fixed the singleton -> factory usage. Not really sure what your 
Sql.php patch is supposed to do, it looks like all it does is 
replace the _ characters with a space in that class name, which 
would of course be a fatal parse error.
03/11/2011 04:20:26 AM Michael Rubinsky Comment #3
Assigned to Michael J Rubinsky <mrubinsk@horde.org>
State ⇒ Resolved
Priority ⇒ 1. Low
Reply to this comment
I fixed the singleton -> factory usage. Not really sure what your 
Sql.php patch is supposed to do, it looks like all it does is replace 
the _ characters with a space in that class name, which would of 
course be a fatal parse error.
03/11/2011 04:17:18 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

VFS::singleton is no more.
Use VFS::factory for now. Long term, probably want to use an injector
factory for this.

Bug: 9654
Signed-off-by: Michael J. Rubinsky <mrubinsk@horde.org>

  1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/d63e615b6e5c990426bba7dfbca8a457785a9dbb
03/11/2011 02:21:47 AM noles (at) a3k (dot) net New Attachment: Sql.php.diff Download
 
03/11/2011 02:20:58 AM noles (at) a3k (dot) net Comment #1
Priority ⇒ 2. Medium
New Attachment: Vfs.php.diff Download
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ Problem with Ingo Transport Vfs and Procmail
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Ingo
Reply to this comment
Only white Page when opening Ingo with Transport Vfs and Procmail

Error in LogFile:

[Fri Mar 11 02:36:40 2011] [error] [client xxxx] PHP Fatal error:   
Call to a member function getForwardAddresses() on a non-object in 
/var/www/html/horde/ingo/lib/Script/Procmail.php on line 295

[Fri Mar 11 02:39:15 2011] [error] [client xxxx] PHP Fatal error:   
Call to undefined method VFS::singleton() in 
/var/www/html/horde/ingo/lib/Transport/Vfs.php on line 136, referer: 
http://sirios.a3k.net/horde/ingo/script.php

I made two little changes that ingo is working for me.

Files changed: (see diff files)
ingo/lib/Storage/Sql.php
ingo/lib/Transport/Vfs.php

Saved Queries