When using the views module it returns an error message "The selected file /hsphere/local/home///sites/default/files/tmp/fileiFKf87 could not be copied."
Anyone who knows why and hot to fix this problem?
Thanks :)

Comments

rolodmonkey’s picture

Go to [yoursite.com]/admin/settings/file-system and tell us what the settting is for your File system path.

--

Read more at iRolo.net

amussen’s picture

File system path:
sites/default/files

Temporary directory:
sites/default/files/tmp

Download method:
Public - files are available using HTTP directly

rolodmonkey’s picture

As long as there aren't any error messages on that page, then that is not where the problem is.

The triple slash in "home///sites" is definitely not normal.

Have you cleared all your caches?

Are you running the latest stable version of core and contrib?

Did you change anything in settings.php, except for the normal database settings?

Are you using any themes or modules that might try to modify the system path like this?

--

Read more at iRolo.net

amussen’s picture

The path looks like this /home/sitename/user/sites/default/files/tmp/fileiFKf87
Just forgot to include it when I posted my question.
The file name is not a static name, a new file is generated repeatedly when refreshing the browser or when I save a change in my site.

amussen’s picture

I got my website moved to another server providing a newer version of php.
The upgrade fixed the problem :)