Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Thu May 08, 2008 5:18 am Reply with quote

Encyclopedia also works. Preferences "footer" does not.
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Thu May 08, 2008 5:40 am Reply with quote

dad7732, PM sent with link to nukeWYSIWYG 2.6 (hasn't been released yet). There are some changes to mainfile.php, as well as a new directory (so you won't need to remove the current includes/FCKeditor as long as you are on Linux).

After loading, you'll need to clear your browser cache since the css and js are cached.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu May 08, 2008 5:54 am Reply with quote

kguske - not sure if this might be relevant or not but.....
When using Submit News as a user in V2.6 I do see this error in CSS
Error parsing value for property 'height' in
thesite.com/includes/fckeditor/editor/fckeditor.html?InstanceName="story&Toolbar=NukeUser

Here is the source
Code:


// Save a reference to the default domain.
var FCK_ORIGINAL_DOMAIN ;

// Automatically detect the correct document.domain (#123).
(function()
{
   var d = FCK_ORIGINAL_DOMAIN = document.domain ;

   while ( true )
   {
      // Test if we can access a parent property.
      try
      {
         var test = window.parent.document.domain ;
         break ;
      }
      catch( e ) {}

      // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
      d = d.replace( /.*?(?:\.|$)/, '' ) ;

      if ( d.length == 0 )
         break ;      // It was not able to detect the domain.

      try
      {
         document.domain = d ;
      }
      catch (e)
      {
         break ;
      }
   }
})() ;

I'm wondering if 'height' is being thrown out dannys case for the textarea.
 
View user's profile Send private message Send e-mail
kguske







PostPosted: Thu May 08, 2008 6:12 am Reply with quote

He isn't using 2.6 - yet. Did you mean 2.3.2?
 
dad7732







PostPosted: Thu May 08, 2008 6:48 am Reply with quote

One of the errors I see in the error console relates to "height" and in the css itself on the error line is _height. Above that line is "height".
 
dad7732







PostPosted: Thu May 08, 2008 6:49 am Reply with quote

Quote:
as long as you are on Linux

Actually on FreeBSD if that makes any difference, don't think so.
 
kguske







PostPosted: Thu May 08, 2008 3:44 pm Reply with quote

The more I look, the more I think FreeBSD is the issue. FCKeditor 2.6 has the same issue and more...
 
dad7732







PostPosted: Thu May 08, 2008 4:07 pm Reply with quote

Well, can't do anything about that one but I can still use the editor using IE mode in Firefox with the IE tab extension.

Cheers
 
kguske







PostPosted: Thu May 08, 2008 4:40 pm Reply with quote

I'm narrowing it down. There is something about how the editor is initialized - probably a path issue...
 
kguske







PostPosted: Thu May 08, 2008 5:27 pm Reply with quote

Found it... what a PAIN! It WAS a path issue, but not what I expected. Not sure why it isn't working, but I know how to fix it.

I had to move the directory from /includes/fckeditor to /fckeditor (and, of course, modify mainfile and /fckeditor/editor/filemanager/connectors/php/config.php accordingly). It now has 2.6, too.
 
dad7732







PostPosted: Thu May 08, 2008 5:47 pm Reply with quote

What a learning experience !!! Hope this will help others as well ....

Also, FWIW, I was checking the error log and noticed that my Apache Mod_Spel was correcting /boxover/ to /boxover1/ .. significant? dunno, you'd know that.

Thanks, Jay
 
dad7732







PostPosted: Thu May 08, 2008 5:55 pm Reply with quote

Just checked and it works!! Couple of questions:

1. How to get this fix to other domains

2. Was this unique to just my installation or what

3. Are you going to package an additional installer for this

I can't even begin to express my gratitude, just happy to be able to oblige with access to a site where you could do all the testing at your leisure. I'll leave it there as-is and you're welcomed to use it for whatever purpose you deem necessary.

Cheers, Jay
 
kguske







PostPosted: Thu May 08, 2008 7:49 pm Reply with quote

I renamed boxover.js to eliminate conflicts. It's back now. I can create a download for installing it on other domains, and that might end up being the released version.

I'm not exactly sure why it doesn't work on FreeBSD (neither FF nor IE), but does on Linux and Windows (though we've seen similar issues on Windows, and this might explain it). I'll do some checking to see if we should make this the standard installation.

Thanks for the offer to use this as a test site - I'll probably take you up on that if I find an alternative that lets us keep the directory under includes. I'll keep you posted of any future access.
 
dad7732







PostPosted: Thu May 08, 2008 9:06 pm Reply with quote

Quote:
neither FF nor IE

It does work on IE and also any FF sourced application with the IE Tab extension on XP-Pro here on more than one machine.

The installer sounds like a plan. Can this be made into a standalone installer as well as the standard included in the RN version packages? I would imagine so as long as it's cross-platform.

Oh, no problem with maintaining the test site, glad to be of service. Whatever it takes for the rest of the community.

Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©