Hi all,
the problems seems to be known already [1,2], but no solution so far..
My configuration: SS 2.2.1, PHP 5.2.5, eAccelerator v0.9.5.2, Apache 2, Mysql 5.0.45
As soon as I add translation-support for my custom-fields by adding the following to my custom (or some existing) class
static $extensions = array(
"Translatable('MyCustomField')"
);
SS crashes with a fatal error. The error I'm getting is slightly different dependig if I'm on the site or in the admin.
I figured out that SS tries to call one (user site) or several non existent methods in the repective class.
On the user site Children is called.
On the admin site the methods Children, markUnexpanded, markExpanded, AllChildrenIncludingDeleted, numChildren and isMarked are called.
When I remove the $extensions-array, run /db/build and flush the cache SS works again..
Could someone of the core team have a look at this issue? No way of building a multilingual-site with custom attributes right now :-(
Thanks,
Patrick
[1] http://www.silverstripe.com/site-builders-forum/flat/21167
[2] http://www.silverstripe.com/site-builders-forum/flat/25119