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.

Call to undefined function comments_opened_notification_title() and Can't Login MSM

February 26, 2011 1:07am

Subscribe [3]
  • #1 / Feb 26, 2011 1:07am

    bsrweb

    24 posts

    This question may be related to a resolved thread.

    Tried creating a new site using MSM — my first one — and got that error message. Despite that, EE apparently creates an entry in the exp_sites table with the new site’s name. However, I now can’t log into the control panel.

    I’ve read some other threads on not being able to login and I’ve tried deleting everything in exp_security_hashes and exp_sessions; cleared out my cookies and I keep getting an Invalid username or password error message.

    Running:
    EE 2.1.3
    MSM 2.0

    I’m also using a masked control panel for the default site.

    Any advice to get this all working?

  • #2 / Feb 27, 2011 5:24pm

    Greg Salt

    3988 posts

    Hi brsweb,

    Was this installation upgraded from an earlier version? If so, which one? Did the install (before MSM) work correctly in all respects? Are you able to login via the system folder instead of your masked panel or is your system folder above webroot?

    Cheers

    Greg

  • #3 / Feb 28, 2011 1:50pm

    bsrweb

    24 posts

    Hi, thanks for the response.

    No, this is not an upgrade, it’s a working production EE website and this is the first time I’ve tried installing MSM and the CP is above the webroot. I’ll try backing out the install of MSM and try again.

  • #4 / Feb 28, 2011 5:07pm

    bsrweb

    24 posts

    Not sure if this matters but thought I’d mention that the site is also using a multi-lingual technique: index.php files in language folders that point to the system folder.

  • #5 / Feb 28, 2011 6:15pm

    bsrweb

    24 posts

    Another update… I went back to the thread that’s linked in the first post and commented-out that line reference in the thread:

    $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())."')";

    ...in system/expressionengine/controllers/cp/sites.php

    And Boom, all is working.

    Is this a bug in 2.1.3? Or is there a way to definitely check which EE version and build I’m running?

  • #6 / Mar 01, 2011 9:30am

    Sue Crocker

    26054 posts

    Hi, bsrweb. Are you using the french language pack?

  • #7 / Mar 01, 2011 3:28pm

    bsrweb

    24 posts

    No, not running any language packs—the Control Panel is all in English.

  • #8 / Mar 02, 2011 10:36am

    Sue Crocker

    26054 posts

    You asked earlier about how to tell what version you are using:
    See EEWiki:// HowTo Determine My EE Version

  • #9 / Mar 03, 2011 4:06pm

    bsrweb

    24 posts

    Thanks Sue I read the wiki entry but am I missing something here? Doing an upgrade to EE, the config.php file which contains the version number is never updated. According to the upgrade instructions, after the system folder is replaced by the new version, I’m supposed to move my backup of the config.php file back into system/expressionengine/config/.

    http://ellislab.com/expressionengine/user-guide/installation/update.html

    Step 2:
    Upload the following files from your backup:
    system/expressionengine/config/config.php
    system/expressionengine/config/database.php

    So this doesn’t definitively tell me which version of EE I’m running,  no?

  • #10 / Mar 04, 2011 8:56am

    Ingmar

    29245 posts

    That is only the first step, upload the files (and your old configuration). Running the updater after that will indeed replace the version number in the config file (make sure it’s writable).

  • #11 / Mar 04, 2011 3:40pm

    bsrweb

    24 posts

    Ah, I didn’t know that, thanks. I did (re?)-install of 2.1.3 on my dev environment and tried creating a new site and no more errors appeared. So, looks like things are fine now.

  • #12 / Mar 05, 2011 2:14pm

    Greg Salt

    3988 posts

    Hi bsrweb,

    Glad that you are now up and running. Please open a related thread if you experience further problems with this.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases