While it was in the “true” mode did you see any errors? That is what is supposed to happen.
Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue (theme functions can interfere like plugins).
Thread Starter
sooren
(@sooren)
Hi there!
First of all thanks for your efforts in solving this problem.
I have tried to deactivate all of my plugins before and it didn’t fix the problem.
And I am not a very expert user, If you let me know how can I check if there is any error I inform you about it. (Better to tell me what I need to do in Chrome)
I’m using a custom theme where should I switch then?
(I have some backups from my website, If there is an specific file/files which you recommend to replace I can do it by Filezila , so far I tried to replace the whole directories of wp-admin & wp-include but it didn’t make any changes)
Errors would show up in the first lines of your site so seeing nothing is good.
I’m using a custom theme where should I switch then?
Yes. Go to dashboard, appearance, themes and switch to twenty seventeen.
Thread Starter
sooren
(@sooren)
No I don’t see any errors then.
what about leave that script with the true value in wp-config.php. because it works now well, If I just leave it like this, is there any problem with it!?
There is no problem leaving it on as a workaround. It loads a lot of files instead of one file (many people dislike requesting many files). I don’t know what it loads but if it works, great!
Thread Starter
sooren
(@sooren)
Hi again,
I had some more searches in this regard and noticed that let this script be active will cause negative feedback for SEO of the website and makes it slow so I tried to follow the last recommendation of yours and I switched my website Theme to a default one. I did it but the problem was still there and I’m not still able to switch between Text mode/Visual mode.
I read some where that:
“SCRIPT_DEBUG is a related constant that will force WordPress to use the “dev” versions of core CSS and JavaScript files rather than the minified versions that are normally loaded. This is useful when you are testing modifications to any built-in .js or .css files. Default is false.”
So can you tell me now why when I set it to “true”, it solves the problem!? Can I replace some core files to fix this issue?
or any other suggestion?
Did you follow this, https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors; after turning debug off or on? You need to to check for JavaScript errors.
Thread Starter
sooren
(@sooren)
Yes I did it before and Now for the several times I did it again. after turning debug on then No errors shown on the browser console! and after after turning debug off , there is noting shown on it “just an empty window appears”. (By using Chrome)
I’m really curious about the reason of this issue and why no one can help to solve it!
When you are at the blank page and look at source is there any code? If not download a fresh copy of WordPress. Delete the wp-admin and wp-includes and replace with new directories. Do not touch the wp-content directory.
Thread Starter
sooren
(@sooren)
No there is no code in that blank page and I have already downloaded a fresh copy of WordPress and replaced those directories but didn’t solve the problem! I also tried to re-install WordPress from admin Panel and again wasn’t useful 🙁
-
This reply was modified 7 years, 1 month ago by sooren.
Out of ideas here. It has to be something local. Ill ask some others tomorrow.
Thread Starter
sooren
(@sooren)
Thank you for your contribution to solve this problem. Approximately I spend 2 hours per day for finding the solution and I hope with your help finally I find the way of fixing it.
As I noticed some other people had same issue and none of them could find the exact solution of fixing it so far! So If you could find the solution it helps the others as well.