11 replies [Last post]
jprieto's picture
Offline
Joined: 11/09/2007
Juice: 79
Was this information Helpful?

The selected file /tmp/tmp_PKoWzi could not be uploaded, because the destination is not properly configured.

i changed the /temp from public to private then back again

and i get this error

i chmd the directory 777

but nothing helps

sad sad sad

help please

------------------------------------------------------------------------------
Using the cart in WebARtSale.com -- a new site not yet in production
---------------------------------------------------------------------------

trevorlee_nc's picture
Offline
Joined: 11/15/2007
Juice: 23
First Time with Ubercart, Same issue

Ok, I am having this issue as well.

First off, I'm "fairly" adept with Drupal overall, as I've been using in on a variety of sites for about a year now, but first time checking out Ubercart (I very muhc like what I see so far too!)

I can upload images to a product, but NOT to a category.

Currently the installation I have running is in a dev environment setup per the user's guide on this site.

My files & /tmp "should" be correct, in that I can upload images to individual products.

If I can provide any other required info (versions etc) I'm here...

thanks...

trevorlee_nc's picture
Offline
Joined: 11/15/2007
Juice: 23
still no dice :(

One last thing I decided to try, that was a step I skipped over, was the creation of an "admin" role, and assigning a user to that role...in hopes that maybe this would be related to this other drupal issue:

http://drupal.org/node/112729

but nope...is there something out there I might have missed...like I stated earlier, my filesystem is working right, I can upload images to the products, but not to categories...

In any case, I'm hoping someone out there might have come across this and have a solution, but I'll keep banging away at it, and if I find such...of course, I'll be sure to post it in this thread...

-Trev

trevorlee_nc's picture
Offline
Joined: 11/15/2007
Juice: 23
Creating Imagecache Directories

Something I noticed, is that the imagecache directories were not getting created...

I tried creating them manually, and settting 777 on them recursively, still no dice...

/files/imagecache/category/files

was hoping this might work...nope Sad

another thing I tried, was changing the /tmp path to tmp, and creating tmp in my root web folder, this at least shows me that the file is being uploaded...but something, somewhere is not moving it out of the tmp folder into the /foles/imagecache folder...maybe this will provide some insight.

The selected file tmp/tmp_7T65da could not be uploaded, because the destination is not properly configured.

The file tmp/tmp_7T65da does exist, and "lingers", so it's not getting unlinked either.

greenSkin's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 11/06/2007
Juice: 263
Re: Creating Imagecache Directories

I came across the issue of not being able to add images to category terms. I created the folder called 'ubercart_images' in the files directory and it seemed to remedy the issue.

trevorlee_nc's picture
Offline
Joined: 11/15/2007
Juice: 23
BINGO

that's the ticket...

thanks!!!!

bowwowadmin's picture
Offline
Bug FinderEarly adopter... addicted to alphas.
Joined: 12/09/2007
Juice: 70
Re: Re: Creating Imagecache Directories

greenSkin hit it on the nail for me that worked... to add files/ubercart_images/ directory.

greenSkin's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 11/06/2007
Juice: 263
Re: The selected file /tmp/tmp_PKoWzi could not be uploaded, bec

You can try using chown to set user:group permissions to the directory. For instance your server user name might be 'apache' or '_www'. You can do so by issuing the command 'sudo chown apache' or sudo chown apache:apache'. Hope this helps.

philsward's picture
Offline
Joined: 09/15/2007
Juice: 120
No Access to sudo

Fine and dandy if you have access to the sudo accnt, but I unfortunately don't have access to sudo, nor will I be given the access by act of congress...

I didn't have a problem in 1.0 alpha 7e, but I seem to have the problem in 1.0 alpha 8

What's Changed?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: No Access to sudo

This is an unfortunate bug that we thought had been fixed for the A8 release. I'll ask Lyle to doublecheck it to make sure... this shouldn't be an issue, and there's really no reason to have a separate directory for the images (since Drupal renames conflicting files for you).

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: No Access to sudo

The catalog module didn't get the memo that we weren't relying on the existence of the ubercart_images directory anymore. That'll be changed shortly.

webmasterkai's picture
Offline
Uber DonorBug Finder
Joined: 08/09/2007
Juice: 299
Re: The selected file /tmp/tmp_PKoWzi could not be uploaded, bec

I was getting frustrated with this one. Creating the "ubercart_images" directory solved the problem. This problem seems to still be in the latest dev.

Biodiesel * (ubercart + drupal) = Sundays Energy