warning: mkdir() [function.mkdir]: No such file or directory in /var/www/html/test/includes/file.inc on line 91.
The directory does not exist.
The settings have not been saved because of the errors.

Comments

kuba.zygmunt’s picture

did you make a 'files' directory with writing permission ?

qwe123’s picture

befroe i did ../pictures ,i was make ''pictures"

kitt’s picture

For some reason, might be the lack of sleep for the last week, this post cracks me up.

There's no question asked, so it's hard to do anything but think, "Um... okay."

So, um... okay.

Maybe I could answer the imaginary question? If everyone on the planet moved to one side and jumped, could we get a bell effect, causing minor oscillations in the earth's wobble? I'd build a drupal site on such a subject, but the philosophical implications might overwhelm me.

That said....

What directory is missing? Was the error message more complete? How much help do you need to prevent you from deading?

qwe123’s picture

i afraid i can't say very clear.
I use drupal 4.7 ,i want user can use picture ,i make a directory admin-->settings -->user like this

Picture image path:
../pictures

Subdirectory in the directory "files/" where pictures will be stored.

and save configuration it .
did all this it will appear this:

warning: mkdir() [function.mkdir]: No such file or directory in /var/www/html/test/includes/file.inc on line 91.
The directory does not exist.
The settings have not been saved because of the errors

jcarpio’s picture

I think drupal is already assuming that you are in the 'files' directory, so setting the path to ../pictures would back you out of the 'files' directory and into the root directory.

Try setting the path to pictures OR /pictures.

cburschka’s picture

If the folder actually is where it should be, then it's likely that the relative path isn't correct. I've had some problems with this myself, since I can't easily tell where Drupal will look for the folder.

Have you tried removing the "../"? If that doesn't help, I have no clue, sorry.

Edit: Four minutes late, but at least I had the right idea. :)

takaakikato’s picture

You might need some help from someone who speaks your langauage.
It seems that you don't understand what you are doing. Do you have an understanding of the terems such as "path", "directory" and ".."?

Check out: http://drupal.org/community
I hope you can grab someone who speak your language.

--
Samurai Coder : Learning Cocoa(Objective-C), AppleScript, PHP, Ajax and Rails

Martin Frank’s picture

Martin Frank

i try to add a picture to the right hand column and whatever i try, it doesn't show up. i tried /files, i tried files, i tried files/pictures... the problem may be one of permissions, because i can't upload anything to the file /pictures, only to /files, and cannot change the permission how many times i try.

the real problem is that tthese basic steps with which every new user has to deal, are not well enough documented in the handbook because the handbooks are written by people who know it already. please have them test read by people who know nothing.

another problem is that some drupal members react offended that newcomers should have such STUPID problems, and don't know english well enough.

drupal is presented as a website making solution for people who don't know programming, so please be patient with people who are not php insiders.

drupal is also presented as an internatonaly applicable solution, so please accept that not the whole universe speaks english. how good is your thai?

anyway, now tell us, how do you add a picture to a standard block, to what file do you have to upload the pictures, and what are the permissions, how to change them, who can do that, with what program?

thank you all patient drupal members, and to the impatient ones, peace upon you!

heine’s picture

I try to add a picture to the right hand column and whatever I try, it doesn't show up. I tried /files, I tried files, I tried files/pictures. The problem may be one of permissions, because I can't upload anything to the file /pictures, only to /files, and cannot change the permission how many times I try.

What is the location of the image file? What is the name of the image file? How do you include it in the right sidebar?

If the image is example.png and located in /files then the proper image tag would be:
<img src="/files/example.png" alt="" />

If your drupal installation is in a subdirectory however you need to change it to:

<img src="/drupalsubdirectory/files/example.png" alt="" />

If it still does not show up, try emptying files/.htaccess
--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.

Martin Frank’s picture

thank you so much, heine,

here is the code which works perfectly well for the footer, but doesn't show the pictures in the sidebar. (of course, i would like to show different pictures, but i copied it to check whether that at least works.)

p>
<a href="http://www.heartt2000.com/">
<img src="/files/heartt2000.jpg" width="160" height="160" alt="Please give to Heartt2000!"></a>
<a href="http://www.sparkleserver.net/"> 
<img src="/files/sparkleserver160x160.jpg" width="160" height="160" alt="Thank you Stan!"></a> </p>

what you mean with .png and .htacess? what is the connection to the problem?

i copied exatly the same code into the sidebar block. why does what works for the footer, not work for the sidebar? the pictures are in the /files directory. i don't get a picture not found symbol in the browser, and no error message, but no picture shows in the sidebar.

thanks and love

martin

homepage and website of the gay swiss
writer martin frank | your pleasure is my happiness

heine’s picture

Select the Full HTML input format on the block. (expandable region below the textarea where you enter the block contents). The default format Filtered HTML strips out the image tags.
--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.

Martin Frank’s picture

thank you once more,heine!

it works. one little click! you made me happy!

love

martin

homepage and website of the gay swiss
writer martin frank