[SOLVED]Problem Uploading Images (using URL method)
gregchet
Joined: 2003-01-10
Posts: 105 |
Posted: Wed, 2005-05-11 15:35 |
When I try to upload images via the URL method (which is what I've always used), I get the following error: ----- Warning: unlink(/HOME_DIR_PATH/public_html/__gallery/temp/upload.b8d4c0b8f3b3a7b35c0e505e89b14324): No such file or directory in /HOME_DIR_PATH/public_html/__gallery/platform/fs_unix.php on line 83 This problem popped up yesterday after I upgraded my gallery (and albums), had lots of problems, and had to revert back to an older version of the gallery software. My albums were upgraded with the new version, and then 'upgraded' again when I reverted, and I have a feeling my problem is related to this. Does anyone have any ideas for how I can fix this? (I'd prefer to not have to upgrade gallery, as it's going to cause many problems with my entire site, but I have a feeling that's what the recommendation is going to be). -Greg ---- |
|
Posts: 8194
Do other methods of uploading work?
Posts: 105
The Applet & Applet (big) both seem to work ok, but none of the other methods are working.
This is what I get when trying to upload a .zip file through the "Form" method:
----------
Processing status...
Error: Archive: /tmp/phpqxT1xE
- Adding _DSC01267.jpg
Warning: copy(/HOME_DIR_PATH/public_html/__gallery/temp/_DSC01267.jpg): failed to open stream: No such file or directory in /HOME_DIR_PATH/public_html/__gallery/platform/fs_unix.php on line 26
Resizing/compressing original image
Warning: getimagesize(/HOME_DIR_PATH/public_html/__gallery/_albums/MAY-06-2005-7/DSC01267.jpg): failed to open stream: No such file or directory in /HOME_DIR_PATH/public_html/__gallery/util.php on line 436
----------
I guess I'll just stick with the applet version for now, it seems to be working just fine.
Posts: 8194
What are the permissions like on that temp/ dir?
What's the output of a test script (name is something.php) with the following code?
Posts: 105
Ummm, ok, no clue how that got changed, but you were right.
Somehow it got switched to 755, but now that I've switched it back to 777 it's working fine.
That's just too weird, all I did was rename the gallery folder, it shouldn't have done anything at all to the temp folder.
Thanks!
Posts: 8194
No problem!