[geeklog-devel] Template Class loading error
Kevin J. Peno
kevin at metalaxe.com
Tue May 13 13:01:27 EDT 2008
To add to this, I see why this might have gone unseen before. In the
mysql driver, for instance, you use die for failures, but there is still
checks for verbose logging on the driver. In my driver I used the
logging function instead of die for failures. However, if you were to
turn on verbose logging for the mysql driver (or even randy's mssql
driver), the same error would result. Shouldn't all logging follow the
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Kevin J.
Sent: Tuesday, May 13, 2008 9:47 AM
To: Geeklog Development
Subject: [geeklog-devel] Template Class loading error
When the site is initializing the database class, if an error is
encountered, the database class calls "COM_errorLog" (as assigned on
line 134 of system/lib-database.php backtracing to line 94 of
lib-common.php and actually called by the DB class method dbError).
However, because the template class file is not included until line 205
of lib-common.php, the following fatal error occurs: Fatal error: Class
'Template' not found in Geeklog\public_html\lib-common.php on line 1479
Removing the call to COM_errorLog or moving the template include above
config loading resolves the issue. This should affect all db drivers.
Please let me know how to proceed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geeklog-devel