EllisLab text mark
Advanced Search
     
Can’t log in + MSM fatal error
Posted: 10 July 2012 06:30 PM   [ Ignore ]
Joined: 2011-03-14
1 posts

Hi,

I hope you can help me. I’m relatively new to EE and brand new to trying MSM. Today, I began to configure MSM within the control panel. I got as far as “create new site” when I got a “fatal error” notice.

Fatal error: Call to a member function result() on a non-object in /home/httpd/sites/business/system/expressionengine/views/sites/edit_form.php on line 80

I have discovered this thread http://ellislab.com/forums/viewthread/220285/ and realize I probably had a version incompatibility.

However, I now have a new problem. When I go to log in to the control panel, entering my credentials gets me nowhere. I am simply given the login screen again.

Right now, the site is running, and members can login and all that is working correctly. The control panel access is not, however.

Can you please advise me how to proceed? (I have a recent backup.)

Thank you.

 
Posted: 12 July 2012 10:35 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2005-10-18
7340 posts

Hi Kim,

Thanks for your post and welcome to the Forums!

I have discovered this thread http://ellislab.com/forums/viewthread/220285/ and realize I probably had a version incompatibility.

Indeed, can you tell me the versions of ExpressionEngine and MSM you are using now?

When I go to log in to the control panel, entering my credentials gets me nowhere. I am simply given the login screen again.

Let’s look at a couple of things.

Compare config.php and each site’s index.php and admin.php files against this example:

//CONFIG//
$config['cp_url'"http://engine.dev/admin.php";
$config['doc_url'"http://ellislab.com/expressionengine/user-guide/";
$config['is_system_on'"y";
$config['allow_extensions'"y";
$config['site_label'"Test 23";
$config['cookie_prefix'"";
$config['multiple_sites_enabled'"y";

index.php and admin.php site 1
NO CHANGES

index
.php and admin.php site 2
$system_path 
'../system';
/*---------------------------*/
$assign_to_config['site_name']  'msm_test';
$assign_to_config['cp_url''http://msm.dev/admin.php';
$assign_to_config['site_url''http://msm.dev';

--- 
admin ---
$system_path '../system';
/*---------------------------*/
$assign_to_config['site_name']  'msm_test';
$assign_to_config['cp_url''http://msm.dev/admin.php'

Now, open /system/expressionengine/config/config.php and add or edit these values:

$config['cookie_domain'''
$config['cookie_path''';
$config['cookie_prefix'''

I look forward to your reply!

Cheers,

 Signature 

How may I help you?