Page 1 of 1

FCKEditor 1.0.5 vs. 1.0.3 vs. 1.0.2 and updating CMSMS

Posted: Tue Jun 26, 2007 9:04 pm
by Stoob
Hi, let me share a personal story that may be helpful to others.

I recently updated my site from CMSMS 1.0.4 to 1.0.8 for security purposes.

There were some minor glitches, easily fixed, overall it was fairly smooth but far from turnkey.

However, I ran into some serious problems with the file browser in FCKeditorX which no longer supports full file browsing at level 1.0.5.  My client likes to upload a lot of PDF files and put them in different directories within the /uploads dir and this is acceptable behavior in my book.  FCK 1.0.5 (and 1.0.3 too!) seems to disallow this rigidly by restricting file browsing to "Files", "Images" and "Flash" directories.  I tried getting in deep with the FCK config files and reading up on the web and found this http://sourceforge.net/tracker/index.ph ... 43655  Any solution was a total hack and even my attempts at using these hack solutions were a failure.  FYI, I'm not an idiot and a programmer with over a decade of experience.  This is total horse poop.

So, I had to uninstall the 1.0.5. FCK module  that comes bundled with 1.0.8 CMSMS and replace it with the 1.0.2 FCK Module.  This solved the file browsing problem EXCEPT THEN I get this bizarre Javascript popup error "Unknown something: "UniversalKey".  No idea why this previously unseen error decided to show itself now.

FCKeditorXcfg.js.php is the file to fix that error.  Simply remove "UniversalKey" from the array.  If you must, uninstall and reinstall the module after fixing this file.

Always back up both the database AND the root before an upgrade, it saved my a$$.

Re: FCKEditor 1.0.5 vs. 1.0.3 vs. 1.0.2 and updating CMSMS

Posted: Thu Jun 28, 2007 12:40 pm
by KO
Thanks for this tip. I installed CMSms 1.08 for the first time and had problems inserting just single image to global content block. It always wanted to add around it which I tried to fix by altering fckconfig.js file but after that I had problems with loading content of Global content block. I lost all data inside that block and no image or code was visible when opening it.

After uninstalling FCKeditorX 1.05 and installing 1.03 version and removing "UniversalKey" from the array things seems to work as normal.

TCKEditor tip! ;)

If editing table with FCKEditorX you click on page "Options" and back to "Main" you get this add/remove cells/columns arrows and circle for editing your table. For some reason this does not happen first time you enter the page. So visit "Option" and back and hit any of your cells will bring this for you.

Thanks again,

K