View Full Version : error message when trying to post new image
fabienne
12-20-2004, 07:42 AM
Hello,
I just installed pixelpost and so far I haven't managed to post an image. This is the warning message I get every time:
Warning: move_uploaded_file(.. image file path..): failed to open stream: HTTP wrapper does not support writeable connections. in ( ... ) on line 443
(the bits in (.. ) were changed by me)
can anyone help ?
extra info:
- running version 1.3 of Pixelpost.
- host info : PHP-version 4.3.8
MySQL version 4.0.16-log
GD-lib 2.0 or higher
Server software Apache
- the images and thumbnails folders are writeable
Connie
12-20-2004, 08:17 AM
Fabienne,
could you test to use the ADDON COPYFOLDER, upload images by FTP and integrate these images into the photoblog?
I think the Host configuration is "overprotected", can you ask your hoster about the limitations of this "HTTP-Wrapper"?
fabienne
12-20-2004, 09:03 AM
Hey Connie,
I tested the copyfolder Add-on, after uploading the images by FTP : didn't work eiter. The message was "Copied 0 files.
No thumbnails are created while copying files with this addon. Re-generate them from admin options."
I'm going to check with my hoster about the "http wrapper".
Meanwhile, if any of you have an idea, it'll be welcome.
Connie
12-20-2004, 09:49 AM
One more question which sometimes helps :roll:
did you use relative or absolute paths when you installed pixelpost?
PP needs absolute paths.. maybe that's the reason?
fabienne
12-22-2004, 08:00 AM
I used absolute paths.
Still not working. Too bad.
Connie
12-22-2004, 09:03 AM
Fabienne,
I checked out that this error message "HTTP WRAPPER..." generally means that a script tries to write something via HTTP, which is not possible and not allowed and which means in your case that the variable $upload_dir got a wrong information
please tell us the exact information about the imagepath in your configuration, you will find it at
OPTIONS / IMAGESPATH
it will look like this:
/srv/www/htdocs/xxxx/html/pp/images/
"xxxx" here is just some info at my server ;=)
please have a look at that and tell us
:cry:
fabienne
12-22-2004, 09:16 AM
You're right about the error message, that's what my hoster's (vague) reply implied. I rechecked the writing permissions for every folder and the folder 'images' is definitely writeable.
I checked the imagepath and here is what it says:
http://www.translatitude.ch/pixels/images/ 'translatitude.ch' being my domain name, 'pixels' being the folder I created and where I uploaded all the pixelpost files.
Doesn't look a bit like your imagepath... Something wrong here ?
Connie
12-22-2004, 10:00 AM
yes, that's the mistake:
http://www.translatitude.ch/pixels/images/
that is what I meant to write via HTTP....
you should find out the adress of your image-directory, ask your provider
what you must write instead of
"http://www.translatitude.ch/pixels/" to get a path like "/srv/www/htdocs/xxxx/html"
you see we are coming closer and closer to the solution :idea:
fabienne
12-22-2004, 10:31 AM
okay.
I emptied the database, reinstalled the pixelpost files, rerun the install.php file and now I have this : /home/sites/site101/web/pixels/images/ as imagepath and OH MY ! it works ! :D
Thanks a bunch, Connie, you've been very patient !
Connie
12-22-2004, 11:18 AM
Fabienne,
I am glad that it is working now! I think by this we all learn a lot!
I whish you a wonderful christmas time!
Connie :D
fabienne
12-22-2004, 11:31 AM
Merry Christmas to you too !
Fabienne
(btw, my first pictures are here: www.translatitude.ch/pixels. Enjoy)
Thankyou Connie
I just want to pass on my thanks for solving my problem after reading this thread. I thought it'd be nice to show some appreciation rather than just take and run... you should have a poll to click if the solution was useful :)
Somehow the auto configuration of my install got the image folder location totally wrong, but after reading through these answers I was able to find out for myself!
Kindest regards
Mark
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.