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.

MSM 2.1.3 SQL Connection

June 04, 2012 7:10am

Subscribe [2]
  • #1 / Jun 04, 2012 7:10am

    spwn

    11 posts

    So I recently updated my EE from 2.5.0 to 2.5.1, pretty painless.

    And then I wanted to use my MSM for a new website. First time install, I have done this before so I know how it works. But mostly it was for testing. This time it’s for a live website.

    So after updating MSM to the latest version the backend was not giving any errors anymore (i forgot to update MSM after the EE update). But if I make a new site then Expression Engine does not seem to be able to connect to the MySQL.

    I set the errors on for anyone to see so you guys can take a look:
    http://tacticalgamers.eu/

    Site Error: Unable to Load Site Preferences; No Preferences Found

    Message: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'apache'@'localhost' (using password: NO)
    
    Filename: mysql/mysql_driver.php
    
    Line Number: 319

    The thing is though that my Expression Engine installation regonises that there are 2 websites and has MSM enabled, everything works as it should only the database settings are wrong as far as I can tell.

    The website running the initial EE Installation works just fine: http://clanfinder.net
    and this is my MSM setup:

    <?php
    $system_path = '/home/admin/domains/clanfinder.net/public_html/admin';
    $assign_to_config['site_name']  = 'webcom';
    $assign_to_config['site_url'] = 'http://tacticalgamers.eu';
    $assign_to_config['cp_url'] = 'http://tacticalgamers.eu/admin.php';

    As far as I can tell I never had to give up the MySQL data. And I changed my system path to something wrong on purpose. It gives a different error, so I’m guessing this is the correct path.

    So i’m lost. 😊

    Edit: It’s a bug, to fix it check the bug report page
    So feel free to close.

  • #2 / Jun 05, 2012 10:26am

    Shane Eckert

    7174 posts

    Hey Blaxus,

    Nice catch! Sorry for all the time you put into this, but glad things better.

    If you need anything else, please just let me know by opening a new thread.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases