Hi There,
Thanks for a great module, I have been looking for something like this for ages. I am looking forward to seeing it develop.
I have a small problem, my development server is Apache, but my test server for my clients is IIS because I have quite a number of Microsoftie clients. On Apache everything works great, but on the IIS server whenever I try to upload a file I get the error message "The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename."
Can this module only be used with Apache? Given my still limited understanding of php it looks like FileDepot cannot find the temporary uploaded file in IIS for some reason.
Also, I lose my left hand side administration menu and the view does not take it into account so it stretches beyond the right hand side of the page as if it was there, but I see that has already been noted as an issue.
Thanks again,
Craig
Comments
Comment #1
_randy commentedI have a question about your IIS setup just for troubleshooting: Does the account you're using to run the site through in IIS have write access to the filedepot data store? Does it have appropriate access rights to the temp PHP upload directory?
Can you upload anything with Drupal (like images etc) on that same server and drupal instance?
Comment #2
CraigWatt commentedThanks _randy
I changed the permissions on those folders to everyone (I suppose chmod 777 in Linux speak) and it is working great, the only problem now is that the default file store is accessible to everyone if they know what to look for. But no big deal the site will go live in a Linux environment.
Thanks for your help.
Craig
Comment #3
_randy commentedOk.. clearly the 777/Everyone Full Control is a security issue for a production site -- but for testing purposes is fine.
This at least points to a configuration issue vs. a code issue.
Thanks for the feedback.
Comment #4
mdallmeyer commentedI'm still getting the "The selected file could not be copied, because no file by that name exists." error and my watchdog report has a few things.
access denied - filedepot_ajax/getfilelisting
access denied - filedepot_ajax/rendernewfilefolderoptions
file - filedepot_ajax/savefile - "Upload error. Could not move file to destination ."
The last watchdog entry has a space before the period, which makes me think there ought to be a filepath following the word destination. So my thoughts are that the filepath is getting lost somewhere, but I can't seem to figure out where. I think I had this issue before and fixed it but I'm not sure how.
Comment #5
mdallmeyer commentedsorry, accidentally double posted, but read above please! ^
Comment #6
mdallmeyer commentedTurns out this was an error in file.inc, having nothing to do with FileDepot itself.