Problem - no visual editor (blank field)
Dedicated support forum for CloudHost elegant bosting WordPress theme which is perfect for your business and hosting websites. Here you can ask questions and discuss with other theme users.
- GK User
- Mon Nov 10, 2014 11:45 am
Hi!
I installed CloudHost QuickStart theme and everything seems to work but there is no visual editor when I edit a post. That means when I open any post there is only a blank screen instead of editor buttons and menus (see screenshot).
I checked the settings in profile – visual editor is enabled. Also I changed security to 775 for the folder /wp-includes/js/tinymce – no effect. By the way I don’t have any .htaccess configures on the server (there is no such file in every directory). Finally I tried to install Advanced TinyMCE plugin and it doesn’t work too – blank screen.
What else it can be? I think something wrong with the permissions and JS plugin doesn't even start.
I installed CloudHost QuickStart theme and everything seems to work but there is no visual editor when I edit a post. That means when I open any post there is only a blank screen instead of editor buttons and menus (see screenshot).
I checked the settings in profile – visual editor is enabled. Also I changed security to 775 for the folder /wp-includes/js/tinymce – no effect. By the way I don’t have any .htaccess configures on the server (there is no such file in every directory). Finally I tried to install Advanced TinyMCE plugin and it doesn’t work too – blank screen.
What else it can be? I think something wrong with the permissions and JS plugin doesn't even start.
-
- Fresh Boarder
- GK User
- Mon Nov 10, 2014 7:13 pm
Hello,
Please change the CloudHost theme to any default theme like twenty thirteen and the please check the visual editor again. Regarding the htacess file, please create it - it's not included in the theme files.
https://wordpress.org/support/topic/doe ... ccess-file
https://wordpress.org/support/topic/how ... cess-files
May be you have other plugins installed which prevent to display visual editor?
Please change the CloudHost theme to any default theme like twenty thirteen and the please check the visual editor again. Regarding the htacess file, please create it - it's not included in the theme files.
https://wordpress.org/support/topic/doe ... ccess-file
https://wordpress.org/support/topic/how ... cess-files
May be you have other plugins installed which prevent to display visual editor?
-
- Moderator
- GK User
- Tue Nov 11, 2014 2:46 pm
I tried to change the theme to twenty thirteen – no change (no visual editor). Tried to disable all plugins – still no luck.
And tried to create .htaccess file – no access. I can create other files except this one. So wrote to hosting provider for support. Can .htaccess file deny loading js plugins?
And tried to create .htaccess file – no access. I can create other files except this one. So wrote to hosting provider for support. Can .htaccess file deny loading js plugins?
-
- Fresh Boarder
- GK User
- Wed Nov 12, 2014 9:03 am
Yes, htaccess is very powerfull tool:
http://drujoopress.wordpress.com/2013/0 ... -htaccess/
please check also this thread:
https://wordpress.org/support/topic/vis ... e-to-39-40
http://drujoopress.wordpress.com/2013/0 ... -htaccess/
please check also this thread:
https://wordpress.org/support/topic/vis ... e-to-39-40
-
- Moderator
- GK User
- Wed Nov 12, 2014 9:34 am
Thanks! When I open a post for edit I see in the console some errors reffering to tinymce. Maybe this would help?
---Console---
GET http://smstotal.ru/wp-includes/js/tinymce/tinymce.min.js?ver=4104-20140822
post.php?post=1160&action=edit:2052
Resource interpreted as Script but transferred with MIME type text/html: "http://smstotal.ru/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js?ver=4104-20140822".
post.php?post=1160&action=edit:2053
Uncaught ReferenceError: tinymce is not defined
plugin.min.js?ver=4104-20140822:1
(anonymous function)
plugin.min.js?ver=4104-20140822:1
Uncaught ReferenceError: tinymce is not defined
post.php?post=1160&action=edit:2055
(anonymous function)
post.php?post=1160&action=edit:2055
---Console---
GET http://smstotal.ru/wp-includes/js/tinymce/tinymce.min.js?ver=4104-20140822
post.php?post=1160&action=edit:2052
Resource interpreted as Script but transferred with MIME type text/html: "http://smstotal.ru/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js?ver=4104-20140822".
post.php?post=1160&action=edit:2053
Uncaught ReferenceError: tinymce is not defined
plugin.min.js?ver=4104-20140822:1
(anonymous function)
plugin.min.js?ver=4104-20140822:1
Uncaught ReferenceError: tinymce is not defined
post.php?post=1160&action=edit:2055
(anonymous function)
post.php?post=1160&action=edit:2055
-
- Fresh Boarder
- GK User
- Wed Nov 12, 2014 2:28 pm
So you have problems with tinyMCE editor scripts. Did you update WordPress to the latest version? Or please install the wordpress files again (latest version).
-
- Moderator
- GK User
- Thu Nov 13, 2014 8:02 pm
Piotr, I have a version 4.0 since it was bundled with CloudHost QS 4.0. Ok, i'll try to reinstall it.
-
- Fresh Boarder
- GK User
- Thu Nov 13, 2014 9:02 pm
Reinstalled 4.0 version - the same problem. Removed and made a clean install of the 3.7 version - the same again.
-
- Fresh Boarder
- GK User
- Thu Nov 13, 2014 9:11 pm
And finally it seems that I found the source of the problem!
On the page below is discussed that in some cases Apache is configured for PHP to handle *.js files. So when *.js file is loaded it's being processed by PHP and in some cases this will brake TinyMCE to function properly!
http://stackoverflow.com/questions/1106 ... sed-as-php
I tried to disable this behavior and removed PHP handling just for the "/wp-includes/js/tinymce" folder by creating the .htaccess file inside it with the following content:
And it worked! Now I can see visual editor buttons and so on!
Thanks for your time!
On the page below is discussed that in some cases Apache is configured for PHP to handle *.js files. So when *.js file is loaded it's being processed by PHP and in some cases this will brake TinyMCE to function properly!
http://stackoverflow.com/questions/1106 ... sed-as-php
I tried to disable this behavior and removed PHP handling just for the "/wp-includes/js/tinymce" folder by creating the .htaccess file inside it with the following content:
- Code: Select all
<FilesMatch \.js$>
SetHandler none
</FilesMatch>
And it worked! Now I can see visual editor buttons and so on!
Thanks for your time!
-
- Fresh Boarder
9 posts
• Page 1 of 1