PDA

View Full Version : Image Upload Error - Totally Stumped!


PixelMix
03-29-2007, 03:58 PM
I am trying out pixelpost on a domain name I own before I buy another domain.


My uploading a test image, I get the following error;

Warning: move_uploaded_file(../images/trialimage.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\webs\blocksoft.net\html\pixelmix\admin\new_imag e.php on line 185

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\PHP\uploadtemp\php480C.tmp' to '../images/trialimage.jpg' in D:\webs\blocksoft.net\html\pixelmix\admin\new_imag e.php on line 185
Error
Something's wrong in file upload!

I thought this was maybe a permissions problem (I can't seem to alter permissions through my FTP client, as my host won't allow it), but PixelPost's 'General Info' tab explicitly says the image and thumbnail folders are ok, and can be written to - the permissions number is 0777. Any suggestions?!

Thanks

--

My general info is;

Host Information

URL http://www.blocksoft.net/pixelmix/admin/index.php
PHP-version 4.4.4 (Pixelpost's min requirement: PHP version: 4.3.0 )

Session save path d:/PHP/sessiondata

MySQL version 4.1.18-standard (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0.28 compatible) with JPEG support

File Uploads to Pixelpost site are possible.

Server Software Microsoft-IIS/6.0

EXIF Pixelpost is using exifer v1.5 for EXIF-information.


Paths
Guessed imagepath: D:\webs\blocksoft.net\html/pixelmix/images/
Configured Imagepath: ../images/

Image Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

Dennis
03-29-2007, 07:05 PM
Despite the wonderful message the folder might not be writeable at all.

jaywilliams
03-29-2007, 08:30 PM
I think it says exactly what the problem is:

"failed to open stream: Permission denied"

Talk to you host, make sure the images & thumbnail folders are writable by everyone.

PixelMix
03-30-2007, 09:11 AM
Thanks. My provider is changing the permissions on a folder for me just now, so hopefully that will sort it. Strange how pixelpost thinks it is 0777, but still can't post.

jaywilliams
03-30-2007, 01:34 PM
0777 is a UNIX file permission flag.
Windows doesn't support that at all.

So it's not unlikely that that it would guess wrong.

PixelMix
03-30-2007, 04:22 PM
Thanks for all of the replies. My provider's admin changed the two folders for me really quickly, so I can start building my site now. Think I'll go with linux then when I get a domain specifically for my blog.

Incidentally, my hosting company is easyspace - I highly recommend them to anyone in the UK after this, as they acted very quickly, and sent me lots of really useful information.

Dennis
03-30-2007, 05:18 PM
Ok, glad to see this issue resolved.