[Tickets #2920] NEW: Weatherdotcom block broken

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Nov 4 22:17:45 PST 2005


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

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=2920
-----------------------------------------------------------------------
 Ticket             | 2920
 Created By         | Michael Rubinsky <mrubinsk at horde.org>
 Summary            | Weatherdotcom block broken
 Queue              | Horde Base
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2005-11-04 22:17) wrote:

It seems the latest changes to the Weatherdotcom.php have broken the block.

>From what I can tell, the !@include_once 'Cache'  (which I assumed should
actually be 'Cache.php')  is being evaluated by php to be equal to '1'
before it is being included.  When I remove the @ from the statement, I get
error messages in the log such as:

[Sat Nov  5 00:59:18 2005] [error] PHP Warning:  _content(1): failed to open
stream: No such file or directory in
/home/www/html/horde/lib/Block/weatherdotcom.php on line 106

If I seperate out the mulitple conditions, they evaluate fine.  Is this a
bug in how php is evaluating the multiple || conditions in those if
statements?




More information about the bugs mailing list