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.

1.6.8 > 2.1 — MSM pulls site_id=1 for every site

August 17, 2010 7:24pm

Subscribe [2]
  • #1 / Aug 17, 2010 7:24pm

    PNCA_webteam

    5 posts

    I’ve almost successfully migrated 3 sites to 2.1. Each site is its own subdomain and they all display the correct, domain-specific stylesheet. However, all three sites are showing the content and templates from site_id = 1.

    In the CP, the correct content appears in each site, and in the database, the correct site_id is associated with the content for each site. The right content and templates just aren’t being pulled when I visit each domain.

    I have correct template paths in each sites template prefs. Anything else I should check? Anyone experience anything like this?

    Thanks for any info.

    UPDATE: I’ve resolved this issue by using the $assign_to_config variable in each sites index.php file. In 1.6, this was covered by the path.php file, but apparently not now.

  • #2 / Aug 18, 2010 8:26am

    Sue Crocker

    26054 posts

    Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases