Page 1 of 1

blank page when editing content

Posted: Wed Oct 24, 2012 5:13 pm
by tokr
Site was working fine until one day, when in admin I go to edit a page all I get is a blank screen. I also get a blank screen when I click on Global Settings.
It is a new site.
CMSMS version 1.11.2.1

Installed Modules
CGExtensions 1.31
CMSMailer 5.2.1
CMSPrinting 1.0.3
FileManager 1.4.1
JQueryTools 1.1
MenuManager 1.8.4
MicroTiny 1.2.3
ModuleManager 1.5.5
News 2.12.9
Search 1.7.7
ThemeManager 1.1.7
CGContentUtils 1.3.2
Showtime 3.2
Gallery 1.6
CGSmartImage 1.9.4

In the Admin Log I found this:
ERROR DETECTED: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "65c2f15d24ff906091b4b570adfd3573d71047e1" on line 269 "[[css_prefixes property='transform-style' val='preserve-3d']]" unknown tag "css_prefixes"'

When I removed the UDT from the CSS everything was working again.
The thing is that I have been using this UDT for a long time on many sites without issues. And even on this site it was working for a while, until suddenly it causes problems....

The UDT:

Code: Select all

 $value=$params['val'];
 $property=$params['property'];
 
 echo "-moz-$property:$value;\r
 -webkit-$property:$value;\r
 -ms-$property:$value;\r
 -o-$property:$value;\r
 $property:$value;";

Re: blank page when editing content

Posted: Wed Oct 24, 2012 5:18 pm
by calguy1000
Yep, reproduced this.

Re: blank page when editing content

Posted: Wed Oct 24, 2012 5:38 pm
by calguy1000
It's because of the fact that we don't load UDT's in the admin any more... and MicroTiny calls {cms_stylesheet} as an admin request.

it sucks cuz it means that we HAVE to load ALL UDT's for each request (admin request or frontend request).... adds another query to the list.

Fixed for 1.11.3

Re: blank page when editing content

Posted: Sat Nov 03, 2012 12:55 am
by applejack
Micro Tiny is a piece of **** for commercial websites.

Re: blank page when editing content

Posted: Sat Nov 03, 2012 1:22 am
by calguy1000
Sorry to say, but TinyMCE would have the same problem.