Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  # 1
    I'm trying to get vanilla installed on our website, and its root will eventually be http://www.bailriggfm.co.uk/members/forum/, and I've gone successfully through the install, but now I cant load any of the pages because I get the error 'Error Message: Failed to import file "controls/index.php".
    Affected Elements: Page.Import();'.

    I reckon it's something to do with permissions, but I've tried everything I can think of from re-installing it (several times) and even 'chmod -R 777 forum/'.

    I still get the same error...

    Any ideas?
    •  
      CommentAuthorBergamot
    • CommentTimeDec 10th 2005
     # 2
    LOL at the "me" bug
    •  
      CommentAuthorMark
    • CommentTimeDec 10th 2005
     # 3
    What that message means is that for some reason the controls/index.php page isn't being included properly.

    There are a couple of things you can do to figure out exactly what's wrong. First of all, the actual include is done in library/Utility.Page.class.php, and here is the function that does it:

    function Import($FileName) {
    if (!@include($FileName)) $this->Context->ErrorManager->AddError($this->Context, "Page", "Import", "Failed to import file \"".$FileName."\".");
    }


    The first thing I'd try is removing that @ symbol in front of the include statement so that you can see what the actual error is (the @ symbol prevents errors from being written to the screen). Give that a go and tell us what happens...
  2.  # 4
    I'm gonna assume at this point that the controls/index.php file actually exists? Highly unlikely if you've reinstalled or whatever but it just might have gone walkabout.
  3.  # 5
    "Warning: import(controls/index.php): failed to open stream: No such file or directory in /usr/web/radio.lancs.ac.uk/pages/members/forum/library/Utility.Page.class.php on line 47

    Warning: import(): Failed opening 'controls/index.php' for inclusion (include_path='/usr/web/radio.lancs.ac.uk/include/:/usr/share/php/:/usr/share/pear/') in /usr/web/radio.lancs.ac.uk/pages/members/forum/library/Utility.Page.class.php on line 47
    A fatal, non-recoverable error has occurred

    Technical information (for support personel):

    Error Message: Failed to import file "controls/index.php".
    Affected Elements: Page.Import();
    For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/support"


    ^ was echoed when i removed the @ sign. controls/index.php does exist.

    Thanks for your help and I'd really appreciate more...:)
  4.  # 6
    hmm. I might have missed something but it seems a *little* odd that it's referencing controls/index.php in a file under the library/ folder - to me that would suggest library/controls/index.php. Are you sure all your app paths are correct? (i could be on the wrong trail here, though)
Add your comments
    Username Password
  • Format comments as