Binary File

Author Message

Nhu Nguyen

Monday 11 April 2005 9:59:20 pm

When I try to upload a zip file, I got an error:

Fatal error: Call to a member function on a non-object in /home/httpd/vhosts/truyentranh.com/httpdocs/news/kernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php on line 507
Fatal error: eZ publish did not finish its request

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

How to fix this? Thanks.

Ralph Ekekihl

Tuesday 12 April 2005 1:21:12 am

Hi,

A little more info would be good, like:

ezpublish version,
OS version,
Apache versoin etc.

Does the error occur only on zip files or on all files?
How big is the file?

Regards,
Ralph E.
Contactivity B.V.
www.contactivity.com

Contactivity B.V.
http://www.contactivity.com

Nhu Nguyen

Thursday 14 April 2005 4:10:53 pm

Hi,

I manage to find out that I'm using:
O/S: Linux
ezpublish version 3.5.1
Apache: no idea, but should be pretty new :D

the file is about 10mb, and I only test zip file. IS that help at all?

Ɓukasz Serwatka

Friday 15 April 2005 12:35:17 am

Hi,

Do you know how to reproduce this error in demo version?
http://ez.no/ez_publish/demo

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Seravi Leonart

Friday 15 April 2005 11:57:09 pm

I believe what we did was:

1. Because the normal max file size allowed is small than the file we wanted to upload (and I don't know where the file "php.ini" is nor do I have any access to it), I create a new class that require a file with max file size allowed is 50 MB

2. --> create an instance of the class
3. --> put the file in the field
--> "Send to publish"

And that error appeared.

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

eZ debug

Timing: Jan 18 2025 15:55:48
Script start
Timing: Jan 18 2025 15:55:48
Module start 'layout'
Timing: Jan 18 2025 15:55:48
Module start 'content'
Timing: Jan 18 2025 15:55:49
Module end 'content'
Timing: Jan 18 2025 15:55:49
Script end

Main resources:

Total runtime0.8034 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.7813152.6094
Module start 'layout' 0.00490.0030 740.390639.3984
Module start 'content' 0.00790.7942 779.7891639.0156
Module end 'content' 0.80200.0014 1,418.804712.2031
Script end 0.8034  1,431.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4393160.0002
Check MTime0.00130.1654160.0001
Mysql Total
Database connection0.00050.062910.0005
Mysqli_queries0.738091.8592670.0110
Looping result0.00070.0886650.0000
Template Total0.765795.320.3829
Template load0.00210.256120.0010
Template processing0.763695.047820.3818
Template load and register function0.00020.029010.0002
states
state_id_array0.00140.168410.0014
state_identifier_array0.00100.127120.0005
Override
Cache load0.00180.2251380.0000
Sytem overhead
Fetch class attribute can translate value0.00050.063340.0001
Fetch class attribute name0.00110.140070.0002
XML
Image XML parsing0.00240.294040.0006
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00690.8636240.0003
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs