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]
  • #16 / May 11, 2009 1:47pm

    Lisa Wess

    20502 posts

    Er, can you post a screenshot of the entire error, please?

  • #17 / May 11, 2009 2:07pm

    Moviestorm

    79 posts

    ExpressionEngine 1.6.7 -
    Build:  20090211

  • #18 / May 11, 2009 7:30pm

    Greg Aker

    6022 posts

    Moviestorm:

    Let’s take a step back here.  I want to make sure we are all on the same page.  Are you currently trying to access the Wiki via an ExpressionEngine URL, is it in a subdirectory, or it’s own site.

    Can you please take us step by step through how you are currently set up.

    Many thanks,

    -greg

  • #19 / May 11, 2009 7:47pm

    Moviestorm

    79 posts

    OK - I have tried various setups. When I had the wiki running as its own site on a subdirectory, using MSM, it worked, however, I asked previously if I actually needed to do it that way and was told that I did not.

    So now, I have MSM with three sites and I am trying to run the wiki module off of one of the sites (test2.moviestorm.co.uk) in a directory of that site. The three MSM sites are:

    test2.moviestorm.co.uk
    shortfuze.moviestorm.co.uk
    testblog.moviestorm.co.uk

    The control panel is in shortfuze.moviestorm.co.uk and all three domains are virtual domains on one apache installation.

    In the directory: test2.moviestorm.co.uk/wiki there are three files: index.php, path.php, wiki.css and a wikiuploads directory.

    The path.php has the following 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

    In the “moviestorm” site in EE there is a template group called wiki and in it is one template (index) with the following:

    {exp:wiki base_path="wiki/index" wiki="wiki" theme="default"}

    If try to access http://test2.moviestorm.co.uk/wiki I get the following error (see attachment).

    I am running ExpressionEngine 1.6.7 - Build:  20090211

  • #20 / May 11, 2009 8:34pm

    Greg Aker

    6022 posts

    You need to check your URL rewrite 😉

    http://test2.moviestorm.co.uk/index.php/wiki  works just fine.

    -greg

  • #21 / May 11, 2009 10:29pm

    Moviestorm

    79 posts

    You need to check your URL rewrite 😉

    http://test2.moviestorm.co.uk/index.php/wiki  works just fine.

    -greg

    OK - that’s a start - thanks.

    Tomorrow I’ll try it on the subdomain (which shouldn’t have any apache despatcher set up for it at all - theoretically, at least).

  • #22 / May 12, 2009 3:24am

    John Henry Donovan

    12339 posts

    Let us know how you get on.

  • #23 / May 12, 2009 10:33am

    Moviestorm

    79 posts

    Not so well, actually. I’m not even going to attempt to move it to a subdomain yet.

    Right now, whilst I can access the wiki using http://www.moviestorm.co.uk/index.php/wiki (we’ve gone live now so are using the real domains), all of the paths are set without index.php:

    http://www.moviestorm.co.uk/wiki/Special:Categories (doesn’t work, but is what is generated in the sidebar)

    Where is the path specified? The HTAccess I have for the main site doesn’t include the wiki directory, so where is that being stripped out?

  • #24 / May 12, 2009 1:31pm

    Lisa Wess

    20502 posts

    The path to the template group is specific in the base_path= parameter of the wiki tag; but it builds the domain/index.php from your general settings.  If you’re removing index.php for the rest of the site, then it’ll be removed from the wiki.

    .htaccess cascades down directories as well.

    In any case - this looks like EE is working but the index.php removal is not; we can’t offer official support for removing index.php so I’m going to move this up to How to for you.

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

ExpressionEngine News!

#eecms, #events, #releases