6.0.0-git
2019-03-21

[#10109] Adding Metar block yields fatal error
Summary Adding Metar block yields fatal error
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester eru (at) php (dot) net
Created 2011-05-20 (2862 days ago)
Due
Updated 2011-05-20 (2862 days ago)
Assigned
Resolved 2011-05-20 (2862 days ago)
Milestone
Patch No

History
2011-05-20 10:51:25 Jan Schneider Assigned to Michael Rubinsky
State ⇒ Resolved
 
2011-05-20 10:06:08 eru (at) php (dot) net Comment #2 Reply to this comment
Hmpf... I can just see in the GIT, that the error was fixed yesterday...

Thanks...
2011-05-20 10:02:12 eru (at) php (dot) net Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ Adding Metar block yields fatal error
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
Dear Horde-Team,

apparently the $db variable is not created properly in the Metar 
block, as the following error is being thrown:

[Fri May 20 11:41:51 2011] [error] [client XXX.XXX.XXX.XXX] PHP Fatal 
error:  Call to a member function query() on a non-object in 
/var/www/XXX/htdocs/lib/Block/Metar.php on line 38, referer: 
https://XXX.XXX.XXX/services/portal/edit.php

In this line the block tries to query for the existing airports in the 
database. The table in question is present and populated.

Best regards,
Alexander

Saved Queries