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.

Unable to load extension files on new MSM site

March 12, 2012 7:13am

Subscribe [2]
  • #1 / Mar 12, 2012 7:13am

    Mark Terpstra

    205 posts

    I recently upgraded a site to 2.4, upgraded MSM 2.1.2, and created a new site… but the new site is not loading any third_party field types or extension files when I try to hit a template. The default_site is working just fine - it’s just the new site. I first tried to create the new site by duplicating the channels and templates from the first one but I have since also tried adding a new site without duplicating… both new sites give me the same errors.

    This is the error I get when trying to access a template that includes a channel:entries tag. (Seems to work fine without channel entries tags)

    Error
    Unable to load the following extension file:
    ext.matrix.php

    NOTES
    * I verified that Matrix and other addons were installed and uploaded correctly.
    * If I disable Extensions, then the above error is replaced by “Unable to load requested field type file:  ft.wygwam.php.”
    * If I add disable=“custom_fields” then it outputs the channel entries

    Here are my configs…

    Main config.php
    —-

    $config['app_version'] = "240";
    $config['install_lock'] = "";
    $config['license_number'] = "";
    $config['debug'] = "1";
    
    $config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
    $config['is_system_on'] = "y";
    $config['site_label'] = "example.com";
    $config['cookie_prefix'] = "";
    $config['allow_extensions'] = "y";
    $config['multiple_sites_enabled'] = "y";
    $config['hidden_template_indicator']    = "_";
    $config['autosave_interval_seconds']    = "0"; # Disabling entry autosave 
    
    $config['index_page']           = "index.php";
    $config['base_url']             = "http://www.example.com/";
    $config['site_url']             = "http://www.example.com/";
    $config['cp_url']               = "http://www.example.com/system/index.php";
    
    $config['tmpl_file_basepath']   = "/home/example/public_html/assets/templates/";
    
    // Debugging and performance
    $config['show_profiler']        = "n"; # y/n
    $config['template_debugging']   = "n"; # y/n
    $config['debug']                = "1"; # 0: no PHP/SQL errors shown. 1: Errors shown to Super Admins. 2: Errors shown to everyone.
    $config['disable_all_tracking'] = "y"; # y/n
    $config['enable_sql_caching']   = "n"; # Cache Dynamic Channel Queries?
    $config['email_debug']          = "n"; # y/n
        
    $config['enable_db_caching'] = "n";

    site2 index.php
    —-

    $system_path = '/home/example/public_html/system/';
    $assign_to_config['site_name']  = 'site2';
    $assign_to_config['cp_url'] = 'http://www.site2.com/admin.php';
    $assign_to_config['site_url'] = 'http://www.site2.com/';


    site2 admin.php
    —-

    $system_path = '/home/example/public_html/system/';
    $assign_to_config['site_name']  = 'aps';
    $assign_to_config['cp_url'] = 'http://www.site2.com/admin.php';


    What should I do to troubleshoot this problem?

  • #2 / Mar 12, 2012 4:49pm

    Shane Eckert

    7174 posts

    Hello Mark,

    It sounds like you have done a lot of the work already. Nice.

    Can you check the file permissions on the Add-On directories?

    Did you run the Server Wizard? I know this is a little strange, but I am wondering about the PHP version.

    Let me know about these two things and we will go from there.

    Cheers!

  • #3 / Mar 12, 2012 9:36pm

    Mark Terpstra

    205 posts

    Thanks for your attention to this, Shane.

    It turns out that the problem was that my VPS requires that MSM sites be under the same vhost account and can’t be in separate accounts. So I had to set up Site2 as an addon domain which points to a subdirectory within Site1’s public_html directory.

    So the problem has been solved and you can close this thread out.

    Thanks again.

  • #4 / Mar 13, 2012 5:01pm

    Shane Eckert

    7174 posts

    Hey Mark,

    I am glad that this was figured out. Thanks for letting me know!

    Have a good week.

    Regards,

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

ExpressionEngine News!

#eecms, #events, #releases