-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server: Ownnote doesn't work when assets is enabled #70
Comments
I've been investigating this, but it might require wholesale changes to the TinyMCE plugin. When assets is enabled, it's causing TinyMCE to look for the JS/CSS files in the assets folder, and they are not there. Asset's doesn't appropriately handle JS applets that use plugins. I can make it work with:
... prior to the init of TinyMCE, but then it throws:
Because skin.min.css contains:
And those "font" references aren't being found in the assets folder. Unfortunately I can't figure out a good way to determine if assets is enabled or not, so I can't dynamically switch with CSS file is being used. Just wanted to log the progress here. |
Going to move this out to a new milestone in an effort to get some bug fixes out. It's still on the list, though. |
I can confirm the same behaviour with: nginx/1.6.2 and assets enabled. |
Might be worth reporting in |
Still the same tinymce 404 errors if OC parameter 'asset-pipeline.enabled' is true: |
Please add note regarding asset-pipeline config parameter to information section of README.md, like e.g.
|
I got this error too on Changing |
Resolve the issue?, that is the issue! Server: Ownnote doesn't work when assets is enabled |
Yes you are right :), but my issue was that Ownnote editor wasn't working and the changes resolved my issue. |
Steps to reproduce
Expected behaviour
The note app is still working
Actual behaviour
while the note list opens, the editor will not load with 404 error for plugin.js
Server configuration
Operating system: Centos 6.6
Web server:
Apache2
Database:
MySQL
PHP version:
ownCloud version: (see ownCloud admin page): 8.0.2
**Updated from an older ownCloud or fresh install:**yes 5->6->7-.8.0.2
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
Firefox 35
Operating system:
GNU/Linux (archlinux)
Logs
Web server error log
cannot find the error in the logs..
ownCloud log (data/owncloud.log)
nothing interresting here but anyway:
Browser log
a) without assets enabled
b) with assets enabled
The address for plugin.js: https://domain.com/owncloud/assets/plugins/preview/plugin.js
and theme.js : https://domain.com/owncloud/assets/themes/modern/theme.js
while without assets it loads https://domain.com/owncloud/apps/ownnote/js/tinymce/plugins/lists/plugin.min.js
I have no idea how assets works but it was recommended for gallery + (https://github.com/interfasys/galleryplus/blob/stable8/README.md) and I follow this https://doc.owncloud.org/server/8.0/admin_manual/configuration_server/js_css_asset_management_configuration.html
The text was updated successfully, but these errors were encountered: