From the "Open Discussion":
http://sourceforge.net/forum/forum.php?thread_id=1217828&forum_id=47357
"Fatal error: Call to a member function on a non-object in
/local/www/html/phpbt-1.0rc5/inc/functions.php on line 40"
Ben,
Look at include.php: You first set handle_db_error() to handle any
database errors, then you query for the configuration variables, and
finally create the $t object. Clearly show_text() can be called before
$t exists in this case. I'd suggest the attached patch to at least get a
meaningful error message.
--
Ulf
|