By fisted on
hey,
i installed drupal 7 and the upload function does not work. i created an image field and if i try to upload an image file to a node i get the message: "The file could not be uploaded."
the error log (Home » Administration » Reports » Recent log messages) looks as follows:
MESSAGE:
The upload directory public:// for the file field field_logo could not be created or is not accessible. A newly uploaded file could not be saved in this directory as a consequence, and the upload was canceled.
LOCATION: http://localhost/ktp/klab/?q=file/ajax/field_logo/und/0/form-7zUiu3YlGbir-PiUJgiq1zqLBg5A5uC72SQf3NcX9qk
[{"command":"settings","settings":{"basePath":"\/ktp\/klab\/","ajaxPageState":{"theme":"klab","theme_token":"mKyEve9q7XdRccYQwdFc_9rfA2DgsI8znod1Qwzo-AQ","css":[]},"overlay":{"paths":{"admin":"node\/*\/edit\nnode\/*\/delete\nnode\/*\/revisions\nnode\/*\/revisions\/*\/revert\nnode\/*\/revisions\/*\/delete\nnode\/add\nnode\/add\/*\noverlay\/dismiss-message\nuser\/*\/shortcuts\nadmin\nadmin\/*\nbatch\ntaxonomy\/term\/*\/edit\nuser\/*\/cancel\nuser\/*\/edit\nuser\/*\/edit\/*","non_admin":"admin\/structure\/block\/demo\/*\nadmin\/reports\/status\/php"},"ajaxCallback":"overlay-ajax"}},"merge":true},{"command":"insert","method":"replaceWith","selector":null,"data":"\u003cdiv class=\"messages error\"\u003e\n\u003ch2 class=\"element-invisible\"\u003eError message\u003c\/h2\u003e\nAn unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (128 MB) that this server supports.\u003c\/div\u003e\n","settings":null}]
the strange thing is the message about the exceeded maximum file size, because the image i am trying to upload is just 5kb large.
hope you can help!
best regards
