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.

Site Error: Unable to Load Site Preferences; No Preferences Found [wiki]

May 11, 2009 11:32am

Subscribe [3]
  • #1 / May 11, 2009 11:32am

    Moviestorm

    79 posts

    I previously had my wiki installed as it’s own site in MSM, but was told this wasn’t necessary, so I have reconfigured the installation so the wiki functions only as a normal module, however, I’m getting the error above.

    This is my path file:

    $system_path = "../ShortFuze/cp/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "wiki";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $site_name = "shortfuze";
    $global_vars = array(); // This array must be associative

    I’ve also tried it with no site name and still no joy.

    What’s wrong here?

    Oh, and the wiki is on a subdomain…

  • #2 / May 11, 2009 11:47am

    Sue Crocker

    26054 posts

    Moviestorm, are you wanting to remove the MSM site, or what exactly?

  • #3 / May 11, 2009 11:52am

    Moviestorm

    79 posts

    I already did remove the MSM site for the wiki. Here’s the post where you told me that the wiki was not tied to MSM: http://ellislab.com/forums/viewthread/111110/

    Now, I’m trying to get the wiki to show up and I’m getting the error.

  • #4 / May 11, 2009 11:55am

    Sue Crocker

    26054 posts

    The wiki isn’t tied to the MSM, but you’ll need to remove the MSM site inside of EE. You’d make a new template in the other MSM site.

    Get that working first.

  • #5 / May 11, 2009 12:00pm

    Moviestorm

    79 posts

    yeah, did that.

    The wiki MSM site has been removed. The wiki template group with its index now exists in the site ShortFuze (short name: shortfuze).

    Here’s the tag in the index template:

    {exp:wiki base_path="wiki/index" wiki="wiki" theme="default"}
  • #6 / May 11, 2009 12:05pm

    Sue Crocker

    26054 posts

    What’s the link?

  • #7 / May 11, 2009 12:11pm

    Moviestorm

    79 posts

    http://testwiki.moviestorm.co.uk/

    It’s all been rather a hassle as we’ve had to completely reconfigure a site concurrent with a live site, so we have a variety of test server and domains. It will eventually run at wiki.moviestorm.co.uk

  • #8 / May 11, 2009 12:44pm

    Sue Crocker

    26054 posts

    OK, what is testwiki? A site, what exactly?

  • #9 / May 11, 2009 12:53pm

    Moviestorm

    79 posts

    testwiki.moviestorm.co.uk is a subdomain of moviestorm.co.uk.

    MSM has 3 sites (or will do when they are on their proper domains):

    http://www.moviestorm.co.uk
    http://www.shortfuze.co.uk
    http://www.moviestormblog.com

    the wiki will run from the subdomain: testwiki.moviestorm.co.uk, which is a virtual domain on an apache server.

    So, basically, it’s a directory with the following files in it:

    index.php, path.php, (configured as in the first post), wiki.css and a wikiuploads directory. The DNS for testwiki.moviestorm.co.uk points to apache which redirects requests to it to that directory.

  • #10 / May 11, 2009 1:00pm

    Sue Crocker

    26054 posts

    But where is the real link to the wiki if it wasn’t running on a sub domain? If you are using the old fashioned method of creating subdomains, you need to have things set up this way: EEWiki:// Running Multiple Domains or Subsites

  • #11 / May 11, 2009 1:04pm

    Moviestorm

    79 posts

    right - never saw that. Stuff is pretty spread around, documentation-wise. I was pretty much just following the previous thread and the main documentation. I’ll try working with that wiki post now.

    It *was* running as a site on its own, which is why I posted this: http://ellislab.com/forums/viewthread/111110/ asking if I needed to buy another license.

  • #12 / May 11, 2009 1:09pm

    Moviestorm

    79 posts

    OK, still not working. Here’s the path info now:

    $system_path = "../ShortFuze/cp/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "wiki";
    $template = "index";
    $site_url = "http://testwiki.moviestorm.co.uk";
    $site_index = "index.php";
    $site_404 = "";
    $site_name = "moviestorm";
    $global_vars = array(); // This array must be associative

    I’ve moved the template group into the “moviestorm” site in the hopes that it was the domain name that was screwing things up.

  • #13 / May 11, 2009 1:17pm

    Sue Crocker

    26054 posts

    It would be easier to add another site, but if it isn’t a full site you’ll need to have the templates for it stored on one of your other MSM sites.

    NOTE: I’ve not mixed and matched those different kinds of sites. So this is a give it a try and see if it works kind of thing.

  • #14 / May 11, 2009 1:40pm

    Moviestorm

    79 posts

    It would be easier to add another site, but if it isn’t a full site you’ll need to have the templates for it stored on one of your other MSM sites.

    NOTE: I’ve not mixed and matched those different kinds of sites. So this is a give it a try and see if it works kind of thing.

    The templates for it are stored in one of my other sites . See post #4 in this thread.

    Well, this is why I asked in that other thread if I needed to buy another license. So, sadly, I have to go through our purchasing process to get it approved.

    I had hope my previous post was clear enough, but I guess not.

    So, what you’re saying is that the wiki module isn’t actually stand-alone when run on a subdomain? Will it work if I make it a regular directory, do you think?

  • #15 / May 11, 2009 1:46pm

    Moviestorm

    79 posts

    OK - now I’ve tried it on a directory off of one of the sites (http://test2.moviestorm.co.uk/wiki/) and I get the following error:

    Could not connect

    This is my new path information:

    $system_path = "../../ShortFuze/cp/";
    
    // ------------------------------------------------------
    // MANUALLY CONFIGURABLE VARIABLES
    // See user guide for more information
    // ------------------------------------------------------
    
    $template_group = "wiki";
    $template = "";
    $site_url = "";
    $site_index = "";
    $site_404 = "";
    $global_vars = array(); // This array must be associative
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases