| 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 | 05/20/2011 (5306 days ago) |
| Due | |
| Updated | 05/20/2011 (5306 days ago) |
| Assigned | |
| Resolved | 05/20/2011 (5306 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
Thanks...
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Adding Metar block yields fatal error
Type ⇒ Bug
State ⇒ Unconfirmed
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