Re: DataObject linking

From: Date: Wed, 16 Aug 2006 17:52:19 +0000
Subject: Re: DataObject linking
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24919@lists.php.net to get a copy of this message
actually this will make more sense since I provided the DESC for ranges DataObjects_Hosts: links: Loaded links.ini file: /usr/local/www/systems/systemsdbdev/app/includes/DataObjects/systemsdev.links.ini DataObjects_Hosts: ERROR: getLink:Could not find class for row location_id, table locations DataObjects_Hosts: ERROR: getLink:Could not find class for row range_id, table ranges TIA. On 8/16/06, Jeff Loiselle <jeff.loiselle@gmail.com> wrote:
Hey Justin :-) What does this mean? DataObjects_Hosts: links: Loaded links.ini file: /usr/local/www/systems/systemsdbdev/app/includes/DataObjects/systemsdev.links.ini DataObjects_Hosts: ERROR: getLink:Could not find class for row location_id, table locations database.links.ini provided: [hosts] location_id = locations:id range_id = ranges:id tables provided: mysql> describe hosts; +--------------+------------------+------+-----+-----------------+-------+
| Field        | Type             | Null | Key | Default         | Extra |
+--------------+------------------+------+-----+-----------------+-------+
| id           | int(11)          | NO   | PRI | 0               |       |
| host_type_id | int(2)           | YES  |     | NULL            |       |
| location_id  | int(3)           | NO   |     | 0               |       |
| range_id     | int(11) unsigned | NO   |     | 0               |       |
| ip           | varchar(96)      | NO   |     | 000.000.000.000 |       |
| mac          | varchar(18)      | NO   |     | -               |       |
| hostname     | varchar(255)     | NO   |     | NULL            |       |
| ttl          | int(6)           | YES  |     | NULL            |       |
| dhcpoptions  | varchar(255)     | YES  |     | NULL            |       |
| personal     | int(1)           | NO   |     | 0               |       |
| wireless     | int(1)           | NO   |     | 0               |       |
| comment      | varchar(255)     | NO   |     | NULL            |       |
+--------------+------------------+------+-----+-----------------+-------+ 12 rows in set (0.00 sec) mysql> describe ranges; +-------------+-------------+------+-----+---------+-------+
| Field       | Type        | Null | Key | Default | Extra |
+-------------+-------------+------+-----+---------+-------+
| id          | int(11)     | NO   | PRI | 0       |       |
| network_id  | int(11)     | NO   |     | 0       |       |
| begin       | varchar(16) | NO   |     | NULL    |       |
| end         | varchar(16) | NO   |     | NULL    |       |
| restricted  | int(1)      | NO   |     | 0       |       |
| description | blob        | NO   |     | NULL    |       |
+-------------+-------------+------+-----+---------+-------+ 6 rows in set (0.00 sec) --- Jeff Loiselle Web Developer, Musician, and Observer http://jeff.loiselles.com ""A man is what he thinks about all day long." - Ralph Waldo Emerson
-- --- Jeff Loiselle Web Developer, Musician, and Observer http://jeff.loiselles.com ""A man is what he thinks about all day long." - Ralph Waldo Emerson

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