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.