Closed (duplicate)
Project:
Wysiwyg
Version:
6.x-2.0
Component:
Editor - YUI Rich Text Editor
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2009 at 12:14 UTC
Updated:
15 Jan 2010 at 20:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
tomsherlock commentedyes. got the same problem last night. I have Drupal 6.13. Here's the error message:
I had installed the yui package in the correct folder.
This is similar to http://drupal.org/node/380586 . However the Wysiwyg version is different.
Suggested workarounds are http://drupal.org/node/380586#comment-1280848 and http://drupal.org/node/380586#comment-2044722 . I have not yet tried them.
Sun had applied a fix: http://drupal.org/node/380586#comment-1315932 . But the symptom appears to have resurfaced.
Comment #2
tomsherlock commentedI don't believe the first suggested workaround ( http://drupal.org/node/380586#comment-1280848 ) applies any more to yui.inc .
There is no longer a reference to 'README' and there is only one reference to wysiwyg_get_ on line 17 of yui.inc:
Comment #3
tomsherlock commentedThe second solution recommended by Mike_Waters (http://drupal.org/node/380586#comment-2044722) appears to have worked for me. Wysiwyg now recognizes the yui component as being installed.
Comment #4
vegardjo commentedThanks Tom, that last fix did the trick for me too!
Comment #5
twodHmm, we don't need two issues about the same problem and since this was originally working in 2.0 (but got outdated) and it won't be updated, I'm marking this one as a duplicate of #380586: YUI editor: Version detection not working which is for 2.x-dev.
Please continue the conversation there.
Comment #6
kolier commentedPatch for detecting the version of yui.
Comment #7
porcupine73 commentedJust had the same issue here. The patch above worked for me. The unpatched preg_match I think didn't like the r4 on the end of the 2.8.0r4 version number of yui.
Comment #8
perceptum commentedYep - the patch fixed the bad preg_match for me too.
Thanks for that!
Comment #9
cammangels commentedAwesome, worked for me. Thank you!