Hello
I can't upload a picture to the user profile
Keep getting error
The selected file files/tmp_o3KQy7 could not be uploaded, because the destination is not properly configured.
Failed to upload the picture image; the http://paratlane.net/files/pictures/ directory doesn't exist.
http://paratlane.net/files/pictures exists you can check here
http://paratlane.net/files/pictures/Imag0075.jpg
The upload directory and the temp directory are set to "files"
Any idea where these mysterious settings are stored in DRUPAL database ?
When you change through the form they don't and keep throwing up deleted locations.
Any help will be appreciated
Shred
++++++++++++++++
A great deal for business
http://affiliatesexcel.com
Comments
Just a thought but are both
Just a thought but are both directories set to the right permissions ? I.e. chmod 777 read / write access enabled ?
both are set to "files" directory with 777 permission
Hello,
I have checked again and see that both the image store and temp are set to "files"
with permission of 777
However the default URL for the profile pictures (avatars) is some how
set to the root http://www.paratlane.net/picture-1.jpg
(i loaded an image picture-1.jpg to the root and now it is showing up.
Please see http://paratlane.net
But when you try to upload a new image you get the error message.
Do you know where these field values are actually stored in Drupal database ?
A great deal for business.
http://affiliatesexcel.com
thats strange. make sure
thats strange.
make sure your file system settings (under admin / settings is set to files and /tmp
I'd also make sure you have set your base path in your settings file (under Site)
$base_url =
Just to make sure.
Avatar path and folders are set in the admin/settings/user section under Picture. Mine is set to pictures and i created a subsection under files for that.
If I move tmp to the root rather than \files\tmp i get the error
If I move tmp to the root rather than \files\tmp
I get the error
warning: mkdir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/paratlan/:/home/admin/) in /home/paratlan/paratlan-www/includes/file.inc on line 91.
The directory /tmp does not exist.
Where do you set the Base Url ? I have seen it but can't find it
Cheers
Shred
A great deal for business.
http://affiliatesexcel.com
base url is set in your
base url is set in your settings.php under /sites/default/
Lookout for $base_url =
Did all that
Did all that still no result
Do you know the database table in which these values are kept ?
A great deal for business.
http://affiliatesexcel.com
Sorry to be redundant, but
Sorry to be redundant, but under admin/settings/user ; you have the picture directory set as 'pictures', NOT files/pictures, right?
Anisa.
-----------------------------------------------------------
Kindness builds stronger bonds than necessity.
www.animecards.org - 16,000 card scans and counting!
-----------------------------------------------------------
THe current entry in this field is http://paratlane.net/files/pi
Hello Anisa,
Good day to you, here in the it soon will be Midnight.
THe current entry in this field is http://paratlane.net/files/pictures/
I try to change it to pictures but get error messages
Please see my post http://drupal.org/node/68015
I practically give up, no one seems to know where these settings are stored
for a manual edit.
Cheers
Shred
A great deal for business.
http://affiliatesexcel.com
You got a reply in that
You got a reply in that other thread, maybe you can try that. :) Not toooooo many people put the whole URL when the instructions say to put the name of the folder inside the file folder. ^.^
My family is from Nagercoil! Nearly neighbors! (but I grew up in the US).
Anisa.
-----------------------------------------------------------
Kindness builds stronger bonds than necessity.
www.animecards.org - 16,000 card scans and counting!
-----------------------------------------------------------
MANY THANKS< I edited the database entry and everything is fine
Hello Anisa,
Nice to Know you are from Nagarcoil and have taken a long route via the US to Japan.
Many thanks for your reply, I edited the database entry and everything is fine
Please se the other post.
It is strage that the form couldn't rewrite the database.
Many thanks again for your help.
A little off topic, I have anyway installed Gallery2 as I found the image support
in Drupal not enough for great content. I like the grid in the side bar from Gallery
and the gallery contribution which nicely integrate Gallery2.
Iwas impressed by the extent of the Total integration making Gallery2 admin available
within DRUPAL. Really a great UPGRADING to DRUPAL
I wanted to check with you if you know how to reduce a the size of the square
thumb nails in the grid fro 90X90 to say 80X80 as the grid is a bit too big for
the side bar width.
A great deal for business.
http://affiliatesexcel.com
There are many places in my
There are many places in my heart. Glad everything worked out! I must remember to put a page in the handbook about this.
Re: Gallery integration into drupal, isn't it really amazing?? I suppose a lot of it has to do with the fact the actual Gallery homepage is now run on Drupal, but still, wow.
You can't change the size of the thumbnail under settings >> gallery > Gallery Grid Image Block settings: Thumbnail size?
Anisa.
-----------------------------------------------------------
Kindness builds stronger bonds than necessity.
www.animecards.org - 16,000 card scans and counting!
-----------------------------------------------------------
a little late...
a little late for fixing valley's problem, I'm sure, but I was having the same problem and I found chmodding *the existing files* fixed it. In other words, I was trying to update my user image and getting the same error messages as valley, and even tweaking the folder settings and chmodding the folders didn't solve the problem. It was only when I chmodded my existing user image file (which was sitting idly in the folder I had spent hours repeatedly chmodding) that I was able to upload a new image.
Second that, but with a twist...
I had an image for that user already in the profile image folder. Somehow in my moving sites around it wasn't showing up in the profile, or wasn't linked anymore to that profile. It looks like Drupal loads images as picture-[userID].[extension]. Since there was already one there, and with PERMISSIONS that did allow overwrite, I was getting an error like that in the initial post that led me to believe my path, was wrong, directory had the wrong permissions, or just plain didn't exist. Not so! It was a problem with the existing images.
Fix => Change the permissions of all the files in that directory.