Hi,
This is my first time working with the fckeditor and I'm having trouble getting the iframe content (editor) to display. When the page loads the frameborder shows up for just a second, then disappears. In IE7 I am getting these four javascript errors:
#1
Line: 157
Error: 'FCKConfig.CustomConfigurationsPath.length' is null or not an object
Code on line 157 --> if ( FCKConfig.CustomConfigurationsPath.length > 0 )
#2
Line: 35
Error: 'PluginsPath' is null or not an object
Code on line 35 ('try' is on line 35) --> if ( document.location.protocol == 'file:' ) {
try
#3
Line 107: 'FCKConfig.ContextMenu.length' is null or not an object
Code on line 107 --> var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ;
#4
Line 101: 'undefined' is null or not an object
Code on line 101 --> function LoadScript( url )
I am a newbie when it comes to javascript and php, so any help would be awesome! I posted last night with some more info which might help...the title was something like "iframe not being displayed...please help!", it'll be from "bthor10". Thanks!!!
This is my first time working with the fckeditor and I'm having trouble getting the iframe content (editor) to display. When the page loads the frameborder shows up for just a second, then disappears. In IE7 I am getting these four javascript errors:
#1
Line: 157
Error: 'FCKConfig.CustomConfigurationsPath.length' is null or not an object
Code on line 157 --> if ( FCKConfig.CustomConfigurationsPath.length > 0 )
#2
Line: 35
Error: 'PluginsPath' is null or not an object
Code on line 35 ('try' is on line 35) --> if ( document.location.protocol == 'file:' ) {
try
#3
Line 107: 'FCKConfig.ContextMenu.length' is null or not an object
Code on line 107 --> var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ;
#4
Line 101: 'undefined' is null or not an object
Code on line 101 --> function LoadScript( url )
I am a newbie when it comes to javascript and php, so any help would be awesome! I posted last night with some more info which might help...the title was something like "iframe not being displayed...please help!", it'll be from "bthor10". Thanks!!!
Re: iframe/editor not being displayed...getting javascript error
I've just been getting the same thing. I tracked it down to a sytnax error in the fckconfig.js file. I had a comma on the last item in a list. I guess IE was failing to parse the file but didn't tell me.
Hope that helps
Aidan
Re: iframe/editor not being displayed...getting javascript error
Thanks,
Mike