6.0.0
7/2/26

[#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/6/11 (5322 days ago)
Due
Updated 12/21/11 (5307 days ago)
Assigned
Resolved 12/9/11 (5319 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
4411 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 {
---
1511 Jan Schneider Comment #5 Reply to this comment
Then you need to specify that when running the script. Read the Horde docs.
3510 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.
2012 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
4112 Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
3312 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
1211 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