Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fatal error: Cannot redeclare class MediaModel
SevMC
✭
Hello, thank you for creating this plugin!
Well the problem is that i get the following error when i try to enable it:
Fatal error: Cannot redeclare class MediaModel in /xxxx/xxxx/xxxx/xxxx/plugins/FileUploadDetect/class.mediamodel.php on line 252
Tagged:
0
Answers
Do you have existing fileupload plugins in the plugins directory? Did you follow the instructions.
grep is your friend.
ups sorry, I thought that I needed to move all my attachments plugins but the fileupload one because it is based on it.
Thanks .
i get a similar error, i deleted the other FileUpload folder from my plugin directory, but still this happens when i click on any discussion
Fatal error: require() [function.require]: Failed opening required '/xxx/xxx/plugins/FileUpload/images/oxygen-style-fileicons.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /plugins/FileUploadDetect/class.mediamodel.php on line 29
if it is named FileUploadDetect, it won't be able to find the resource.
grep is your friend.
i don't know how i did not read that in the description before asking. sorry :-/
it seems to work, but for some reason the fancybox plugin does not work anymore, when using fileuploaddetect. there were no problems with the 'other' fileUpload plugin.
fancy box is just a bunch of javascript, I would check for javascript errors.
grep is your friend.