Search code examples
listcsvmagentorate

Magento "Unable to list current working directory"


http://www.keciadesign.dk

I am trying to set up table rates in Magento 1.6.2.0. The problem occurs when I try to upload the file with table rates (CSV-file). Then the error "Unable to list current working directory" appears and I can't go any further.

TMP, Media and Var folders have perm.777.

I have read everything there was to find on the Internet on this problem - many seem to have had this problem but I have yet to see a solution.

Note: Probably not very relevant, but I am on Unoeuro hosting on a shared serverspot.


Solution

  • Look to your php.ini and find upload_tmp_dir option (or use echo ini_get('upload_tmp_dir') in your code. Seems like PHP can't list files in this directory where apache uploads files. I'm afraid you can't change permissions of this folder on shared hosting.