Share » Forums » Install & configuration » Error:...

Error: eZDataType::loadAndRegisterType - Please help me sort this

Error: eZDataType::loadAndRegisterType - Please help me sort this

Saturday 14 August 2004 3:55:14 pm - 3 replies

Author Message

Tim Dickinson

Saturday 14 August 2004 5:40:03 pm

Whoops - forget to add some info on my setup.

I'm running ezpublish with php as a CGI, and the patch from Bruce Morrison (which has been great) as I don't have CLI.

I'm running it on a shared linux box with:

PHP version 4.3.4
MySQL version 4.0.20-standard
cPanel Build 9.4.1-STABLE 65
Apache version 1.3.29 (Unix)

I did have it working fine with version 3.2-1, with the help of the cgi-patch.

Thanks in advance,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Tim Dickinson

Sunday 15 August 2004 5:09:31 am

Well, I've worked out that it all seems to be to do with the ezcontentobject_attribute table.

For the objects that work, the datatype_string field says ezxmltext, ezurl, ezstring, etc..., but the ones that don't work have a blank field.

I have found where the problem (for me lies), and that is in the dbupdate-3.2-4-to-3.3-1 sql update script.

In fact it is in this section:

create table ezcontent_attribute_tmp as select ezcontentobject_attribute.*, ezcontentclass_attribute.data_type_string from ezcontentobject_attribute, ezcontentclass_attribute where ezcontentobject_attribute.contentclassattribute_id=ezcontentclass_attribute.id and ezcontentclass_attribute.version=0;

delete from ezcontentobject_attribute;

alter table ezcontentobject_attribute add data_type_string varchar(50) not null;

insert into ezcontentobject_attribute select * from ezcontent_attribute_tmp;
drop table ezcontent_attribute_tmp;

Only problem is, I can'r get it to work, it keeps giving errors??
Any ideas?

Thanks,

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

K259

Friday 29 October 2004 2:39:40 am

I'll refer to this topic(because it's maybe the same bug): http://www.ez.no/community/forum/developer/fatal_error_ez_publish#msg61808

where I also get this error-message when debugging:
Warning: PHP Oct 29 2004 10:50:00
Undefined variable: navigationPartIdentifier in /kernel/classes/eznodeviewfunctions.php on line 69

This is the debug after the user tries to log in and get the fatal error and is not able to enter the ez publish admin-part.

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

36 542 Users on board!

Forums menu