6.0.0-beta1
7/19/25

[#10839] In whups-mail-filter I had to edit Application.php location
Summary In whups-mail-filter I had to edit Application.php location
Queue Whups
Queue Version 2.0
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester szimszon (at) oregpreshaz (dot) eu
Created 12/06/2011 (4974 days ago)
Due
Updated 12/21/2011 (4959 days ago)
Assigned
Resolved 12/09/2011 (4971 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/21/2011 11:43:44 AM szimszon (at) oregpreshaz (dot) eu Comment #6 Reply to this comment
Sorry but I think I still miss something. What should I set? 
whups-mail-filter is found only the Application.php not.

But If I see the 
http://git.horde.org/horde-git/-/commit/330c5ace6772b6cb4e890ad3b47806fae4aac9cb git 
diff:
---
if (file_exists(dirname(__FILE__) . '/../../whups/lib/Application.php')) {
     $baseDir = dirname(__FILE__) . '/../';
} else {
---
I think it should look like:
---
if (file_exists(dirname(__FILE__) . '/../../whups/lib/Application.php')) {
     $baseDir = dirname(__FILE__) . '/../../';
} else {
---
12/21/2011 11:24:15 AM Jan Schneider Comment #5 Reply to this comment
Then you need to specify that when running the script. Read the Horde docs.
12/21/2011 10:20:35 AM szimszon (at) oregpreshaz (dot) eu Comment #4 Reply to this comment
After upgrading to the 2.0.1 version I still have an error:

Command output: PHP Warning:
     require_once(/usr/share/php/www/horde/whups/lib/Application.php): 
failed to
     open stream: No such file or directory in
     /var/www/horde/pear/whups-mail-filter on line 66 PHP Fatal error:
     require_once(): Failed opening required
     '/usr/share/php/www/horde/whups/lib/Application.php'
     (include_path='/var/www/horde/pear/php') in
     /var/www/horde/pear/whups-mail-filter on line 66

Because horde isn't installed in common way but in a separate pear 
environment.
12/09/2011 12:34:20 PM szimszon (at) oregpreshaz (dot) eu Comment #3 Reply to this comment
TNX.
Changes have been made in Git for this ticket:

[jan] Fix some CLI scripts if run from a PEAR installation (Bug #10839).

  6 files changed, 35 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/330c5ace6772b6cb4e890ad3b47806fae4aac9cb
12/09/2011 12:32:41 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
12/09/2011 12:30:33 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix some CLI scripts if run from a PEAR installation (Bug #10839).

  6 files changed, 35 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/330c5ace6772b6cb4e890ad3b47806fae4aac9cb
12/06/2011 11:11:12 AM szimszon (at) oregpreshaz (dot) eu Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ In whups-mail-filter I had to edit Application.php location
Queue ⇒ Whups
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi All!

In whups-mail-filter I had to edit Application.php location at line 59 
because it is in
/../webmail/lib/Application.php

Horde is installed in separate pear location...

Saved Queries