Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » 'Error Undefined', Cannot delete page in CMS in 2nd language

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1292 Views
  • AlexBeka
    Avatar
    Community Member
    21 Posts

    'Error Undefined', Cannot delete page in CMS in 2nd language Link to this post

    Hi,

    when i want to delete a page i get an "error undefined" message in the cms, see attached screenshot; this just happens if i want to delete a page in the "English (United Kingdom") locale and not in German?
    this error message says nothing to me, if there would be a strack trace or something else i could search on my own for the bug but i don´t know where to begin; shouldn´t be there a better error message when running it in dev-mode?

    my Enviroment:
    SS-Version: 2.3.3
    WAMP Server: 2.0

    i just added theese lines to mysite/_config.php:

    //making silverstripe multilinugal
    Object::add_extension('SiteTree', 'Translatable');
    //set default language
    Translatable::set_default_lang('de_AT');

    i also added the following line to mysite/code/page.php but i don´t know if this is necessary at all?:

       static $extensions = array(
          "Translatable"
       );

    i hope someone can help me, for me it looks like a bug in 2.3.3

    Regards,
    Alex

    Attached Files
  • AlexBeka
    Avatar
    Community Member
    21 Posts

    Re: 'Error Undefined', Cannot delete page in CMS in 2nd language Link to this post

    i get this error only with the batch actions in the cms and not if i press the button "Unpublish" or "Delete from draft site";

    shall i enter a new bug at http://open.silverstripe.org/ or what is the normal procedure in such cases?

  • AlexBeka
    Avatar
    Community Member
    21 Posts

    Re: 'Error Undefined', Cannot delete page in CMS in 2nd language Link to this post

    there is already a ticket open 4442 where this problem is described by heidgert;

    1292 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.