6.0.0-beta1
8/14/25

[#4357] mybugs.php and disabled URL file access
Summary mybugs.php and disabled URL file access
Queue Whups
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester kmekc (at) web (dot) de
Created 08/29/2006 (6925 days ago)
Due
Updated 08/29/2006 (6925 days ago)
Assigned
Resolved 08/29/2006 (6925 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2006 10:00:02 AM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Fixed.
08/29/2006 07:59:30 AM kmekc (at) web (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ mybugs.php and disabled URL file access
Queue ⇒ Whups
Reply to this comment
Warning: main(): URL file-access is disabled in the server 
configuration in /var/www-ssl/horde/whups/mybugs.php on line 18



Warning: main(https://xxx.xxx.xx/horde/whups/search.php): failed to 
open stream: no suitable wrapper could be found in 
/var/www-ssl/horde/whups/mybugs.php on line 18



Fatal error: main(): Failed opening required 
'https://xxx.xxx.xxx/horde/whups/search.php
(include_path='/var/www-ssl/horde/lib:.:/usr/share/php:/usr/share/pear') in 
/var/www-ssl/horde/whups/mybugs.php on line 18



As you can see, i have a webserver with disabled URL file access. In 
mybugs.php revision 1.36 there was a change from redirect to load of 
search.php. Seems that this change must be done in another way. As a 
fix i used instead of



require Horde::applicationUrl('search.php', true);



following line of code:



require WHUPS_BASE . '/search.php';



But this one is a little bit odd. Would be better to use the function 
applicationUrl. But if i set fullpath to false, than i only get 
'/horde/whups/search.php'. Maybe there is a possibility to use the 
absolute serverpath.

Saved Queries