View Full Version : Text editor not working
checkoutprabhat
07-13-2011, 11:27 AM
Hi,
I upgraded from version 4.1.3 to 4.1.4 recently and now my text editor is not working.
Anyone who can provide any help on that..
What do you mean by "not working"? Is it showing up at all? Are the buttons visible? Does it all look OK but you can't type in to it?
checkoutprabhat
07-13-2011, 01:10 PM
No, it is not showing up at all..
The only thing I can think of is to make sure you've uploaded all the new files, overwriting the old ones. (Someone else might have another idea.)
checkoutprabhat
07-13-2011, 01:47 PM
I do have 5 out-of-date templates which needs to be updated.. But they are different templates from the one for which I am having problem about the editor.
Do you think that is the reason ?
Oh, right...what Lynne always says (how could I forget)...
Do you use custom styles? If so, try
Create a new style with no parent:
?Styles & Templates > Style Manager > Add New Style
?Parent Style: No Parent Style
?Title: Default vBulletin
?Allow User Selection: Yes
?Save
and see if you still have the problem. Also, try disabling plugins
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
checkoutprabhat
07-13-2011, 02:02 PM
I tried both.. but nothing worked...
Do you have any other idea ?
I forgot to add one thing....
Normally the editor doesn't show up. But sometimes(if you are lucky enough) it is there...I don't understand why.
I thought this might be useful..
Hmm...I don't know, I think that actually makes it more difficult to figure out. Maybe check for javascript errors? In IE there's a little icon in the lower left corner if you have errors on the page. In FF I think you can open the error console and see (although that may be an addon, I can't remember).
checkoutprabhat
07-14-2011, 05:07 AM
I found out something...
Whenever I open the page for the first time it doesn't show up..But after I submit the form blank(since it doesn't get validated) the page reloads pointing at the blank fields and this time the editor is there.
I can give you the link to see it ,if you want to, but you will need a Login and password.
http://www.1stdegreefreebies.com/forums/trade.php?do=add_trade
And the javascript error it shows in the error console.......
Error: n.wrap_x_tags is null
Source File: http://www.1stdegreefreebies.com/forums/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=414
Line: 136
--------------- Added 1310708147 at 1310708147 ---------------
Nobody is having any answer..
checkoutprabhat
07-15-2011, 11:28 AM
I am still not able to sort out the problem.....
Anybody with any suggestion..?
...the javascript error it shows in the error console.......
Error: n.wrap_x_tags is null
Source File: http://www.1stdegreefreebies.com/forums/clientscript/ckeditor/ckeditor.js?t=A7HG4HT&v=414
Line: 136
That's strange. If I comment out where that phrase is set in ckeditor.php, I'm missing the editor, so it looks like that error is related to the problem. However, when I press "Submit" I always just get the same thing again. I could understand if that phrase was missing, but I don't understand how it would only be missing sometimes.
When you get the page with the missing editor, do "View Page Source" (or whatever for the browser you're using) and search for wrap_x_tags. It should be there in the middle of a big bleck of included js code that starts with
<script type="text/javascript">//<![CDATA[
vB_Editor['vB_Editor_001'] = new vB_Text_Editor('vB_Editor_001', { "customConfig":
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.