I'm working on updating from Omeka 1.5.3 to 2.1.4. Everything appeared to go well. Omeka runs and Dropbox appears to function except that when you add something from the Dropbox files folder, it returns an error, "The given path is invalid."
First I tried modifying the config.ini to make sure background.php.path had a valid setting.
Permissions are set to 777 for the Dropbox files folder. Our Omeka instance is using some symlinks for content: /usr/vvv/www/omeka/plugins/Dropbox/files is a symlink to /xxxxx/Dropbox/files and the permissions are following through.
I did double check the Security Settings to make sure the Allowed File Extensions and Allowed File Types allowed the types of files we are putting in the Dropbox/files folder.
When I looked at the code in the Dropbox plugin to see where the error text was located [DropboxFunctions.php line 73], it appears to be calling realpath(of the file) and comparing the dropbox_get_files_dir_path() to make sure it's in the realpath string. I'm wondering if symlinks are an issue and how to get Omeka to play nicely with them. I tried setting the PHP open_basedir setting but that keeps the Omeka site from functioning at all. Does anyone have any suggestions on what else I should look at?
Thanks,
Jack