MyBB Community Forums

Full Version: Editor is broken?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: 6c0e4f8d17179d940b77c73dbcf975fb.png?1338658539]

This is what I have when I try to open a new thread. When I open the one of the images here's what I get: http://myforum.net/undefinededitor_theme...vision.gif

It puts undefined instead of jscripts. Very strange.

URL: http://sengineer.net
Test Account: Test1;password
URL? Test account? Very little we can do otherwise.
Have you edited anything in your headerinclude template and have you installed any plugins recently ?
Also check your profile options. I had some issues today with my settings.
Well, the host suspended us because we were constantly getting DDoS'd and when we reinstalled on a new host, it was fine. Thanks for the help anyways guys.
I ran into this problem again.
URL: http://sengineer.net
Test Account: Test1;password
Seems good to me, except for the font color, but that isn't what your thread is about.
I had that problem when I went to my www. address but when I took out the www. and went to http:// address it works...
Please open ./jscripts/editor.js and make the following changes:

Find:
stylesheet.setAttribute('href', this.baseURL +
'undefinededitor_themes/'+theme+'/stylesheet.css');

Replace:
stylesheet.setAttribute('href', this.baseURL + 'editor_themes/'+theme+'/stylesheet.css');

Find:
this.themePath = this.baseURL + 'undefinededitor_themes/'+theme;

Replace:
this.themePath = this.baseURL + 'editor_themes/'+theme;

You may need to clear your cache.
having the same issue after applying a few simple tweaks from yaldarams site. here is the link - http://forgottencoders.co.uk/newthread.php?fid=14 - user : test - pass: pass123

oh and btw the above code doesnt work. the code that is in the file is the correct code but the sourcecode is not so i am guessing something is failing and then erroring with undefinededitor

[Image: U2Cks.png]

on further inspection it seems its a javascript conflict please help Smile

<link type="text/css" rel="stylesheet" href="{$mybb->settings['bburl']}/styles/body.css" />
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/jquery.js"></script>
<script type="text/javascript">
     jQuery.noConflict();
 </script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/effects.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/login.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/jquery.tabs.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/colorpicker.js"></script>

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1600"></script>	

<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}

ok so now none of my css is even working lol

Ok so somehow i removed the stylesheets variable Smile everything working fine for me again now.