Dear,
I created a CCK paradigm field, But when attempt to upload it gives error "The file could not be uploaded." How can i solve this upshot..

Comments

abdulhaleems's picture

Honey,
I created a content type CCK paradigm field, Just when attempt to upload information technology gives error "The file could not exist uploaded." How can i solve this upshot..

Please solve this consequence very urgent

abdulhaleems's picture

Project: CCK groups » Image Upload
Version: 5.10-1.x-dev » 6.ten-ane.0
Component: Code » Miscellaneous
Priority: Normal » Critical

ValerieCBL's picture

I take the same problem :( I'thou trying to use the epitome field module with image cache to insert thumbnail teasers on the forepart page that will open up into a new window when clicked that will have a epitome gallery. OMG... this is tricky!

bojanz's picture

Condition: Active » Postponed (maintainer needs more than info)

Image Upload has nix to practise with CCK, imagefield or imagecache. It's based on the drupal upload module.

Still, if you tin't upload a file from drupal, it's probably due to the permissions of your files folder.

If all this has something to practice with image_upload, post more info and I volition exist glad to assistance.

Sorry for not looking at the boards guys, I work much and travel much, so sometimes information technology'due south much faster to contact me by email ;)

I promise to keep a better track of it in the future.

13rac1's picture

Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Airtight (fixed)

Closing two yr old issue. Re-open up if needed.

cblanglois's picture

Now I'm facing the aforementioned trouble of "The file could not be uploaded." When I employ the upload fields for my newsletter thumbnail and newsletter pdf. How exercise I solve this> I'k using Drupal 7

mittalpatel's picture

cblanglois's picture

Thank you a lot, Mittal! Solved it. It was, indeed, in reddish.

talas's picture

Attempt to chmod the directory "prototype" under "sites/default/files/field/" to 777

ankitas's picture

Assigned: Unassigned » ankitas
Priority: Normal » Critical
Status: Airtight (fixed) » Active

rashmi1's picture

hullo could u plz tell me how did u solved the issue? and which files permissions are to be inverse?

Thanks

Ajascosoft's picture

The first matter is to check in your php.ini file to come across if you have file uploads turned on.
Secondly, bank check your file system settings to ensure that none of the settings is invalid (In carmine)
If all these are ok, so the issue has to do with permission on the server. Drupal past default stores files in /sites/default/files . With CCk or in drupal vii when you create a file field, it creates a sub-directory within the files folder.
To effectively solve the consequence, alter the permission on "/sites/default/files" folder including all files and directories in the files binder.
Case:
cd /opt/lampp/htdocs/[site name]/sites/default
chmod 777 files/
Now drop into the files binder and utilise the same permission levels on all contents in the folder (Please note this may have security implications if you practise not want some folders to be accessed by certain people on the server)
cd files
chmod 777 *
This solved my trouble and i hope it does for you lot as well.

Regards

mark_fullmer's picture

In add-on to checking the file permissions equally Ajascosoft suggests, check file/directory ownership. If the files directory is owned by, say, root, Drupal may not be able to write to it. In this case:

chown -R [your_account_name] files