View Full Version : I can't upload the images
radar71
05-09-2006, 12:12 PM
I try to upgrade pixepost 1,4 to 1.5 but after I reinstall 1.4.
Now I can't upload images and after reinstalling all the php files I can't see the images.
Here the message after I try the upload
Warning: getimagesize(../images/a00.jpg): failed to open stream: No such file or directory in /web/htdocs/www.andreadarra.it/home/admin/images_edit.php on line 199
Warning: filesize(): Stat failed for ../images/a00.jpg (errno=2 - No such file or directory) in /web/htdocs/www.andreadarra.it/home/admin/images_edit.php on line 200
[Edit] [Preview] #198, Title: aa, File-name: a00.jpg
Dimensions: x , 0 Kb
To be published: 2006-05-09 12:02:41
Categories: ***[Delete]
Warning: getimagesize(../images/20060507170550__mg_857206.jpg): failed to open stream: No such file or directory in /web/htdocs/www.andreadarra.it/home/admin/images_edit.php on line 199
Warning: filesize(): Stat failed for ../images/20060507170550__mg_857206.jpg (errno=2 - No such file or directory) in /web/htdocs/www.andreadarra.it/home/admin/images_edit.php on line 200
__________________________________________________ __
INFO
URL http://lnx.andreadarra.it/admin/index.php
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.20-standard-log (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 Apache/2.0
EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Paths
Guessed imagepath: /web/htdocs/www.andreadarra.it/home//images/
Configured Imagepath: /web/htdocs/www.andreadarra.it/home/
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
Referers of Last Seven Days
01 http://blo.gs/ping.php
codepoit
05-09-2006, 01:02 PM
configure your image path in PP admin to /images
radar71
05-09-2006, 01:06 PM
Thanks
I try to change the images directory
with /images but nothing seems to change
here the message of error
Warning: move_uploaded_file(/imagesa00.jpg): failed to open stream: Permission denied in /web/htdocs/www.andreadarra.it/home/admin/new_image.php on line 182
Warning: move_uploaded_file(): Unable to move '/tmp/phpI3kEFy' to '/imagesa00.jpg' in /web/htdocs/www.andreadarra.it/home/admin/new_image.php on line 182
codepoit
05-09-2006, 01:11 PM
After you changed the image path to /images, can you check your general info tab in PP admin again to make sure the directory still shows CHMOD: 0777 for image and thumbnail directory? Because it looks like a permissions error now...
radar71
05-09-2006, 01:18 PM
You are right, now depend on the chmod of the directory thumbnails.
I get info but is 777. I check the images in the directory and are non with the same chmod.
What i have to do?
__________________________________________
URL http://lnx.andreadarra.it/admin/index.php
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.20-standard-log (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 Apache/2.0
EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Paths
Guessed imagepath: /web/htdocs/www.andreadarra.it/home//images/
Configured Imagepath: /images
Image Directory: Does Not Exist (should be /imagesimages) - 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).
Thumbnails Directory: Does Not Exist (should be /imagesthumbnails) -
Language Directory: Does Not Exist (should be /imageslanguage)
Addons Directory: Does Not Exist (should be /imagesaddons)
Includes Directory: Does Not Exist (should be /imagesincludes)
Templates Directory: Does Not Exist (should be /imagestemplates)
codepoit
05-09-2006, 01:21 PM
okay, let's take a step back and do it this way:
set image directory to /web/htdocs/www.andreadarra.it/home/images
and see if that doesn't clear up at least some of the mess we just made above...
radar71
05-09-2006, 01:28 PM
Here the result
It seems good but look what i read in the images that i have uploaded:
_________________________________
URL http://lnx.andreadarra.it/admin/index.php
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.20-standard-log (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 Apache/2.0
EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Paths
Guessed imagepath: /web/htdocs/www.andreadarra.it/home//images/
Configured Imagepath: /web/htdocs/www.andreadarra.it/home/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
_______________________________
PP administration/images
Warning: getimagesize(../images/20060507170550__mg_857206.jpg): failed to open stream: No such file or directory in /web/htdocs/www.andreadarra.it/home/admin/images_edit.php on line 199
Warning: filesize(): Stat failed for ../images/20060507170550__mg_857206.jpg (errno=2 - No such file or directory) in /web/htdocs/www.andreadarra.it/home/admin/images_edit.php on line 200
codepoit
05-09-2006, 01:36 PM
heh...at least we are back to the original problem though ;)
This seems strange because all of your thumbnails display just fine. Doublecheck on the webserver side of things the exact path to your image directory. Just for giggles, make sure that the images are actually uploaded into that image directory also.
radar71
05-09-2006, 01:50 PM
I check the images with ftp in the directory images: seems everything ok.
Permissions of single images are not 777. It's important?
After i Went to mysql admin and the images seems ok.
But the problem still remain...:confused:
codepoit
05-09-2006, 01:54 PM
Permissions of each image should not be important. When you login to FTP and navigate to the images directory, what is the exact path?
I see by looking through your archives that this was working at some point, unless you manually uploaded all those previous images...
radar71
05-09-2006, 02:03 PM
My ftp address is:
ftplnx.andreadarra.it
the path is:
/web/htdocs/www.andreadarra.it/home
U mean that I have to reload my pictures in the directory Images?
:(
codepoit
05-09-2006, 02:09 PM
Ok, you say the path to image directory is: /web/htdocs/www.andreadarra.it/home
do all of your past images reside in the "home" directory as listed above? If so, set the above as your image directory and make sure "home" is CHMOD to 777.
radar71
05-09-2006, 02:15 PM
The posted images reside in the directory images
I haven't a sub directory called home
:confused:
codepoit
05-09-2006, 02:26 PM
well, that was my point in having you verify the path to your actual images...whatever the exact path to your images is...is what you need to configure in PP admin. So, if your images are at /web/htdocs/www.andreadarra.it/home/images, I don't understand why you get errors about the directory not existing. So the question is: are your images located at .../home/images, or are they somewhere else, like .../home/<foo>/images? Or does the "home" directory in that equation not even factor in?
radar71
05-09-2006, 02:42 PM
I don't know why but now i can upload the image
but the old images have the same problem.
____________________________________________
URL http://lnx.andreadarra.it/admin/index.php
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version: 4.3.0 )
MySQL version 5.0.20-standard-log (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 Apache/2.0
EXIF Pixelpost is using exifer v1.5 for EXIF-information.
Paths
Guessed imagepath: /web/htdocs/www.andreadarra.it/home//images/
Configured Imagepath: /web/htdocs/www.andreadarra.it/home//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
codepoit
05-09-2006, 02:43 PM
here is your problem: .../home//images/
notice the double slash in the path...
[edit]: I did notice though that the images posted before 2006-03-29 are still working. It's everything from 2006-03-30 to current, with the exception of the one you just did that are not displaying. Whatever the problem was with the path, those images never got uploaded. Just manually upload all the corresponding images into your image directory and all should be well...
radar71
05-09-2006, 03:19 PM
Now i can upload the new images
but I can't find the way to use the old ones
Only way i find is to update every single post....
codepoit
05-09-2006, 03:31 PM
that's going to be your only solution, unfortunately. The existing images were uploaded to an incorrectly configured image path. Only way to fix it is to edit each post. You could try selecting all affected images from the "edit image" tab and updating them all at once...
radar71
05-09-2006, 03:59 PM
After I updated 15 or 20 images the remain stop to give the error message and everything goes right...
I don't believe. It's been an hard day!:rolleyes:
Joe[y]
05-09-2006, 04:49 PM
change your configured imagepath to
../images/
exactly. don't miss out the .. or the / /
codepoit
05-09-2006, 04:52 PM
ahh, that's where I went wrong!
Joe[y]
05-09-2006, 06:17 PM
ahh, that's where I went wrong!
no probs. if you had been installing 1.5 from scratch it would have done it for you anyway.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.