Problem with getlinks() in DataObjects

From: Date: Thu, 01 May 2003 12:14:52 +0000
Subject: Problem with getlinks() in DataObjects
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5160@lists.php.net to get a copy of this message
Dear Subscribers, I have severe problems implementing getlinks() in my database application, no matter how I do it i just get the following when I make a var_dump of the DataObject I am trying to link from ... object(dataobjects_image)(22) { ["__table"]=> string(5) "Image" ["id"]=> string(1) "9" ["name"]=> string(4) "test" ["uploaded"]=> string(14) "20030429223731" ["ImageCategorys_id"]=> string(1) "1" ["description"]=> string(0) "" ["photograph"]=> string(0) "" ["file"]=> string(9) "bauta.jpg" ["_DB_DataObject_version"]=> string(3) "1.0" ["N"]=> int(1) ["_database_dsn"]=> string(0) "" ["_database_dsn_md5"]=> string(32) "07769e23fb5775ee91094dfe908961c2" ["_database"]=> string(4) "test" ["_condition"]=> string(0) "" ["_group_by"]=> string(0) "" ["_order_by"]=> string(0) "" ["_limit"]=> string(0) "" ["_data_select"]=> string(1) "*" ["_DB_resultid"]=> int(0) ["_link_loaded"]=> bool(false) ["_join"]=> string(0) "" ["_lastError"]=> bool(false) } I have tried both using a .ini file and not, the "link field" in the table is correctly named and the dataObjects_prefix is corrctly set int the db.ini file... But getlinks simply will not get any links!!! Does anyone have a clue, is there a setup parameter I have missed?? Best Regards Niklas Eriksson

« previous php.pear.general (#5160) next »