ez projects / ezoe / forum / setup / install / problems with install (load...
You need to be logged in to post messages in the forums. New users may register here.
|
Member since: Posts: 3 |
Saturday 11 June 2011 8:35:40 pm We have version 4.4.0 of eZPublish that I upgraded from 4.0.3 using eZUpgrade. It appears that everything is working as we expect it to except for the editor which - even though the enable / disable editor button appears - doesn't allow us to instantiate the editor. Instead we get a popup message that says "Load jQuery first!".
I used FireBug in FireFox to step through the JavaScript and found that the message is coming from line 397 of tiny_mce.jquery.js. And that what is happening is that jQuery is never instantiated within "window" in the DOM. Thus "window.jQuery" has a value of "undefined". It appears that the initialization of "window.tinyMCE" / "window.tinymce" is successful within lines 1 to 390 of tiny_mce_jquery.js, but that the initialization of "window.jQuery" fails. I tried reinstalling the ezoe extension and faithfully followed the install directions step by step. Our System Admin setup the rewrite rules exactly as specified for a virtual host (http://doc.ez.no/eZ-Publish/Techn...4.4/Installation/Virtual-host-setup). RewriteEngine On RewriteRule ^/([^/]+/)?content/treemenu.* /index_treemenu\.php [L] RewriteRule ^/var/([^/]+/)?storage/images(-versioned)?/.* - [L] RewriteRule ^/var/([^/]+/)?cache/(texttoimage|public)/.* - [L] RewriteRule ^/design/[^/]+/(stylesheets|images|javascript)/.* - [L] RewriteRule ^/share/icons/.* - [L] RewriteRule ^/extension/[^/]+/design/[^/]+/(stylesheets|flash|images|lib|javascripts?)/.* - [L] RewriteRule ^/packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L] RewriteRule ^/packages/styles/.+/thumbnail/.* - [L] RewriteRule ^/var/storage/packages/.* - [L] # Makes it possible to place your favicon at the root of your # eZ Publish instance. It will then be served directly. RewriteRule ^/favicon\.ico - [L] # Uncomment the line below if you want your favicon to be served # from the standard design. You can customize the path to # favicon.ico by changing /design/standard/images/favicon\.ico #RewriteRule ^/favicon\.ico /design/standard/images/favicon\.ico [L] RewriteRule ^/design/standard/images/favicon\.ico - [L] # Give direct access to robots.txt for use by crawlers (Google, # Bing, Spammers..) RewriteRule ^/robots\.txt - [L] # Platform for Privacy Preferences Project ( P3P ) related files # for Internet Explorer # More info here : http://en.wikipedia.org/wiki/P3p RewriteRule ^/w3c/p3p\.xml - [L] # Uncomment the following lines when using popup style debug # RewriteRule ^/var/cache/debug\.html.* - [L] # RewriteRule ^/var/[^/]+/cache/debug\.html.* - [L] RewriteRule .* /index\.php </VirtualHost> The only thing left for me to check is one of the rewrite rules which you specify in your install instructions as being the following for a virtual host which is what we are hosting eZPublish on. RewriteRule ^/var/([^/]+/)?cache/public/.* - [L] One final clue to this puzzle is that I tried switching back to the previous editor, ezdhtml, by turning its extension on, turning ezoe's extension off, clearing the cache, etc and that editor doesn't work either. Any insights you can provide will be greatly appreciated. I've already spent a few days working on this and am running out of areas to explore. Thanks! |
|
|
Member since: Posts: 171 |
Sunday 12 June 2011 2:04:48 pm Some possible options:
* Using rewrite rules doc.ez.no: http://doc.ez.no/eZ-Publish/Techn.../4.5/Installation/Virtual-host-setup * Grab newer version of ezoe form one of the recent builds of eZ Publish (Community version or not) -- |
|
|
Member since: Posts: 3 |
Wednesday 15 June 2011 5:38:42 am Andre, when I looked further into this I found that jQuery is part of the extension ezjscore. When I checked the extensions (in "Setup/Extensions" in the admin interface) I found that the ezjscore extension had not been selected and activated. Once I activated it then jQuery was instantiated and the tiny_mce editor worked.
I would like to recommend that you change your popup message from "Load jQuery first!" to something more useful, such as: "Be sure to install the extension ezjscore so that jQuery will be instantiated. Extensions can be installed from the Admin interface by selecting Setup and then selecting Extensions". Thanks for all your work on this. It is certainly appreciated. |
|
|
Member since: Posts: 171 |
Monday 27 June 2011 1:44:13 pm This is an alert from TinyMCE, so not something I can do anything about unless I hack it, something I have no plans on starting doing as it will lead to more overhead on maintaining it.
-- |
|
|
Member since: Posts: 1 |
Monday 16 April 2012 9:41:00 pm Thanks Kirk for your solution. I too recieved the error, and was going through my configuration looking for problems. Luckily, I choose to do a quick search for the issue and found this posting. This saved me from at least 1 reload.
|
You need to be logged in to post messages in the forums. New users may register here.