Uploaded image 0 kb?

Author Message

Jip Jonker

Monday 20 October 2008 1:46:49 am

Hi! I just moved our (old...) expublish installation to a new hosting company because of a switch to php5 by our former hosting company. Everything seems to be working OK, except for uploading images.

When I upload an image in the backend it seems to go fine, but the actual uploaded image is 0KB. So no image is actually shown.

I check the server functionality by creating a small upload script for images. This seems to be working OK. So that should not be the problem.

The ezimagecatalogue/catalogue directory is set to 777 to make sure the right are no problem as well. And this also seems to be OK because an file is written to this directory, although it's 0 KB.

Maybe this is a problem with ImageMagic of something?

Can anyone point me in the right direction?

I believe our version of EzPublish is V2. But I'm not sure. (I just started working here...)

Thanks!

Jip Jonker

Monday 20 October 2008 2:22:52 am

It seems ImagemAgic and GD are both installed on the server. Are there any requirements for the version of these tools?

James Stevens

Monday 20 October 2008 7:09:22 am

I've seen this before when doing a package export/import. Did you do an eZ Publish export mechanism to move environments?

Christian Rößler

Monday 20 October 2008 10:09:33 am

Hy,

have your images / files you try to upload any kind of special chars in their filenames?
For Example german umlauts or other global-kind special chars.

Are your filenames displayed completely (no stripped names) in the media-kind-area nof the backend?

Background:
I'm currently migrating some ezPublish's v2 and v3 and encountered several non-utf8-string-failures (whatsoever) according to filenames and file-contents (when indexing with ezfind. but thats another thread).

chris.

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Yannick Komotir

Wednesday 22 October 2008 6:47:27 am

are you sure that you varDir at FileSettings section in site.ini is right ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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 11:28:55
Script start
Timing: Jan 18 2025 11:28:55
Module start 'layout'
Timing: Jan 18 2025 11:28:55
Module start 'content'
Timing: Jan 18 2025 11:28:56
Module end 'content'
Timing: Jan 18 2025 11:28:56
Script end

Main resources:

Total runtime0.6457 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.0081 587.9141152.6250
Module start 'layout' 0.00810.0032 740.539139.4453
Module start 'content' 0.01130.6330 779.9844629.6406
Module end 'content' 0.64430.0014 1,409.625012.1719
Script end 0.6457  1,421.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6011160.0002
Check MTime0.00170.2569160.0001
Mysql Total
Database connection0.00170.260610.0017
Mysqli_queries0.585490.6598670.0087
Looping result0.00100.1560650.0000
Template Total0.607494.120.3037
Template load0.00230.361520.0012
Template processing0.605093.696620.3025
Template load and register function0.00020.034410.0002
states
state_id_array0.00160.244210.0016
state_identifier_array0.00090.145520.0005
Override
Cache load0.00190.3019270.0001
Sytem overhead
Fetch class attribute can translate value0.00070.110140.0002
Fetch class attribute name0.00110.166970.0002
XML
Image XML parsing0.00180.278940.0005
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00110.1636210.0001
String conversion0.00000.001240.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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs