From: Ahmad <al...@gm...> - 2005-06-07 16:11:51
|
Greetings, ModelFactory::getResModel($modelType, $baseURI =3D null) calls ModelFactory::getDbModel($baseURI) which is defined as &getDbModel($dbStore, $baseURI =3D null), and which has no code for falling back to a default DbStore when none is provided. The result is: Fatal error: Call to a member function modelExists() on a non-object in \rdfapi-php\api\model\ModelFactory.php on line 86 This could be fixed in a number of ways including having getResModel() call getDefaultDbModel() inplace of getDbModel(). I would like to know your preferences. Regards, Ahmad |