We moved our site to a different server which has a different folder structure and now when someone tried to download a file that was previously uploaded they get this:
Warning: copy(./downloads//ec_tmp/987 Minor Maintenance Check List 2.pdf) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 700
ERROR: File not found.
the downloads directory is still there as all directories and permissions were copied over, it is the higher level directories before the web root that changed. I expected to find some place in the config for this mod that was storing that info, but all I see is the ./downloads setting which is still the same.
The files in question are actually there in the downloads directory, but not the ec_temp directory so I don't know why it is looking there or trying to anyway. The files also have a prefix before the name of each filename like 12345-Filename.zip etc.
The file I am trying to download is located here so you can see the error yourself:
http://www.caymanclub.net/downloads.php?do=file&id=242
I can try to reinstall the mod again from a fresh zip to see if that fixes/changes anything, but I am assuming that this is some sort of config error since the site moved, but I have no idea what other than the dir path would have caused a problem.