View Full Version : Cant upload pictures..
I cant upload pictures and i dont know why. I installed pixelpost a couple of times without any problems but now im on another host and it doesnt work anymore...
I made the folders "images" and "tumbnails" (777) and i did run the install.php file. I also changed the pixelpost.php file...
Anyone who can help me out please?
Below some information:
Paths
Guessed imagepath: /var/www/html/~out4fame/files/pixelpost/images/
Configured Imagepath /var/www/html/~out4fame/files/pixelpost/images/
Image Directory: Does Not Exist (should be /var/www/html/~out4fame/files/pixelpost/images) - Thumbnails folder not writable!
You must set correct permissions on this folder or you will not be able to create any thumbnails.
Set the folder to chmod 777 (read, write and execute permissions for owner, group and world).
Thumbnails Directory: Does Not Exist (should be /var/www/html/~out4fame/files/pixelpost/thumbnails) -
Language Directory: Does Not Exist (should be /var/www/html/~out4fame/files/pixelpost/language)
Addons Directory: Does Not Exist (should be /var/www/html/~out4fame/files/pixelpost/addons)
Includes Directory: Does Not Exist (should be /var/www/html/~out4fame/files/pixelpost/includes)
Templates Directory: Does Not Exist (should be /var/www/html/~out4fame/files/pixelpost/templates)
When i upload images i get the following error:
Warning: move_uploaded_file(/var/www/html/~out4fame/files/pixelpost/images/20051206184035_ash090.jpg): failed to open stream: No such file or directory in /home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/admin/index.php on line 418
Warning: move_uploaded_file(): Unable to move '/tmp/phpTXiw2T' to '/var/www/html/~out4fame/files/pixelpost/images/20051206184035_ash090.jpg' in /home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/admin/index.php on line 418
Host information
PHP-version 4.4.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.14-standard (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7a PHP/4.4.0 mod_perl/1.29 FrontPage/5.0.2.2510
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Joe[y]
12-06-2005, 04:04 PM
this looks like a paths problem. try changing your configured image path to ../images/
make sure you have the preluding .. and the / at the end.
tinyblob
12-06-2005, 04:05 PM
Windows or Linux server?
Check to make sure that the images and thumbnails folders are actually CHMODed 777.
']this looks like a paths problem. try changing your configured image path to ../images/
make sure you have the preluding .. and the / at the end.
/var/www/html/~out4fame/files/pixelpost/images/
That was like this, so it should be right?
Windows or Linux server?
Check to make sure that the images and thumbnails folders are actually CHMODed 777.
i think its a Linux server. I also checked again with my FTP program, both folders are chomded 777...
tinyblob
12-06-2005, 04:58 PM
assuming that /var/www/html/~out4fame/files/pixelpost/ is your pixelpost directory, then yep, should be fine.
but the information that you pasted from General Info suggests that none of the pixelpost files are located there. are you sure this is your correct path?
Yeah, thats the thing i dont get its the correct path...
I also tried a brand new install, but that also didnt work
Joe[y]
12-06-2005, 05:29 PM
well i can't think what else could be wrong. change the imagepath anyway just so we can rule that out completely!
Ah damn! you where right, with ../images/ it works just fine! :D
ifeelsostupid:rolleyes:
Thanks for the (fast) help!!
Last question, why didnt the other path work? all the other times it worked fine...
Joe[y]
12-06-2005, 06:23 PM
that's no problem! sometimes paths confuse themselves a bit!
i just noticed the difference between:
/var/www/html/~out4fame/files/pixelpost/images/20051206184035_ash090.jpg'
and
/home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/admin/index.php
in one of those errors. perhaps if you had used the lower path it would have worked better but ../images/ should certainly do the job on linux.
tinyblob
12-06-2005, 06:54 PM
relative paths often solve problems because the computer tends to be smarter than us :)
Effebi
12-07-2005, 09:17 AM
I have last version of pixelpost.
When I try to upload an image i got this kind of error:
Warning: move_uploaded_file(/images/20051207110338_img_evacuazione.gif): failed to open stream: No such file or directory in /web/htdocs/www.effe-bi.net/home/photoblog/admin/index.php on line 419
Warning: move_uploaded_file(): Unable to move '/tmp/phpfbtFho' to '/images/20051207110338_img_evacuazione.gif' in /web/htdocs/www.effe-bi.net/home/photoblog/admin/index.php on line 419
I have directories chmoded 777.
In the admin panel's options i put /image/ in the images path.
and
http://www.effe-bi.net/photoblog/ in the URL
Paths for images:
http://www.effe-bi.net/photoblog/images
http://www.effe-bi.net/photoblog/thumbnails
Strangely the first image i put in is ok...
I don't know the php file where i could change this path: /web/htdocs/www.effe-bi.net/home/photoblog/admin/index.php
but eventually i can't find the problem at all
(same problem for copy_folder addons)
Pls help me using this wonderful photoblog, thank you!
blinking8s
12-07-2005, 09:21 AM
put "../images/" not just "images" you have to have the ../ in front then the trailing slash too
although i am tired at the moment, and you links looked corrent...
muuuuuuuuuuuuust sleep *yawn*
Effebi
12-07-2005, 09:28 AM
i have " /images/ " in the path not " images"
i can't figure out what: /web/htdocs/www.effe-bi.net... means.
web? htdocs?
raminia
12-07-2005, 09:30 AM
../images/ in the path.
Effebi
12-07-2005, 09:34 AM
works!
great!
Sorry ...it was just a ".." :P
Thank you all!
tinyblob
12-07-2005, 10:10 AM
i have " /images/ " in the path not " images"
i can't figure out what: /web/htdocs/www.effe-bi.net... means.
web? htdocs?
When you're working on a computer system, every file is stored in a certain location, and route to this location is called a path. For example, the path to Windows on most systems running it is:
C:\Windows
There are two different types of path, Absolute and Relative. Absolute paths are the full and final path. Relative paths are a description of the path as it relates to your current position on the system.
On linux based machines the beginning of an Absolute path always starts with a slash, that refers to the starting point (or Root) of the system. Each entry after that (in this case) refers to a directory. So..
/web/htdocs/www.effe-bi.net
is an Absolute path, which starts at the beginning of the system, and goes into a directory called web, then into one called htdocs, then into one called www.effe-bi.net, which is where you store the files for your website.
The problem with Absolute paths is that people often get them wrong. A Relative path allows the system to work out the path, from where it is at the time. This is effective because your system tends to have a better concept of itself than we do ;).
In Relative paths a .. refers to going back out of the directory it's currently in. So..
../images/
is a Relative path, which starts by going back out of the current directory, the into the images directory.
Hope that helps you understand the concept a little better, and i hope you enjoy your Pixelpost experience!
Hello another question from me...
When i use the "copy folder" option in the addons from pixelpost it copies all the pictures (atleast) twice! I dont know why it does that, but its very anoying!
what im i doing wrong again? :D
raminia
12-07-2005, 08:23 PM
Hello another question from me...
When i use the "copy folder" option in the addons from pixelpost it copies all the pictures (atleast) twice! I dont know why it does that, but its very anoying!
what im i doing wrong again? :D
I think you are coping new files into images directory and then you try to use copy folder. But, you should copy new files to some other directory on your site and then try copy folder addon.
Yeah i knew that so i created a other directory called "pictures" and then i used copy folder........
but he still copies the pictures multiple times :(
raminia
12-08-2005, 04:08 PM
Yeah i knew that so i created a other directory called "pictures" and then i used copy folder........
but he still copies the pictures multiple times :(
I didn't see such a behavior in copy folder.... did you search the forum?
yeah i did, didnt find anything..
First copy folder shows me that it copyed 167 images and when its done i get the message you see below.... and when i go to images he has " 335 images at all in the database"
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/includes/functions.php on line 92
Warning: chmod(): No such file or directory in /home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/includes/functions.php on line 94
its driving me insane :eek:
raminia
12-12-2005, 05:00 PM
which version of copy folder you are using
raminia
12-12-2005, 05:03 PM
try these versions too
http://www.pixelpost.org/v1/index.php?x=downloads&details=102 (my version ;) )
http://www.pixelpost.org/v1/index.php?x=downloads&details=110
Pixelpost Copy Folder Contents (copy_folder_1_4.php - version 1.0)
I use your version becouse you can sort them by filename
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/includes/functions.php on line 92
Warning: chmod(): No such file or directory in /home/out4fame/domains/out4fame.nl/public_html/files/pixelpost/includes/functions.php on line 94
what does this message mean? this is what i get when i make the tumbs... He creates only 75% of the tumbs
Joe[y]
12-14-2005, 04:48 PM
can you post the info shown on your general info page please.
Pixelpost Version
You are running version 1.4.3 of Pixelpost. Released 21 November 2005.
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/
Host Information
PHP-version 4.4.0 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.14-standard (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.7a PHP/4.4.0 mod_perl/1.29 FrontPage/5.0.2.2510
EXIF Pixelpost is using exifer v1.5 for EXIF information.
Paths
Guessed imagepath: /var/www/html/~out4fame/files/pixelpost/images/
Configured Imagepath ../images/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
raminia
12-14-2005, 07:01 PM
1) try using other copy folder addons as well
2) you may need to add touch() function for creating images/thumbnails. I'll try to get into it if I had some time but please try (1)
nobleviola
12-15-2005, 07:04 PM
This worked for me as well - thanks for the timely tip!
1) try using other copy folder addons as well
2) you may need to add touch() function for creating images/thumbnails. I'll try to get into it if I had some time but please try (1)
Ive tried all other copy folder addons mutiple times :) but they all have a problem when i regenerate the tumbs...
There is an addon which helps to regenerate all thumbs in steps:
http://pixelpost.org/v1/index.php?x=downloads&details=71
iliton
12-21-2005, 01:07 PM
Hi! all
do you know what is it?
see Guessed path....
Guessed imagepath: /var/www/iliton/posmotrim_net_defin//images/
Configured Imagepath /var/www/iliton/posmotrim_net_defin/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
Joe[y]
12-21-2005, 01:15 PM
Hi! all
do you know what is it?
see Guessed path....
Guessed imagepath: /var/www/iliton/posmotrim_net_defin//images/
Configured Imagepath /var/www/iliton/posmotrim_net_defin/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
it should be /var/www/iliton/posmotrim_net_defin/images/
but ../images/ will work just fine as well.
iliton
12-21-2005, 01:24 PM
can i change Guessed imagepath?
photos are not loaded, can such be owing to wrong Guessed imagepath?
tinyblob
12-21-2005, 01:34 PM
also try upgrading to 1.5beta1
Joe[y]
12-21-2005, 01:46 PM
can i change Guessed imagepath?
photos are not loaded, can such be owing to wrong Guessed imagepath?
no but you can change the configured imagepath which is what matters in your options!
iliton
12-21-2005, 04:35 PM
i have some upload problem..
Warning: move_uploaded_file(/var/www/iliton/posmotrim_net_defin/20051221202228_314183.jpg): failed to open stream: Permission denied in /var/www/iliton/posmotrim_net_defin/admin/index.php on line 418
Warning: move_uploaded_file(): Unable to move '/tmp/php8KOO0I' to '/var/www/iliton/posmotrim_net_defin/20051221202228_314183.jpg' in /var/www/iliton/posmotrim_net_defin/admin/index.php on line 418
Guessed imagepath: /var/www/iliton/posmotrim_net_defin//images/
Configured Imagepath /var/www/iliton/posmotrim_net_defin/
Image Directory: OK - Can we write to the directory? YES.
Thumbnails Directory: OK - Can we write to the directory? YES.
Language Directory: OK
Addons Directory: OK
Includes Directory: OK
Templates Directory: OK
what you think about?
Thanks.
Joe[y]
12-21-2005, 05:21 PM
i said. go to options page in your admin panel and change your configured imagepath to ../images/
am i speaking spanglish or something?
Connie
12-21-2005, 09:42 PM
eon,
the faq will be back
after release of 1.5 Final, we all think of a big overhaul of the whole pixelpost.org, new design, FAQ, organised download-section
all these things which always seem to have priority #2...
but after the release we will be glad to concentrate on the usability of this place here ;=)
iliton
12-22-2005, 07:10 AM
Sorry, maybe im stupid, but when im was changed path to ../images/
in "general info" i seen error mesadge..
one more sorry
but im steel do not understand what hapened
and spesial sorry for my english
Sorry, maybe im stupid, but when im was changed path to ../images/
in "general info" i seen error mesadge..
one more sorry
but im steel do not understand what hapened
and spesial sorry for my english
With error message do you get?
And can you give us the information of General Info.
Connie
12-22-2005, 08:35 AM
Iliton,
did you create the images-directory and the thumbnails-directory?
did you chmod them to 777?
It seems for me that these images don't exist!
iliton
12-22-2005, 02:35 PM
Thanks all who has responded, the problem is solved,
it was incorrect subdomain settings in Debian Linux server.
Now it works nice.
tinyblob
12-22-2005, 02:37 PM
Thanks for posting again. Nice to know it wasn't a Pixelpost bug, and glad to hear you've got it working!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.