Page 2 of 2

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 4:46 pm
by burlington
staartmees wrote:Try this solution
http://www.smarty.net/forums/viewtopic.php?p=83386
Sorry but I don't seem to have the folder 'templates/templates_c' or anything like it.

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 4:54 pm
by burlington
calguy1000 wrote:_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.
Not that I can see, but then I am not an expert. The only UDT that I am using, apart from all those that came with this CMSMS version, is one called 'set_locale' which so far as I recall is part of the MleCMS module. This Tag reads:
<quote>
$gCms = cmsms();
$smarty = $gCms -> GetSmarty();

$op = $smarty->get_template_vars('content_obj');
$current_id = $smarty->get_template_vars('content_id');
$temp = explode('/', $op->mHierarchyPath);
$root_alias = $temp[0];
$temp = explode('.', $op->mIdHierarchy);

if ($root_alias == 'de') {
setlocale(LC_ALL, array('de_DE.UTF-8','de_DE@euro','de_DE','german'));
} else {
setlocale(LC_ALL, array('en_US.UTF-8','en_US','english'));
}
</quote>

Apart from that one, nothing.

Re: Strange NEW error message involving Tiny MCE

Posted: Fri Dec 21, 2012 5:18 pm
by uniqu3
Kuzmany implemented locale stuff since 1.10.5 MleCMS Module version, no need for that UDT at all (i assume you followed Blog on Arvixe where this UDT was used in 1.9.x series) and since CMSMS 1.11 there is also cms_set_language plugin http://docs.cmsmadesimple.org/tags/core ... t_language that does exactly same task.

Please revise your UDT's, plugins or whatever else you are using and make sure these are compatible with 1.11 series.

Re: [SOLVED] Strange NEW error message involving Tiny MCE

Posted: Sat Dec 22, 2012 11:02 am
by burlington
Sorted it!!

Changed the UDT as advised, though it did not solve the problem.

Then I looked in Module Manager to see what needed upgrading and, lo and behold, TinyMCE required an upgrade. Did this and the error messages disappeared!

Many thanks to everyone who helped me with advice and suggestions. Best wishes also for 2013.

Martin