ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pb with comments_opened_notification_title not resolved in all case

February 14, 2011 12:21pm

Subscribe [1]
  • #1 / Feb 14, 2011 12:21pm

    Matthieu Fauveau

    106 posts

    This question may be related to a resolved thread.

    I’ve just upgrade from 1.6.4 to 2.1.3 without problems.

    But after install the MSM, i had the same problem (Call to undefined function comments_opened_notification_title() )

    And this cause the super admin could not log in, so i had to make a restore, and comment the line

    $Q[] = “insert into exp_specialty_templates(site_id, template_name, data_title, template_data) values (’”.$this->db->escape_str($site_id).”’, ‘comments_opened_notification’, ‘“.addslashes(trim(comments_opened_notification_title())).”’, ‘“.addslashes(comments_opened_notification()).”’)”;

     

    before to create a new site with MSM.

  • #2 / Feb 14, 2011 3:42pm

    Ingmar

    29245 posts

    You did download a fresh copy of the MSM as well, of course? Are you running any extensions?

  • #3 / Feb 15, 2011 5:53am

    Matthieu Fauveau

    106 posts

    Yes I’ve just bought and download a fresh copy of MSM (EE_MSM_2.0.zip)

    I finally found problem and the solution, it come from language pack (French) ((yes i forget to tell it)).

    So the section :

    //—————————————————————————-
    //  Comments Opened Notification
    //—————————————————————————-

    did not exist in the email_data.php in the french directory, and it miss function comments_opened_notification_title() and function comments_opened_notification().

    I use EE 2.1.3 with the french language pack 2.1, where some functions are missing (perhaps due to version).

    I see than all functions begin by a “if ( ! function_exists(” , so i think if a language pack is used, the original english must be load after to avoid missing functions, no ?.

    In my case (the use of MSM) did crash the entire site, but i think this is an isolated problem and a little bad luck ^^

    Hope this thread could help 😉

  • #4 / Feb 15, 2011 3:35pm

    Ingmar

    29245 posts

    Ah, an issue with the Language pack! Thanks for letting us know. Please don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases