Forums / Install & configuration / eZBinaryFile

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!

eZ debug

Timing: Jan 18 2025 16:14:32
Script start
Timing: Jan 18 2025 16:14:32
Module start 'content'
Timing: Jan 18 2025 16:14:33
Module end 'content'
Timing: Jan 18 2025 16:14:33
Script end

Main resources:

Total runtime0.7620 sec
Peak memory usage4,096.0000 KB
Database Queries195

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 587.7031180.8438
Module start 'content' 0.00800.6157 768.5469472.7656
Module end 'content' 0.62370.1383 1,241.3125337.4844
Script end 0.7619  1,578.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5400210.0002
Check MTime0.00150.1921210.0001
Mysql Total
Database connection0.00090.119410.0009
Mysqli_queries0.681489.42161950.0035
Looping result0.00200.26001930.0000
Template Total0.729695.720.3648
Template load0.00190.248920.0009
Template processing0.727695.493020.3638
Template load and register function0.00030.040710.0003
states
state_id_array0.00200.264610.0020
state_identifier_array0.00090.121920.0005
Override
Cache load0.00170.22231130.0000
Sytem overhead
Fetch class attribute can translate value0.00220.288120.0011
Fetch class attribute name0.00140.188040.0004
XML
Image XML parsing0.00040.056020.0002
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00270.3565210.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs