fresh 3.6.1 install: Visual editor, add media not working, white text
-
Hi there!
Read several posts here and on other sites, tried this and that, but i have a constant problem:
– the visual editor / tinymce is not working – no toolbar is shown. once clicked on the “text” tab, “visual” is clickable, but it does not look like beeing the active tab afterwards.
– the text editor shows white text – with some playing around (see below) this problem goes away
– the add media button can be clicked, but nothing happens. (with media added to the library before!)
what did i try to fix this so far:
– re downloaded, re-installed wordpress
– fresh install on a separate subdomain, fresh database,…
– overwrote wp-admin & wp-includes dir in current install
– added concatenate-scripts line in wp-config
– cleared cookies/browser cache several times
– switched to 2012 theme
– changed all permissions to 777
– called /wp-includes/js/tinymce/wp-tinymce.php directly, gives no php errors, file starts with “(function(e){var a=”…, ends with …”})(tinymce);”
– tried on current versions of chrome, opera and even msie
– changed browser settings to accept all cookies, allow popups,… …so currently i have no ideas. except that i find many other threads like this when searching for “visual editor broken”, “white text”,… with mostly the same solutions which did not help in my case….
Any Ideas…?
Opera debugging, filtered for javascript errors brings up some stuff – not a js-dev though and googling in this direction only brings up non-wordpress related errors.
[14.09.2013 11:07:27] JavaScript - https://#siteaddress#/wp-admin/post.php?post=1&action=edit Inline script thread Uncaught exception: TypeError: Cannot convert 'tinymce.html' to object Error thrown at line 388, column 1 in <anonymous function>(tinymce) in https://#siteaddress#/wp-includes/js/tinymce/wp-tinymce-schema.js?ver=358-25336: tinymce.html.Schema = function(settings) { called from line 13, column 0 in https://#siteaddress#/wp-includes/js/tinymce/wp-tinymce-schema.js?ver=358-25336: (function(tinymce) { [14.09.2013 11:07:27] JavaScript - https://#siteaddress#/wp-admin/post.php?post=1&action=edit Inline script thread Uncaught exception: TypeError: Cannot convert 'tinymce.baseURI' to object Error thrown at line 1148, column 4 in <anonymous function>() in https://#siteaddress#/wp-admin/post.php?post=1&action=edit: DOM.files[tinymce.baseURI.getURI() + '/themes/advanced/skins/wp_theme/ui.css'] = true; called from line 1142, column 2 in https://#siteaddress#/wp-admin/post.php?post=1&action=edit: (function(){ [14.09.2013 11:07:27] JavaScript - https://#siteaddress#/wp-admin/post.php?post=1&action=edit Event thread: DOMContentLoaded Uncaught exception: TypeError: Cannot convert 'tinymce.onAddEditor' to object Error thrown at line 87, column 22513 in <anonymous function>(f) in https://#siteaddress#/wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,schedule,wp-ajax-response,autosave,jquery-color,wp-lists,quicktags,jquery-query,admin-comments,sugg&load%5B%5D=est,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,postbox,heartbeat,post,thickbox,underscore,shortcode,back&load%5B%5D=bone,wp-util,wp-backbone,media-models,wp-plupload,media-views,media-editor,wp-auth-check,word-count,editor,jquery-ui-resizable,j&load%5B%5D=query-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,wpdialogs,wplink,wpdialogs-popup,wp-fullscreen,media-upl&load%5B%5D=oad&ver=3.6.1: tinymce.onAddEditor.add(function(i,j){if(j.id!="content"||tinymce.isIOS5){return}function k(){var l,m=document.getElementById("content_ifr"),o=m?parseInt(m.style.height,10):0,n=f("#content_tbl tr.mceFirst").height();if(!o||!n){return false}l=o+n+21;l-=33;return l}j.onLoadContent.add(function(m,q){var r,n=document.getElementById("content"),l=n?parseInt(n.style.height,10):0,p=f("#content_tbl tr.mceFirst").height()||33;if(!l||l<50||l>5000){l=360}if(getUserSetting("ed_size")>5000){setUserSetting("ed_size",360)}r=(l-p)+12;if(r>50&&r<5000){f("#content_tbl").css("height","");f("#content_ifr").css("height",r+"px")}});j.onSaveContent.add(function(m,n){var l=k();if(!l||l<50||l>5000){return}f("textarea#content").css("height",l+"px")});j.onPostRender.add(function(){f("#content_resize").on("mousedown.wp-mce-resize",function(l){f(document).on("mouseup.wp-mce-resize",function(n){var m;f(document).off("mouseup.wp-mce-resize");m=k();if(m&&m>50&&m<5000){setUserSetting("ed_size",m)}})})})}); called via Function.prototype.apply() from line 3, column 51981 in <anonymous function: x.Callbacks>(t) in https://#siteaddress#/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-flash,plupload-silverlight,plupload-html4,json2&ver=3.6.1: if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse) called from line 3, column 53536 in <anonymous function: fireWith>(e, t) in https://#siteaddress#/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-flash,plupload-silverlight,plupload-html4,json2&ver=3.6.1: return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this called from line 3, column 6439 in <anonymous function: ready>(e) in https://#siteaddress#/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-flash,plupload-silverlight,plupload-html4,json2&ver=3.6.1: x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready")) called from line 3, column 1274 in <anonymous function>(e) in https://#siteaddress#/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,plupload-html5,plupload-flash,plupload-silverlight,plupload-html4,json2&ver=3.6.1: (a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())
Thanks for any ideas….
Brgds, Martin.
- The topic ‘fresh 3.6.1 install: Visual editor, add media not working, white text’ is closed to new replies.