[Tickets #4357] NEW: mybugs.php and disabled URL file access

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Aug 29 00:59:36 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4357
-----------------------------------------------------------------------
 Ticket             | 4357
 Created By         | kmekc at web.de
 Summary            | mybugs.php and disabled URL file access
 Queue              | Whups
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


kmekc at web.de (2006-08-29 00:59) wrote:

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.




More information about the bugs mailing list