Hi,
I am having the same problem as @Enteract. I am running Multi Site Manager. Once I installed WYMEditor and tried to publish a page with a field type WYMEditor I get the following error message along with what looks like a load of template variables names dumped out on screen. See attached.
The requested URL cms/expressionengine/third_party/wymeditor/javascript/iframe/default/wymiframe.html was not found on this server
Any ideas?
Thanks.
If you have moved your “system” folder below the root directory, you will need put the javascript folder in the root “themes” folder, and define the URL to that folder, and add two additional config values to your config.php file to tell WYMEditor where to look for the files:
$config[‘wym_js_path’] = ‘/full/server/path/themes/wymeditor/javascript/”; $config[‘wym_jquery_path’] = = ‘/full/server/path/SYSTEM/expressionengine/javascript/compressed/jquery/jquery.js”;
Note that I don’t know your server path before the CMS part, so change that accordingly. This should fix it for you.
Hi,
I am a little confused as I noticed a slight change in your first post where you said to update the config.php file with the following lines:
$config['wym_js_path'] = '/wwwroot/cms/expressionengine/third_party/wymeditor/javascript/";
$config['wym_jquery_path'] = '/wwwroot/cms/expressionengine/javascript/compressed/jquery/jquery.js";But this now has been updated to:
$config[‘wym_js_path’] = ‘/full/server/path/themes/wymeditor/javascript/”;
$config[‘wym_jquery_path’] = = ‘/full/server/path/SYSTEM/expressionengine/javascript/compressed/jquery/jquery.js”;
I don’t have a themes folder for wymeditor. I am running EE 2.0.2. I tried your first suggestion so my config file looks like:
$config['wym_js_path'] = '/home/whitewat/www/cms/expressionengine/third_party/wymeditor/javascript/';
$config['wym_jquery_path'] = '/home/whitewat/www/cms/expressionengine/third_party/wymeditor/javascript/jquery.js';But I am still getting the same error. I am also accessing the CP with the exact URL it was installed under.
You have to make the themes folder, and move the javascript file to that new folder, then define the URL to that folder in the config.php file.
I’m debating on making this part of the standard install… creating a themes/wymeditor folder. It is setup to be as easy install as possible… IF you don’t install EE below the root.
As for your config file, the wym_js_path needs to be a URL, not a system path. So it would be something like $config[‘site_url’] . ‘themes/wymeditor/javascript’;
Obviously I need to work on documentation for this part, and decide if I want to require a themes folder as part of the default install.
Still not having any joy with this. Have set in my config file:
$config['wym_js_path'] = 'http://www.whitewaterbrewery.com/themes/wymeditor/javascript/';
$config['wym_jquery_path'] = 'http://www.whitewaterbrewery.com/cms/expressionengine/javascript/compressed/jquery/jquery.js';However I am still now seeing JS errors.
Uncaught SyntaxError: Unexpected token <
/cms/index.php?S=b4bde900cdf8838573e5f39c8d2cc6c9f33c6016&D=cp&C=javascript&M=load&package=wymeditor&file=plugins/hovertools/jquery.wymeditor.hovertools:1Uncaught SyntaxError: Unexpected token <
/cms/index.php?S=b4bde900cdf8838573e5f39c8d2cc6c9f33c6016&D=cp&C=javascript&M=load&package=wymeditor&file=plugins/linkattr/jquery.wymeditor.linkattr:1Uncaught SyntaxError: Unexpected token <
/cms/index.php?S=b4bde900cdf8838573e5f39c8d2cc6c9f33c6016&D=cp&C=javascript&M=load&package=wymeditor&file=plugins/ee_browser/jquery.wymeditor.ee_browser:1Uncaught SyntaxError: Unexpected token <
index.php:403Uncaught ReferenceError: WYMeditor is not definedThanks for your patience but still getting JS errors.
missing } in XML expression http://www.whitewaterbrewery.com/cms/index.php?S=0ef57a1f2cf3632513291d955935c19a9c2f8d2d&D=cp&C=javascript&M=load&package=wymeditor&file=jquery.wymeditor.min Line 13
missing } in XML expression http://www.whitewaterbrewery.com/cms/index.php?S=0ef57a1f2cf3632513291d955935c19a9c2f8d2d&D=cp&C=javascript&M=load&package=wymeditor&file=plugins/hovertools/jquery.wymeditor.hovertools Line 13
missing } in XML expression http://www.whitewaterbrewery.com/cms/index.php?S=0ef57a1f2cf3632513291d955935c19a9c2f8d2d&D=cp&C=javascript&M=load&package=wymeditor&file=plugins/linkattr/jquery.wymeditor.linkattr Line 13
missing } in XML expression http://www.whitewaterbrewery.com/cms/index.php?S=0ef57a1f2cf3632513291d955935c19a9c2f8d2d&D=cp&C=javascript&M=load&package=wymeditor&file=plugins/ee_browser/jquery.wymeditor.ee_browser Line 13
WYMeditor is not defined http://www.whitewaterbrewery.com/cms/index.php?S=0ef57a1f2cf3632513291d955935c19a9c2f8d2d&D=cp&C=content_publish&M=entry_form&channel_id=5 Line 440
Have set config as:
$config[‘wym_js_path’] = ‘http://www.whitewaterbrewery.com/themes/wymeditor/javascript/’; $config[‘wym_jquery_path’] = ‘/home/whitewat/public_html/cms/expressionengine/javascript/compressed/jquery/jquery.js’;
Not sure if I am missing something obvious here but just can’t put my finger on it.
Wallzy, are you in a huge hurry to get this working? I’m going to make some changes one night this week to hopefully avoid this sort of confusion in the future. Also, is your system/cms folder below the root? It doesn’t look like it based on the jquery_path. If it isn’t below the root, then you really shouldn’t have to move the javascript folder to the themes folder, or define those config values.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.