This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » eZBinaryFile
expandshrink

eZBinaryFile

eZBinaryFile

Friday 07 February 2003 4:36:27 pm - 3 replies

When I want to create an instance of a class using an eZBinaryFile datatype an eZPublish error occurs.

Does anybody know somethig about this.
It's a very important feature for my present project.

Thanks

Friday 07 February 2003 4:38:02 pm

Here is the error specified and the debug output :

Fatal error: Call to a member function on a non-object in /mnt/disk/<ez install dir>/kernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php on line 106
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

eZ debug
Notice: eZLocale::localeFile Feb 07 2003 10:32:52
Requesting eng-GB.ini

Notice: eZLocale::localeFile Feb 07 2003 10:32:52
Requesting eng-GB.ini

Timing: Feb 07 2003 10:32:52
Script start

Timing: Feb 07 2003 10:32:52
Module start 'content'

Warning: PHP Feb 07 2003 10:32:52
Undefined variable: validatedAttributesLog in /mnt/disk/<ez install dir>/kernel/content/attribute_edit.php on line 263

Warning: PHP Feb 07 2003 10:32:52
Undefined variable: OmitSectionSetting in /mnt/disk/<ez install dir>/kernel/content/attribute_edit.php on line 273

Debug: assigned nodes array Feb 07 2003 10:32:52
array(1) {
[0]=>
&object(eznodeassignment)(11) {
["TempNode"]=>
NULL
["PersistentDataDirty"]=>
bool(false)
["ID"]=>
string(3) "160"
["RemoteID"]=>
string(1) "0"
["ContentobjectID"]=>
string(2) "20"
["ContentObjectVersion"]=>
string(1) "1"
["ParentNode"]=>
string(1) "2"
["SortField"]=>
string(1) "1"
["SortOrder"]=>
string(1) "1"
["Main"]=>
string(1) "1"
["FromNodeID"]=>
string(1) "0"
}
}


Debug: assigned nodes array Feb 07 2003 10:32:52
array(1) {
[0]=>
&object(eznodeassignment)(11) {
["TempNode"]=>
NULL
["PersistentDataDirty"]=>
bool(false)
["ID"]=>
string(3) "160"
["RemoteID"]=>
&string(1) "0"
["ContentobjectID"]=>
string(2) "20"
["ContentObjectVersion"]=>
string(1) "1"
["ParentNode"]=>
&string(1) "2"
["SortField"]=>
string(1) "1"
["SortOrder"]=>
string(1) "1"
["Main"]=>
string(1) "1"
["FromNodeID"]=>
string(1) "0"
}
}


Error: eZTemplate @ content/edit.tpl:1[0] Feb 07 2003 10:32:52
Unknown template variable 'node' in namespace ''

Error: eZTemplate @ content/edit.tpl:1[0] Feb 07 2003 10:32:52
Unknown template variable 'node' in namespace ''

Error: eZINI Feb 07 2003 10:32:52
Undefined group: 'BinaryFileSettings'

Error: eZBinaryFileHandler::instance Feb 07 2003 10:32:52
Could not find binary file handler ''

Friday 07 February 2003 4:43:18 pm

I've seen that that bug has allready been registered in the bug reports section :

http://www.ez.no/bug/bugview/1852/

But I really need a quick answer.

Monday 10 February 2003 6:54:56 pm

I found the solution :

in <ez install dir>/settings/ there was no file.ini

I created it with this inside :

#?ini charset="iso-8859-1"?
# eZ publish configuration file for workflows.

[BinaryFileSettings]
Handler=ezfilepasstrough

And it worked well!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from