Page 1 of 2

[solved] TinyMCE not working

Posted: Mon Jun 09, 2014 9:50 am
by gocreative
We have a site where TinyMCE doesn't load; all textareas in the site, including in modules, show plain text only.

The really strange thing is that we backed up and duplicated the site just yesterday, and everything was working fine (including in the duplicate). Both sites are hosted on the same server.

As of today, without making any changes to the original site, it seemed to suddenly stop working. We've reinstalled TinyMCE multiple times, changed various settings in the module and CMSMS, tested in multiple browsers, and so on.

We also changed the TinyMCE option to use a static file. That didn't fix the problem, but the WYSIWYG functionality worked when unchecking the 'Use WYSIWYG editor' option (i.e. the checkbox worked in reverse to how it should).

We have cleared the cache via admin as well as FTP.

Lastly, we have restored our backup but the problem remains, which makes it seem that the error is specific to this site somehow.

Any suggestions would be greatly appreciated! We are also happy to pay for support.

Re: TinyMCE not working

Posted: Mon Jun 09, 2014 10:05 am
by Jo Morg
Could you please post system info?

Re: TinyMCE not working

Posted: Mon Jun 09, 2014 11:27 am
by gocreative
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.4
MenuManager: 1.8.6
ModuleManager: 1.5.5
AceEditor: 1.0
TinyMCE: 2.9.12
GBFilePicker: 1.3.3
Captcha: 0.4.6
ListIt2: 1.4.1
ListIt2XDefs: 1.2
CustomGS: 2.0
CGExtensions: 1.38.11
CGSmartImage: 1.16.2
ECB: 1.5
FormBuilder: 0.7.4
Gallery: 1.6.1
JQueryTools: 1.2.6
ListIt2ContentBlocks: 1.4.1
SiteMapMadeSimple: 1.2.8
Search: 1.7.10
ListIt2ImageBanner: 1.4.1
ErrorLogger: 1.1
ListIt2Blog: 1.4.1
ListIt2Testimonials: 1.4.1
Statistics: 1.1.3
CMSPrinting: 1.0.5
ThemeManager: 1.1.8
ListIt2FAQ: 1.4.1
CGFeedMaker: 1.0.20
OwnersManual: 1.0.3
CGCalendar: 1.14.1
CGSimpleSmarty: 1.7.3
FrontEndUsers: 1.23.4
ServiceDesk: 0.8
SelfRegistration: 1.8.2
ListIt2Carousel: 1.4.1
ListIt2DoubleList: 1.0.3
ListIt2XLink: 1.01
ListIt2XGallery: 0.1
Revisions: 1.0-Beta2
ListIt2MegaUpload: 0.3
ListIt2Projects: 1.4.1

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 128000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 8192
memory_limit: 64M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 128M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.1.69
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

Re: TinyMCE not working

Posted: Mon Jun 09, 2014 11:34 am
by Jo Morg
gocreative wrote:session_save_path: No check because open basedir active
Maybe I'm wrong but this may be related: open basedir active.

Re: TinyMCE not working

Posted: Mon Jun 09, 2014 9:20 pm
by gocreative
No, the setting is the same on both sites and the other one works. I also tried disabling that just now, with no change.

Another weird thing: It all works fine on my Android phone in Chrome. But not in any browser on a PC.

Re: TinyMCE not working

Posted: Mon Jun 09, 2014 11:32 pm
by applejack
I've had this many times with TinyMCE and then it has started working as it should. Why I'm not sure could be browser cache.

Re: TinyMCE not working

Posted: Tue Jun 10, 2014 12:51 am
by gocreative
Hey Peter. You could be right, since it works on mobile. I'll play around with the browser cache and see what I can uncover. Cheers for the tip.

Re: TinyMCE not working

Posted: Tue Jun 10, 2014 7:33 am
by gocreative
It was indeed a browser cache issue, though changing any TinyMCE setting presents the problem again. Hopefully this post helps anyone else having the issue because I couldn't find anything else online that worked.

Thanks again for the replies!

Re: [solved] TinyMCE not working

Posted: Tue Jul 15, 2014 5:08 pm
by KitchM
Please note that it cannot be a browser cache issue if the page is reloaded. This problem still exists for me.

Re: [solved] TinyMCE not working

Posted: Tue Jul 15, 2014 11:03 pm
by gocreative
It was a browser cache issue in the short term, but eventually the problem just went away and hasn't returned.

Re: [solved] TinyMCE not working

Posted: Tue Jul 15, 2014 11:26 pm
by KitchM
Thanks, gocreative.

That's sort of like the inverse of my experience, where the problem just came out of nowhere, but hasn't gone away.

You are lucky.

Re: [solved] TinyMCE not working

Posted: Tue Jul 15, 2014 11:37 pm
by gocreative
It came out of nowhere for me, too. I think it fixed itself within a few days or a week, so hopefully you have the same luck!

Re: [solved] TinyMCE not working

Posted: Tue Jul 15, 2014 11:42 pm
by KitchM
I won't hold my breath in anticipation. ;)

Thanks for the response. I appreciate it.

Re: [solved] TinyMCE not working

Posted: Fri Jul 18, 2014 12:59 pm
by applejack
When you are editing a page do a super reload i.e. shift + refresh.

Re: [solved] TinyMCE not working

Posted: Fri Jul 18, 2014 2:10 pm
by KitchM
Thanks, but that didn't work either.