By senthil.daniel on
Hi,
I am using Drupal 5.x
When i upload a file in page, it didnt attach files.
Now i am using Fedora Linux.
I tested in Windows, its working fine...
Can anyone help to solve this issue..
Thanks
Hi,
I am using Drupal 5.x
When i upload a file in page, it didnt attach files.
Now i am using Fedora Linux.
I tested in Windows, its working fine...
Can anyone help to solve this issue..
Thanks
Comments
File upload
Hi,
Go to Home > Administer > Site Configuration > File System
There you see a field called Temporary directory
It is probably set to /tmp, which you do not have write rights to under Linux but probably do under Windows. You should change this to something like files/tmp (without the '/', thus local to your drupal installation.
Make sure this directory exists and is writeable by everybody.
This should solve your problem, if it is a file system permission problem... If this doesn't solve the problem, please give a more specific description of what you do and all the messages.
--------
F.J. Jungen
www.boria.nl
Stil Problem exist
Stil Problem exist
Still problem exist!!!!!!
Hi,
Thanks for your suggestions.
I changed the file configuration settings. And give full permissions to tmp directory.
Still the problem exist.....
i browse the file and didnt attach , then i save the page the file was uploaded.
When i click the attach button, it didnt uploaded. and didnt show the details of the file in above of the file
attachment section.
But its working in Windows.
I dont know whats happen to Linux.........?????????????/
Help me ...........
Thanks
re: still problem exists!!!!
Does the file upload? Does it sit in the files directory of your drupal installation or not?
--------
F.J. Jungen
www.boria.nl
No..... file didnt upload.
No..... file didnt upload. When i didnt click the attach button and submit the page, then it will upload
particular directory...
When i click attach button, it didnt upload to that directory and it didnt show in the top of the file upload area.
Thanks
Re: No ... file didnt upload
If I understand you correctly, the file does not upload at all on linux, i.e., drupal does not show the file as being uploaded, and you cannot find it on the file system either.
The only thing I can think in this case is the following settings in the php.ini file, which may be relevant:
The values are from my installation, but the important thing is to allow file uploads, and the max_post_size and upload_max_filesize should be bigger than the file you are trying to upload.
The last thing you can check is whether safe mode is on or off. If its on, then the owner of the directory you are trying to upload the files to should be the same as the owner of the apache process.
And of course, if you do change values in php.ini, you have to restart apache.
This is all I can think of at the moment.
--------
F.J. Jungen
www.boria.nl
I configured correctly in
I configured correctly in php.ini file...
I changed the owner permission also..
I am confusing about,
Without click attach button it upload in particular directory, when click attach button it didnt uploaded...
What happened??????????? i dont know...................
its confusing confusing confusing me lot..............
Yep
I'm having the same issue. I have the access settings set properly, but still nothing.
I have about five other Drupal installs running, so I feel like I'd figure out the basic stuff. Still, no luck.
Directory Not Writeable fix
I started getting the same error, on several modules, after I upgraded to 5.X.
Tried everything with no luck.
Finally, I tried this, and it worked.
My last problem was with the images module..
My drupal is set for drupal download, so my files folder was in the root.. ../files
my error said.. the directory ../files/images is not writeable.....
I renamed the images folder to images2
then, went back to create content/images..
and when the page loaded it said "file ../files/images and ../files/images/tmp created...
eveything worked after that.
what's weird is that the images that were in the now renamed folder, instantly appeared back into the new images folder, like nothing ever happened.