Forums / General / Can't upload image or file

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Can't upload image or file

Author Message

Josh Rader

Friday 29 February 2008 5:50:24 am

Using the eZ admin console, when I try to upload an image or a file it appears to work, but when I go to the place where the image or file is supposed to be in, they don't appear. For example, I log into the admin console, then I go into a folder I created. In that folder, I choose 'image' from the dropdown box and then click 'create here'. Then in the 'Edit image - New Image' screen, I browse to the location of the image, put in a name and caption, then click 'send for publishing'. It appears to have worked, because I can see the object in the list and under 'type' it says 'image', but if I actually click on the object, in the next screen, there is no image displayed. This happens if I upload a file, as well.

Does anyone know why this is happening? Thanks.

Sysop1911

Stéphane Bullier

Saturday 01 March 2008 1:40:55 am

Hello,

You known which image system you are using ? Image Magick or GD ?

Also, you have to check the unix rights in your folder storage where are storing the images.

# chown -R user.usergroup var/
# chmod -R 770 var/

The "user.usergroup" notation must be changed to user and groupname that the webserver runs as.

Stéphane

Josh Rader

Friday 14 March 2008 10:08:37 am

We are using Image Magick.

How do I find what folder the images are being uploaded to?

Michael Hall

Saturday 15 March 2008 5:42:51 am

chmod -R 770 var/

This makes /var and all its sub folders writeable (-R = recursive), which is how ezp likes things. If you can't run this (and the preceding) command directly on the server, you could try changing permissions on /var and each subfolder manually with an FTP program.

Actually, shouldn't that be

chmod -R 770 /var

?