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.

development site msm settings

June 20, 2011 12:39pm

Subscribe [4]
  • #1 / Jun 20, 2011 12:39pm

    fin

    168 posts

    Recently, I preformed a local updated from 1.x. MSM site to 2.1.3. 2011041. After a tough time with that update, I regret having to post again so soon; however, I need resolve a problem moving to the dev. environment. 
    When I moved the directories up to the sever, I checked all the permissions and updated the config setttings. Site A loads; however, its styles are broken. I thought this was another path issue. Oddly, site b loads fine? When I try to enter the cp, the styles are also broken, ie. themes don’t seem to be loading. I’m unable to login. When I use the forgot password, I’m sent a password which doesn’t work. The system folder has been renamed and is sitting above the web root. The themes are sitting inside siteA.

    These are the config settings now:

    $config['app_version'] = "213";
    $config['install_lock'] = '1';
    $config['license_number'] = "";
    $config['debug'] = '1';
    $config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
    $config['is_system_on'] = "y";
    $config['ignore_templates'] = 'y';
    $config['multi_login_sites'] = 'http://dev.siteA.com|http://dev.siteB.com';
    $config['tmpl_file_basepath'] = '/nfs/c08/h01/mnt/xxxxx/users/.home/sysadmin/expressionengine/templates/';
    $config['theme_folder_path'] = '/nfs/c08/h01/mnt/xxxxx/domains/siteA.com/html/themes';
    $config['theme_folder_url'] = 'http://dev.siteA.com/themes/';
    $config['captcha_path'] = '/nfs/c08/h01/mnt/xxxxx/domains/dev.tsiteA.com/html/images/captchas';
    $config['captcha_url'] = 'http://dev.siteA.com/images/captchas';
    $config['avatar_path'] = '/nfs/c08/h01/mnt/xxxxxx/domains/dev.siteA.com/html/images/members/avatars';
    $config['avatar_url'] = 'http://devsiteA.com/images/members/avatars';
    $config['photo_path'] = '/nfs/c08/h01/mnt/xxxxxx/domains/devsiteA.com/html/images/members/photos';
    $config['photo_url'] = 'http://dev.siteA.com/images/members/photos';
    $config['cookie_prefix'] = '';
    $config['allow_extensions'] = 'y';
    $config['multiple_sites_enabled'] = "y";

     

    ;this is the index.php;

    $assign_to_config['site_name'] = "default_site";
    $assign_to_config['site_url'] = "http://dev.siteA.com/";

    Per this documentation for moving a system folder outside the web root.
    this is my admin.php

    $assign_to_config['cp_url'] = 'http://dev.siteA//admin.php';

    Could this issue originate in the local db?

  • #2 / Jun 21, 2011 6:18am

    John Henry Donovan

    12339 posts

    fin,

    I think at this stage just to get you up and running after the issue you have recently have we are going to go in for a look. Please check you email

  • #3 / Jun 21, 2011 8:07am

    fin

    168 posts

    Thanks John.

  • #4 / Jun 22, 2011 9:56am

    fin

    168 posts

    Is there any progress on this? I sent the ftp information, but I haven’t heard anything. Is there a problem with that information?
    6.23.11. Yesterday I was told this issue is in the queue. When EE requests ftp info, it would be great to know where that project is in the queue? Even a broad estimate, of when someone will address this, would be helpful.

  • #5 / Jun 23, 2011 4:35pm

    Kevin Smith

    4784 posts

    Hey fin,

    My apologies on the delay. With the build up to and release of EE 2.2, our support queue has gotten backed up. Don’t worry, we didn’t forget about you! 😊

    Per this documentation for moving a system folder outside the web root.
    this is my admin.php

    $assign_to_config['cp_url'] = 'http://dev.siteA//admin.php';

    The first thing I notice here is that your domain name is missing .com. I looked in your filesystem to try to fix it, but I honestly couldn’t make heads or tails of where your web root is. On a related note, please check the rest of your paths. Since I’m not sure how to access the parts of your filesystem that begin with

    /nfs/c08/h01/mnt/126916/domains/

    I’m not quite sure how to help troubleshoot this. After double-checking your paths, would you mind enlightening me about the two distinct paths?

  • #6 / Jun 23, 2011 5:28pm

    fin

    168 posts

    Kevin, thanks for catching that. Sorry for the oversight. It had no affect on the problem, though.  I just went into the login I give EE and found the problem. Media temple makes it difficult to grant another person the same level access which I thought I had given when I created the EE user account.  I’m resending new ftp information. 

    After double-checking your paths, would you mind enlightening me about the two distinct paths?

    I’ve checked the paths again. Barring the problem with ftp and permissions, the site structure should be simple to understand from the information I have already given: domains/dev.tampadefenseattorney.com.

    Themes folder is in dev.tampadefenseattorney.com. System folder is above domains. If there’s an inconsistency with the paths which doesn’t reflect that structure, I’ve overlooked something. I can’t find any paths that deviate from that structure. Please let me know if you still have problem and if your access is working correctly. Thanks.

  • #7 / Jun 24, 2011 2:00pm

    Sue Crocker

    26054 posts

    Hi, fin. Just a quick note to mention that I’m in there looking around right now.. will report back in a few minutes.

  • #8 / Jun 24, 2011 2:01pm

    fin

    168 posts

    Thanks Sue.

  • #9 / Jun 24, 2011 2:04pm

    Sue Crocker

    26054 posts

    Quick Q: Is this a GS MT (gotta love the alphabet soup.)??

    Are you EE files at the same level as /html?

    (Assuming it is a GS site.) I normally don’t run above the webroot on MT.

  • #10 / Jun 24, 2011 2:09pm

    fin

    168 posts

    Hey Sue, yes, it’s GS MT. EE files are above webroot, so not at the same level as /html; it should be /home/sysadmin/expressionengine If that creates a problem, I’m ready for any solution you have. Why’s this an issue with GS? Just curious.

  • #11 / Jun 24, 2011 2:39pm

    Sue Crocker

    26054 posts

    I’ve just never done it that way. I have test-ee.com and test-msm.com as MT MSM sites.

    Think of it this way - you need to be a bit careful with MT and MSM, but it’s totally doable. The only thing I’m not sure of is the dev.whatever.com versus whatever.com.

    My primary or first site is test-ee.com. It lives inside the html folder. My second site is at test-msm.com

    See the attached screen shot.

    Settings in my index.php for the second site:

    $system_path = '/nfs/c06/h05/mnt/numbershere/domains/test-ee.com/html/system';
    $assign_to_config['site_name'] = 'test-msm';
    $assign_to_config['cp_url'] = 'http://test-msm.com/renamedfile.php';
    $assign_to_config['site_url'] = 'http://test-msm.com';

    How does that differ with what you’re doing? Disclaimer, I’m not fiddling with things like unique /theme folders.

  • #12 / Jun 24, 2011 2:55pm

    fin

    168 posts

    So, I should to keep my system folder as you have it within the test-ee.com’s html folder when running GS and MSM?  Another person with whom I work placed the system folder for the live sites’ system folder there ( he’s on a DV setup). Be that as it may, I wanted to keep it consistent in case there might be an issue with the db; however, I’m totally comfortable with placing the system folder within /html. If this helps resolve the problem, I’ll defer to your experience. that screen shot helps.  Thanks.

  • #13 / Jun 24, 2011 3:18pm

    Sue Crocker

    26054 posts

    I’ve done this successfully with two different MSM / MT installs. One of the reasons I keep a GS account is because it is so widely used. I also got a $7.00 a month plan with GoDaddy for the same reason. 😊

    Frankly, I prefer EH, but it’s important to test on multiple hosting accounts.

    Let us know how things shake out.

  • #14 / Jun 24, 2011 10:32pm

    fin

    168 posts

    Now I have the system folder sitting inside the html folder as Sue explained (see her screen shot above). I changed the paths accordingly.


    June 27, reinstalled EE, and the front end and cp load fine now; however, some links aren’t working. Checking the site and those links shows an improperly segmented url. I’ve checked the code for those links. It’s hasn’t changed from the old site.

    When I checked synchronize templates, it shows that

    no files exist

    for the template groups. When I try to synchronize those templates:

    Unable to save your template as a text file

    When I try to save files through the template manger, I receive both the unable to save file error and confirmation that the file has been saved?
     
    The permissions for the edit folder, template folders and files have been set to 777. I was using $config[‘tmpl_file_basepath’] during the install, and it had been set to an absolute path ending in templates/.  Because I’m using MSM, I thought this could be the source of the problem; therefore, I set each manually in the cp. (eg. /full server path/html/system/expressionengine/templates/default_site/files). I’ve tried this with and without a trailing slash: files/. No change.

    June 28, I deleted all the information in the .htaccess file, except the predefined GS info: AddHandler php5-script .php. Since I haven’t heard from anyone at ee in nearly a week, this has now become a record for the steps I have taken thus far.

    If anyone is still monitoring this thread, thanks for the help.

  • #15 / Jun 28, 2011 3:09pm

    Sue Crocker

    26054 posts

    ahhh… I’ll bet I know what the problem is.

    Here’s my best practice for saving text files:

    In the root directory make a folder called edit.

    Find out the system path to that folder, and use that.

    /nfs/c06/h05/mnt/xxxxx/domains/test-ee.com/html/edit/

    That’s the one for the first site.

    For the second site:

    /nfs/c06/h05/mnt/xxxxx/domains/test-msm.com/html/edit/

    I made an edit folder for the second site as well.
    See the attached screen shots.

    The difference between the two is the test-ee.com bit and the test-msm.com.

    Does that help?

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

ExpressionEngine News!

#eecms, #events, #releases