Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Installation troubles

edited February 2006 in Vanilla 1.0 Help
Hi there, Very fresh and new to this forum and to Lussumo in general, but loving the software already. I've tried installing it locally on my computer (running Windows XP and Xampp) but I can't seem to get it to work: I get errors. I got a couple solved by re-assigning the path value in the settings file to point to http://localhost/etc in stead of c:\Program Files\etc. But now I have two errors left: Fatal error: Class 'ControlCollection' not found in C:\Program Files\xampp\htdocs\phpwcms\vanilla\controls\Common.Controls.php on line 15 Fatal error: Class 'Context' not found in C:\Program Files\xampp\htdocs\phpwcms\vanilla\appg\init_internal.php on line 40 Does anyone know how to get rid of these errors and get the system up and running? Thanks!

Comments

  • Which version of vanilla are you trying to install?
  • It's version 0.9.2.6.
  • Uh..huh. And these errors occur when? When you're trying to run the install script? or have you already done that?
  • Have already run the install script, goes through without a glitch. But when I first tried to start the login page, it returned a page full of errors that it couldn't find any files. Then I changed the path value in the settings file and now I have the two mentioned errors left. I think it has something to do with the fact that I want to install it locally, since an install on a remote server did work correctly.
  • Oh. What were the paths you had to set?
  • In the appg folder, I changed the value in settings.php from c:\Program Files\xampp\htdocs\phpwcms\vanilla/ to http://localhost/phpwcms/vanilla/ If I put the first path back in, I get the following errors: Warning: main(c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Discussion.class.php) [function.main]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 15 Warning: main() [function.include]: Failed opening 'c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Discussion.class.php' for inclusion (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 15 Warning: main(c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Comment.class.php) [function.main]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 16 Warning: main() [function.include]: Failed opening 'c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Comment.class.php' for inclusion (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 16 Warning: main(c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Search.class.php) [function.main]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 17 Warning: main() [function.include]: Failed opening 'c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Search.class.php' for inclusion (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 17 Warning: main(c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Utility.Pagelist.class.php) [function.main]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 18 Warning: main() [function.include]: Failed opening 'c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Utility.Pagelist.class.php' for inclusion (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\phpwcms\vanilla\index.php on line 18 Warning: main(c:\Program Files mpp\htdocs\phpwcms\vanilla/appg/headers.php) [function.main]: failed to open stream: Invalid argument in C:\Program Files\xampp\htdocs\phpwcms\vanilla\appg\init_internal.php on line 15 Warning: main() [function.include]: Failed opening 'c:\Program Files mpp\htdocs\phpwcms\vanilla/appg/headers.php' for inclusion (include_path='.;C:\Program Files\xampp\php\pear\') in C:\Program Files\xampp\htdocs\phpwcms\vanilla\appg\init_internal.php on line 15 And a lot more like it, but the I get too many characters in this post.
  • lechlech
    edited February 2006
    ie: take notice at your paths slashing here:

    c:\Program Files mpp\htdocs\phpwcms\vanilla/library/Vanilla.Discussion.class.php

    should read like:

    c:\Program Files mpp\htdocs\phpwcms\vanilla\library\Vanilla.Discussion.class.php

    some servers won't get affected by this, but windows will choke, flip those forward slashes to backslashes in all of your settings files and try again. It should clear up once you do that.
  • /me strokes lech for taking up the slack while he dosses about watching coupling
  • that show fucking rules! jeff is hysterical
  • haha thanks guys, that show is cool anyway, the tip was great, simply changed c:\Program Files\xampp\htdocs\phpwcms\vanilla/ into c:/Program Files/xampp/htdocs/phpwcms/vanilla/ and everything works. Now I can properly test it for my client. Thanks again.
  • Thank you for flying Vanilla Airlines™
This discussion has been closed.