View Full Version : Can't upload pictures to the classfieds
June 21st, 2007, 05:59 PM
When trying to upload a picture I get this error
Unable to move file [/tmp/phpBHEYde] [/www/audiokarma.org/httpdocs/ads/data/45/cdplayer1.jpg]
June 21st, 2007, 06:01 PM
Easy per the install instructions your uploads and data directories at every level need to be set to 777 permissions.
June 21st, 2007, 06:42 PM
DOH! my bad. Thanks
June 21st, 2007, 06:47 PM
;) No problem have a good weekend
June 21st, 2007, 08:23 PM
Well I may have spoken too soon. I changed the permissions and now do not get any errors. The ad is placed, but I do not get a thumbnail, but only the "no image" pic. If I click on the no image pic, I go into the ad and see the original picture that was uploaded. I checked and GD2 is set in the admin console, which is the same GD2 that the gallery uses and the thumbnail generation does work there.
June 21st, 2007, 08:28 PM
Have you verified your path to the data directory is correct?
June 21st, 2007, 08:41 PM
I have all the URL's use the http://audiokarma.org/ads etc...
I have all the Path's use the /www/audiokarma.org/httpdocs/ads etc...
I have the web virtual path use /ads ( I've tried this with the full http:// with no difference) If I use the /www/audiokarma.org here the thumbnails that are visible disappear.
By the way, this classifieds was setup by photopost on another server. We have moved servers and that is when the problem began.
June 21st, 2007, 08:56 PM
where are you missing images?
Now as priorly stated your uploads and data directories are to be set to 777 at every level beneath them
June 21st, 2007, 10:32 PM
The missing thumbs only pertain to new ads since the server move. The thumbs that are there now were created on the old server. At first I thought it may have been the GD but it works for the gallery.
Yes, the upper level data and upload folders and their sub folders are set 777. I don't get an error since I set the permissions, but it is not creating the thumbnails.
June 22nd, 2007, 09:13 AM
WELL ITS NOT CREATING A THUMB you should get some sort of error message
You can post a regular login account here and let me try and upload. You are sure
Kinda hard to say anything when you cant post anything to show an issue. I dont see any affected anything on your site right now.
June 22nd, 2007, 09:46 AM
Let me see if I can get the error log from the server and I'll post what it says.
June 22nd, 2007, 09:54 AM
In the mean time,
user: Chuck S
Ads are moderated, so I'll watch the admin console to approve. When we are done, I will delete the user account.
By the way, use the "Auctions for the Benefit of Audiokarma" section, as the other catagories require a payment to post.
June 22nd, 2007, 10:40 AM
Is that directory 777?
Is there a file named this in that directory and if so what are the permissions on that file it should be 644 or 666
If the file exists and has permissions of 600 you probally have that host we see every 1 in a 1000 that doesnt have permissions set on created files correctly but they should be able to fix that so the files are 644
June 22nd, 2007, 10:51 AM
The folder was 777 but the underlying thumbs and large folders were not. also the actual jpgs were not set 644. Looks like the migration from the other server reset all the permissions. I will need to go into every folder and reset them.
Just to be correct: upload, data and underlying folders set 777, all files within set 644?
June 22nd, 2007, 10:53 AM
Correct as I stated your uploads and data directories as well as EVERY DIRECTORY beneath them need to be set to 777 permissions
Files under them should be 644 or 666 thats fine
June 22nd, 2007, 11:09 AM
Thank you for your patience and understanding. I know it must get frustrating trying to help the Photopost Challenged. :o
All seems to work now.
July 10th, 2007, 07:44 PM
i'm having the same problem uploading photos.
i keep getting
"Warning: unlink(/home/caklassi/public_html/data//7/thumbs/Picture_006.jpg) [function.unlink]: No such file or directory in /home/caklassi/public_html/image-inc.php on line 376"
"Error creating resized original! Error code: 127 "
what can i do?
my site is http://www.caklassifieds.com
July 10th, 2007, 08:18 PM
remove the second slash off the end of your data path and also your data directory and all its subdirectories at every level needs to be set to 777 permissions
July 30th, 2007, 06:07 PM
I'm having the same problem with a new install - can't upload pics. Getting this error message at the top of the page:
"Warning: unlink(/home/content/y/u/m/yumadoug/html/classifieds/data/8/thumbs/8041.jpg): No such file or directory in /home/content/y/u/m/yumadoug/html/classifieds/image-inc.php on line 376"
and this error message in the body:
"Error creating resized original! Error code: 126 "
Was originally getting the "data//" so I removed the second slash in the admin panel per the instructions in this post thread. The Data folder and all the subfolders are 777. Have tried different pics, no change.
July 30th, 2007, 06:30 PM
I should add that my host has ImageMagick 5 and 6 with the paths /usr/bin/ and usr/local/bin/. I currently use Coppermine Image Gallery on my site with the ImageMagick 5 path (/usr/bin/) and there are no issues with uploading pics or creating thumbnails.
Incidentally, during the install process for PhotoPost Classifieds I entered the /usr/bin/ path and it said was successfully verified.
July 30th, 2007, 07:15 PM
what is the full true error
July 30th, 2007, 07:46 PM
Are you replying to me? The errors are in quotes in my post.
July 30th, 2007, 09:23 PM
After experimenting with many image sizes I've found that ALL images under the 100X100 thumbnail size will successfully upload, but ALL images over that size will result in the resizing error messages I listed in my initial post. I did dozens of tests with three different user IDs and it always works out this way.
Fyi: I didn't change any of the settings in the Upload Ads Options panel. And this is a brand new install downloaded 2 days ago. I simply wrapped my site table around it to match my site design, so no changes were made that would cause these problems.
If you PM me I can give you the url and a test ID for you to try it yourself. It's a political site so I don't want to list the url here in the forum.
July 30th, 2007, 10:14 PM
You can email email@example.com if you dont want to post publically
The message you gave was not the whole message only half a message which is why I asked for the whole message
There would be more lines after the error code your cutting yours short.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.