PDA

View Full Version : Image Upload issues.


kev_is_soaked
05-09-2006, 08:07 PM
Hi.

I've been through all the other threads and solutions and still no go. Basically what's happening is that the upload seems to go through fine. Once the page refreshes to the part where I would normally crop the image and update the thumbnail there is no such post. Basically the Add Image page reloads and at the very bottom there is a red box with a message in it. "Something went wrong in file upload".

I've reinstalled a fresh 1.4.3, updated to 1.5Rc1-2, tried deleting and recreating the database as well.

I have the attributes on both the images and thumbnails folder to 777, the Info page confirms this to be true.

Any ideas?

kev_is_soaked
05-09-2006, 08:25 PM
UPDATE:

I've turned on error reporting....


Warning: session_start() [function.session-start]: open(C:\PHP\sessiondata\sess_de568aa8308195da66abb 6f3e1131478, O_RDWR) failed: Permission denied (13) in C:\Sites\Single32\siliconnorth\webroot\gallery\adm in\index.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Sites\Single32\siliconnorth\webroot\gallery\adm in\index.php:36) in C:\Sites\Single32\siliconnorth\webroot\gallery\adm in\index.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Sites\Single32\siliconnorth\webroot\gallery\adm in\index.php:36) in C:\Sites\Single32\siliconnorth\webroot\gallery\adm in\index.php on line 36

Connie
05-09-2006, 09:15 PM
is there enough webspace for the images?

what are the informations in the admin/general info - section?

kev_is_soaked
05-09-2006, 09:33 PM
Actually, last night I was having problems uploading, even via FTP. I found that if I deleted some files off the server I could upload again.... this means that it was running low on space. However my account info at the hosting website shows I was only using 125megs out of 3000megs space that is allocated to me.

I contacted them to sort it out, and they moved my website to another box. Now I can upload freely via FTP, but not via the website.



URL http://www.silicon-north.com/gallery/admin/index.php
PHP-version 5.1.1 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.15-nt (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.

Guessed imagepath: /gallery/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


I've tried putting in the absolute path as well, after a few, "Directory not found" results, I finally got two that gave me the proper return. One is "../images", the other is "c:\sites\Single32\siliconnorth\gallery\images\". Both of these show as being OK.... no upload worked though.

kev_is_soaked
05-10-2006, 05:14 AM
My hosting company has solved the session errors I was getting, however I'm now stuck with the "Something's wrong in File Upload" warning once you upload the photo :(

I've tried ../images/ as my path, no luck with that. Any help would be appreciated, I would like to get this back up again soonish :(

kev_is_soaked
05-10-2006, 05:59 AM
Okay. 2am.

Finally convinced them to recheck all the server settings, even though Pixelpost was reporting Chmod 777 and that the folders were writable, it magically worked when I asked the dude to recheck and enforce those permissions if needed.

Unfortunetely, I told him to do \gallery\images and \gallery\thumbs

So I can now post, but can't create thumbs :) I'll wait till tomorrow before bothering tech support again, I'm sure if I tell him \gallery\thumbnails this time it'll ALL finally work :)

For now though, I manually uploaded thumbnails for the latest photo :)


So if anyone else has these issues and PixelPost is saying that it HAS write permissions.... don't believe it..... recheck it or get your host to redo the permissions :)

Connie
05-10-2006, 06:31 AM
So if anyone else has these issues and PixelPost is saying that it HAS write permissions.... don't believe it..... recheck it or get your host to redo the permissions :)

PP uses php-functions to check directory permissions etc.

for sure it cannot handle everything if the server configuraton is weird / complicated / wrapped additionally...

this is a wide field... folder permissions, user permissions ...