PDA

View Full Version : Unable to upload images


Johan2004
05-17-2009, 08:15 AM
Hi Guys,

I am running Pixelpost 1.6.0 (tried latest version also, same problem) on Fedora; I have successfully installed pixelpost and connected to the DB etc..

I am now unable to upload any photos due to image & thumbnail folders not being writable but after checking "General Info", it clear states that my folders are CHMOD 0777

Can anyone help with this?

Image Directory: ERROR - Images folder not writable!
You must set correct permissions on this folder or you will not be able to upload any images.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world). Current CHMOD: 0777

Thumbnails Directory: ERROR - Thumbnails folder not writable!
You must set correct permissions on this folder or you will not be able to upload any images.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world). Current CHMOD: 0777

Dennis
05-17-2009, 02:42 PM
The detection might fail in some situations. Please check using FTP software or your control panel.

Johan2004
05-19-2009, 07:29 PM
I actually checked with WinSCP and this confirms that file permissions are set to 0777, could there be anything else stopping these folders becoming writable?

My location for these folder is: /usr/share/blog/*

Dennis
05-20-2009, 08:08 PM
What size images are you uploading (filesize)? What addons do you use?

vanderbo
05-21-2009, 12:37 PM
Hello,

Exactly the same trouble here.

My site is hosted at Hostgator, all permissions are right (777 on 'Thumbnails', 'Images' and picture files).


The admin 'info' panel shows:

"Image Directory: Does Not Exist (should be /images) - ERROR - Images folder not writable!
You must set correct permissions on this folder or you will not be able to upload any images.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world).
Thumbnails Directory: Does Not Exist (should be /thumbnails) - ERROR - Thumbnails folder not writable!
You must set correct permissions on this folder or you will not be able to upload any images.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world)."


After trying to upload an image, I get:

"Error
Something's wrong in file upload!
Image update
Done: Updated image #16. "

And no image has been uploaded.


Thanks in advance for any tip.


Eric

vanderbo
05-21-2009, 12:40 PM
I forgot to say:

- It used to work fine (even with permissions at 755 -?-)
- My images size is 750 pixels wide.

Cheers,

Dennis
05-21-2009, 12:54 PM
Please check your options for the images and thumbnails folder.

These should be set to:

../images
../thumbnails

vanderbo
05-21-2009, 01:12 PM
Thanks for your lightspeed reaction!

They are set this way:

/images/
/thumbnails/

When I remoive the last slash, Pixelpost does not find my pictures anymore. The tree structure at my host shows these two directories located directly under my domain's main directory.

BTW, the domain is www.bruxellisation.com (it is an addon domain at HostGator)

vanderbo
05-21-2009, 02:43 PM
To be more precise, this is what 'info' shows:

Guessed imagepath: /home/MYLOGIN/public_html/bruxellisation.com/images/

Configured Imagepath: /images/

Guessed thumbnailpath /home/MYLOGIN/public_html/bruxellisation.com/thumbnails/

Configured Thumbnailpath /thumbnails/

Dennis
05-24-2009, 02:34 PM
please reread my post.

Both the configured image and thumbnail path should be

../images/
../thumbnails/


Anything other than that is an error. Please correct this.

vanderbo
05-25-2009, 02:26 PM
Thanks Denis+ !

In the admin panel/options, I simply configured IMAGES & THUMBNAILS PATH like this:

../images/
../thumbnails/

Not forgetting the 2 dots in front of the path!

It again uploads like a charm.

But I can't figure why it worked earlier with a wrong path ...