Nothing can be uploaded or used through the wyswyg media browser. It does not matter what file type is uploaded.
When I try to save an upload file through the WYSIWYG module I get the following error and no file will display on the page. The file will load on to the system however. The same error appears when trying to select an uploaded file in the Library tab. In both cases I have to reload the page because I cannot exit the wysiwyg media browser overlay.
Fatal error: Call to undefined function media_get_wysiwyg_allowed_view_modes() in E:\Websites\ws_130927_01_monroefootball\htdocs\sites\all\modules\media\modules\media_wysiwyg_view_mode\media_wysiwyg_view_mode.module on line 115
This issue seams to be isolated to the Media Dev version. It does not happen on 7.x-2.0-alpha3. I have tried with jQuery update installed and not installed. No difference.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | fix-function-names-2143847-2.patch | 6.34 KB | devin carlson |
| #2 | fix-function-names-2143847-2-tests-only.patch | 2.85 KB | devin carlson |
Comments
Comment #1
arosboro commentedYou should disable media_wysiwyg_view_mode
Comment #2
devin carlson commentedIt looks like some function name changes didn't make it into the patch posted in #2142571: Spin-off WYSIWYG support in dedicated module / project.
The attached patch makes the required changes and adds a basic test to help prevent future issues.
Comment #4
devin carlson commentedTested #2 and committed it to Media 7.x-2.x.
Comment #5
spgd01 commentedGreat thanks. i couldn't get the patch to work for some reason but the new dev version does work.