Share » Forums » Install & configuration » Installation error: Administrator...

Installation error: Administrator content object does not have 'first_name' and 'last_name' fields

Installation error: Administrator content object does not have 'first_name' and 'last_name' fields

Sunday 13 February 2005 4:59:02 pm - 2 replies

Author Message

Greg Rundlett

Sunday 13 February 2005 7:05:52 pm

After turning on the debugging output by creating a site.ini.append.php file in the settings/override directory, I get the following error message:

Error: eZMySQLDB Feb 13 2005 21:48:46

Query error: Got error 28 from table handler. Query: SELECT ezcontentobject_attribute.*, ezcontentclass_attribute.identifier as classattribute_identifier,
ezcontentclass_attribute.can_translate, ezcontentclass_attribute.name as class_attributename
FROM ezcontentobject_attribute, ezcontentclass_attribute
WHERE
ezcontentclass_attribute.version = '0' AND
ezcontentclass_attribute.id = ezcontentobject_attribute.contentclassattribute_id AND
ezcontentobject_attribute.version = '1' AND
ezcontentobject_attribute.contentobject_id = '56' AND
ezcontentobject_attribute.language_code = 'eng-GB'
ORDER by
ezcontentclass_attribute.placement ASC

<b>and this notice</b>

Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Feb 13 2005 21:48:46

SELECT ezcontentobject_attribute.*, ezcontentclass_attribute.identifier as classattribute_identifier,
ezcontentclass_attribute.can_translate, ezcontentclass_attribute.name as class_attributename
FROM ezcontentobject_attribute, ezcontentclass_attribute
WHERE
ezcontentclass_attribute.version = '0' AND
ezcontentclass_attribute.id = ezcontentobject_attribute.contentclassattribute_id AND
ezcontentobject_attribute.version = '1' AND
ezcontentobject_attribute.contentobject_id = '56' AND
ezcontentobject_attribute.language_code = 'eng-GB'
ORDER by
ezcontentclass_attribute.placement ASC

<b>Which then leads to this warning:</b>

Warning: PHP Feb 13 2005 21:48:46

Invalid argument supplied for foreach() in /home/httpd/vhosts/harbor-lights.com/httpdocs/ezpublish/kernel/classes/ezcontentobjectversion.php on line 812

nothing to sig here, move along

Greg Rundlett

Monday 14 February 2005 10:55:45 am

With help from agentbob on IRC, I solved my problem. It turns out that error 28 means that the disk is out of space. There is plenty of disk space in my server account, however a little investigation shows that the MySQL temporary directory

mysql> show variables like "tmpdir";
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| tmpdir        | /tmp/ |
+---------------+-------+
1 row in set (0.00 sec)

checking the disk partitions

[root@u15178040 ezpublish]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             510M  510M     0 100% /
none                  122M     0  122M   0% /dev/shm
/dev/hda7              27G  196M   26G   1% /home
/dev/hda5             4.9G  1.3G  3.7G  26% /usr
/dev/hda6             4.9G  302M  4.6G   7% /var

showed that the root partition was indeed full. /tmp doesn't show it's own partition above, so therefore it is part of '/'. I deleted some junk in /tmp, and reloaded my MySQL database using a prior data dump from a known good installation on my local development box.

mysql -u ez_admin ez_db -pSomePassword <MyDefaultData.sql

I wish I had though on my own to search for the error code on mysql.com. I just figured it was an internal ezPublish error code, but now it is obvious to me that the smart folks at ezPublish would trap and report any native error codes.

Thanks again agentbob!

nothing to sig here, move along

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu