Page 1 of 2

[SOLVED] Strange NEW error message involving Tiny MCE

Posted: Thu Nov 29, 2012 11:42 am
by burlington
Using CMSMS 1.11.2.1. Tinymce- 2.9.6

No problems until yesterday. Tiny MCE editor works fine as an editor BUT on the admin log I get repeated messages:
<quote>
ERROR DETECTED: Uncaught exception 'SmartyException' with message 'Call of unknown method '_compile_source'.' in /home/***/public_html/lib/smarty/sysplugins/smarty_internal_templatebase.php:806 Stack trace: #0 /home/***/public_html/modules/TinyM
</quote>

Any ideas folks

Thanks

Martin

Re: Strange NEW error message involving Tiny MCE

Posted: Thu Nov 29, 2012 3:43 pm
by burlington
I have just uninstalled and reinstalled Tiny. Makes no difference. Every time I go to a page to edit it, I get about 8 instances of this error message when I check back on the admin log.

Re: Strange NEW error message involving Tiny MCE

Posted: Thu Nov 29, 2012 3:49 pm
by calguy1000
Double check your template for minor errors.

Re: Strange NEW error message involving Tiny MCE

Posted: Thu Nov 29, 2012 4:10 pm
by burlington
Calguy

If it is the page template, I can't see anything incorrect. If it is this template: /lib/smarty/sysplugins/smarty_internal_templatebase.php I really don't know what I am looking for. This latter template does not seem to have been altered since original installation, according to FileManager in CPanel.

The website in question is bilingual and uses MLEcms and I followed the instructions. There seems to be nothing wrong with the operation of Tiny or of the website itself but the vast number of error messages thrown up on the CMS admin. log and on the Tiny error log are disconcerting.

Martin

Re: Strange NEW error message involving Tiny MCE

Posted: Thu Nov 29, 2012 5:15 pm
by calguy1000
Are you using a UDT or other types of smarty stuff inside your stylesheets?

If so.. you may try an upgrade to 1.11.3

Re: Strange NEW error message involving Tiny MCE

Posted: Thu Nov 29, 2012 5:47 pm
by burlington
No, nothing in the Stylesheets.
There is Smarty stuff and MleCMS blocks inside the template e.g for the language switch etc but these post-date the first instance I can find of the error messages.
I just wonder if I should upgrade anyway and I would appreciate your advice.
Martin

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 12:05 pm
by burlington
Surely someone must have an answer to this! Either on this Forum or on the Tiny MCE Forum at http://www.tinymce.com/forum/viewtopic. ... 71#p105071

I surely can't be the only person to encounter this problem.

Thanks Martin

ps apologies for the cross-fertilisation of postings!

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 1:31 pm
by staartmees

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 1:53 pm
by burlington
I am not alone!

Many thanks.

Martin

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 1:56 pm
by staartmees
Smarty3 is very strict, so possible you have a problem with an incorrect Smartycode or UDT.

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 3:13 pm
by burlington
The problem only seems to show when an editor that contains the Tiny editing facility is loaded eg on pages, News etc. I suppose this is obvious but as it seems to happen on all pages and whether or not any editing has been done, it may be that there is an inherent fault somewhere. I would rather stick with Tiny if I can but if this persists then I may have to change editors.
Certainly it does not appear to affect any editing function; just clutters up the admin log. 32 pages the last time I looked!
Martin

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 3:23 pm
by staartmees
anything special in your adminlog?

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 3:44 pm
by burlington
No, just the error message I detailed at the start of this Topic. Admin log is clear of error messages except when the Editor is loaded. Nothing happens if I go to Image or File manager, Gallery or indeed anything else.

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 4:04 pm
by calguy1000
_compile_source was an internal method of smarty2 that was used to compile random templates represented as strings.

Make sure none of your UDT's or plugins call it.

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 4:28 pm
by staartmees