eZBinaryFile

Author Message

Vincent Saulnier

Friday 07 February 2003 7:36:27 am

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

Vincent Saulnier

Friday 07 February 2003 7:38:02 am

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 ''

Vincent Saulnier

Friday 07 February 2003 7:43:18 am

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.

Vincent Saulnier

Monday 10 February 2003 9:54:56 am

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!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.