[racktables-users] An error has occured in [getRackRowInfo()].
- From: Mateusz Błaszczyk <blahu77@xxxxxxxxx>
- To: racktables-users@xxxxxxxxxxxxx
- Date: Thu, 5 Feb 2009 15:49:32 +0000 (IST)
Hi,
I am new to racktables, but I haven't found the issue on the list or bugtracker.
It's a clean installation with 1 object (switch)
I have created 3 rack rows.
When I click any of rows I get this:
=============
An error has occured in [getRackRowInfo()]. Additional information:
SQL query 'select dict_key as id, dict_value as name, count(Rack.id) as count,
if(isnull(sum(Rack.height)),0,sum(Rack.height)) as sum from Chapter natural
join Dictionary left join Rack on Rack.row_id = dict_key where chapter_name =
'RackRow' and dict_key = 50000 group by dict_key'
failed in useSelectBlade with error 2036 ()
Go back or try starting from index page.
Fatal error: Call to a member function fetch() on a non-object in
/usr/local/websites/RackTables-0.16.6/inc/database.php on line 49
=============
When I do it in mysql it returns this:
=============
mysql> use racktables;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select dict_key as id, dict_value as name, count(Rack.id) as count,
if(isnull(sum(Rack.height)),0,sum(Rack.height)) as sum from Chapter natural join
Dictionary left join Rack on Rack.row_id = dict_key where chapter_name = 'RackRow'
and dict_key = 50000 group by dict_key;
+-------+-------------+-------+------+
| id | name | count | sum |
+-------+-------------+-------+------+
| 50000 | d-clon-row1 | 0 | 0 |
+-------+-------------+-------+------+
1 row in set (0.00 sec)
=============
Is there anything missing on my installation?
Or am I doing something wrong?
Please advice.
--
pgp-key 0x1C655CAB
Other related posts: