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 |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ mybugs.php and disabled URL file access
Queue ⇒ Whups
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.