Forums / Install & configuration / update 3.2.3 to 3.3-1
Hapee de Groot
Friday 09 January 2004 3:19:28 am
I received some errors like:
Fatal error: Call to a member function on a non-object in /var/www/elektra.hivos.nl/ezpublish/kernel/classes/ezcontentobjectattribute.php on line 682Fatal error: eZ publish did not finish it's request
after upgrading from 3.2.3 to 33-1. I discovered that the problem was caused by a difference in the ezcontentobject_attribute table. In 3.3.1 there is a data_type_string field added with a Not Null option and records like ezboolean, ezstring, ezobject etc.
Because I added already 450 records to the ezcontentobject_attribute table in 3.2.3 it is much work to add all these daty_type_string by hand, so two things I would like to know:
can this be done easear?and if not which attribute should fit what when I have to do it by hand?
Thanks in advance.
Hapee
Friday 09 January 2004 3:53:02 am
formulating a question often leads to finding the answer:
update ezcontentobject_attribute, ezcontentclass_attribute set ezcontentobject_attribute.data_type_string=ezcontentclass_attribute.data_type_string where ezcontentobject_attribute.contentclassattribute_id=ezcontentclass_attribute.id;
as found in dbupdate-3.2-3--to-3.3.0-1.sql
So no fatal errors anymore, only some Module not found errors, which I hope to fix also.