Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Stuck on the installation screen?

Okay, so I've just downloaded the fresh 2.1.5 release and created the database and such for the forums but when I enter all of the details for the database connection, admin username, email and password after I continue I'm just stuck on a blank empty white page with the same setup URL?

All of the information that I have entered is correct because the tables in the database have been created but I can't get past that white screen. What's causing this issue? I'm currently trying to set up the forums on a local machine (XAMPP) to test out the features, customization and such.

Answers

  • Options
    BIOSBIOS New
    edited November 2014
    Debug Trace
    Info    Need to re-index theme cache
    Info    Need to re-index plugin cache
    Info    View: setup.master
    Info    
    
    ViewLocation(): array (
      0 => 'C:\\xampp\\htdocs\\forum/themes/default/views/setup.master.tpl',
      1 => 'C:\\xampp\\htdocs\\forum/themes/default/views/setup.master.php',
      2 => 'C:\\xampp\\htdocs\\forum/applications/dashboard/views/setup.master.tpl',
      3 => 'C:\\xampp\\htdocs\\forum/applications/dashboard/views/setup.master.php',
    )
    
    Warning     Master views differ. Controller: C:\xampp\htdocs\forum/applications/dashboard/views/setup.master, ViewLocation(): 
    
  • Options

    is you conf/config.php writeable.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine said:
    is you conf/config.php writeable.

    It has full permissions.

  • Options
    peregrineperegrine MVP
    edited November 2014

    post your conf/config.php change any personal passwords.

    you may need to manually change it, not sure why.

    also make sure you are not using any php caching or any caching .

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    BIOSBIOS New
    edited November 2014
    <?php if (!defined('APPLICATION')) exit();
    
    // Database
    $Configuration['Database']['Name'] = 'vanilla';
    $Configuration['Database']['Host'] = 'localhost';
    $Configuration['Database']['User'] = 'root';
    $Configuration['Database']['Password'] = '......';
    
    // Garden
    $Configuration['Garden']['Title'] = 'Forum';
    $Configuration['Garden']['Cookie']['Salt'] = '.....';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Registration']['ConfirmEmail'] = FALSE;
    $Configuration['Garden']['Email']['SupportName'] = 'Forum';
    $Configuration['Garden']['InputFormatter'] = 'Html';
    $Configuration['Garden']['Html']['SafeStyles'] = TRUE;
    
    // EnabledApplications
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    
    $Configuration['Debug'] = FALSE;
    // Last edited by Unknown (127.0.0.1)2014-11-10 23:48:39
    
  • Options
    peregrineperegrine MVP
    edited November 2014

    since this is obviously a test.

    add these two lines anywhere in config.php

    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['Garden']['Installed'] = TRUE;
    

    and see what happens.

    and delete the .ini files in your cache folder.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine said:
    since this is obviously a test.

    add these two lines anywhere in config.php

    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['Garden']['Installed'] = TRUE;
    

    and see what happens.

    and delete the .ini files in your cache folder.

    I'll try that now, if i were to make this a public forum would this issue of caused any problems in the future and having this configuration to have just ignored the problems? Also by .ini files do you mean just these ones? http://prntscr.com/55i89n

  • Options
    peregrineperegrine MVP
    edited November 2014

    the ini files end with the extension and reside in the cache folder, if you don't see any don't worry.

    /cache

    the cache folder should be in the root folder of your vanilla installation.

    http://vanillawiki.homebrewforums.net/index.php/Folder_Structure

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    On the forum after doing the installed=true part it let me on and it said carry on and then I just get this http://prntscr.com/55iab2

  • Options
    peregrineperegrine MVP
    edited November 2014

    add

    $Configuration['Debug'] = TRUE;

    to your conf/config.php to reveal full error messages.

    and then post your error.

    Remember to remove it when you are done debugging

    then run /utility/structure


    then read these when you get a chance.

    http://vanillaforums.org/discussion/comment/199096/#Comment_199096

    http://vanillaforums.org/discussion/comment/208629/#Comment_208629

    http://vanillaforums.org/discussion/comment/199091/#Comment_199091

    http://vanillaforums.org/discussion/20231/how-to-become-somewhat-adept-at-modifying-vanilla-to-meet-your-needs-for-free

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    peregrineperegrine MVP
    edited November 2014

    make sure you have an .htaccess file

    https://github.com/vanilla/vanilla/blob/2.1/.htaccess

    in the root of your vanilla folder. which I believe you call /forum

    /forum/.htaccess

    and change the line from

    # RewriteBase /

    to

    RewriteBase /forum


    if you still have issues, you may need to provide more info from phpinfo

    your web server, caching if any, and enabled modules.

    create a file called and execute from your browser.

    phpinfo-script.php

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    

    I don't use windows and have never installed vanilla on windows, so I can't be of much help unless I see some specific error info.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    BIOSBIOS New
    edited November 2014

    @peregrine said:
    add

    $Configuration['Debug'] = TRUE;

    to your conf/config.php to reveal full error messages.

    and then post your error.

    Remember to remove it when you are done debugging

    then run /utility/structure


    then read these when you get a chance.

    http://vanillaforums.org/discussion/comment/199096/#Comment_199096

    http://vanillaforums.org/discussion/comment/208629/#Comment_208629

    http://vanillaforums.org/discussion/comment/199091/#Comment_199091

    http://vanillaforums.org/discussion/20231/how-to-become-somewhat-adept-at-modifying-vanilla-to-meet-your-needs-for-free

    Fatal Error in Gdn_Database.Query();
    Table 'vanilla.gdn_comment' doesn't exist
    select c.*, lc.DateInserted as `DateLastComment` from GDN_Category c left join GDN_Comment lc on c.LastCommentID = lc.CommentID order by c.TreeLeft asc
    The error occurred on or near: C:\xampp\htdocs\forum\library\database\class.database.php
    
    297:          $PDOStatement = $this->Connection()->query($Sql);
    298:       }
    299: 
    300:       if ($PDOStatement === FALSE) {
    301:          trigger_error(ErrorMessage($this->GetPDOErrorMessage($this->Connection()->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
    302:       }
    303:       
    304:       // Did this query modify data in any way?
    305:       if ($ReturnType == 'ID') {
    
    Backtrace:
    
    C:\xampp\htdocs\forum\library\database\class.database.phpPHP::Gdn_ErrorHandler();
    [C:\xampp\htdocs\forum\library\database\class.database.php:301] PHP::trigger_error();
    [C:\xampp\htdocs\forum\library\database\class.sqldriver.php:1650] Gdn_Database->Query();
    [C:\xampp\htdocs\forum\library\database\class.sqldriver.php:674] Gdn_SQLDriver->Query();
    [C:\xampp\htdocs\forum\applications\vanilla\models\class.categorymodel.php:98] Gdn_SQLDriver->Get();
    [C:\xampp\htdocs\forum\applications\vanilla\modules\class.categoriesmodule.php:20] CategoryModel::Categories();
    [C:\xampp\htdocs\forum\library\core\class.controller.php:511] CategoriesModule->__construct();
    [C:\xampp\htdocs\forum\applications\vanilla\controllers\class.discussionscontroller.php:113] Gdn_Controller->AddModule();
    [C:\xampp\htdocs\forum\applications\vanilla\controllers\class.discussionscontroller.php:113] DiscussionsController->Index();
    [C:\xampp\htdocs\forum\library\core\class.dispatcher.php:350] PHP::call_user_func_array();
    [C:\xampp\htdocs\forum\index.php:46] Gdn_Dispatcher->Dispatch();
    
    Variables in local scope:
    
    [Sql] 'select c.*, lc.DateInserted as `DateLastComment`
    from GDN_Category c
    left join GDN_Comment lc on c.LastCommentID = lc.CommentID
    order by c.TreeLeft asc'
    
    [InputParameters] array (
    )
    
    [Options] array (
      'ReturnType' => 'DataSet',
    )
    
    [ReturnType] 'DataSet'
    
    [PDOStatement] false
    
  • Options
    peregrineperegrine MVP
    edited November 2014

    BIOS said:
    Okay, so I've just downloaded the fresh 2.1.5 release and created the database
    All of the information that I have entered is correct because the tables in the database have been created

    apparently it didn't create the commment table.

    first try /utility/structure and delete the .ini file from cache, if that doesn't work

    • I would start over,
    • delete the config.php, ,
    • delete the foroum folder,
    • delete the database

    • create the database

    • download the source. http://vanillaforums.org/addon/vanilla-core-2.1.5
    • unzip and install source to forum folder
    • change the .htaccess file as above
    • put the correct write permissions on cache compile and uploads folders.
    • turn off any caching

    read the instructions
    https://github.com/vanilla/vanilla/tree/2.1#self-hosting-requirements

    install

    write down everything you do step by step. make sure you change .htaccess!

    then post what steps you did.

    and read the phpinfo part.
    http://vanillaforums.org/discussion/comment/219127/#Comment_219127

    or try a non-windows computer os :wink:

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @peregrine said:
    or try a non-windows computer os :wink:

    I think it's working, not sure but I don't see any errors. Although, I've just noticed that there's like 6 users with the same username from when I was installing it? Is this supposed to be able to happen or should the username be unique and be only used once?

  • Options
    peregrineperegrine MVP
    edited November 2014

    you should have different usernames. you could continue trying to fix issues from a seemingly corrupt install.

    or

    If it were me, I would start over, delete the database and config.php, and re-create the database and re-install.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    BIOSBIOS New
    edited November 2014

    Well, everything is working so far now for me although I was wondering in the dashboard>categories if there was a way to create sections inside sections for example Gaming>Battlefield,CoD,Fifa all inside the gaming category? Because right now all i have is Gaming and in there people can create posts. And where would I find the files i need to edit for things like the nav bar at top, and the side where you can select activity, recent discussions and make a new discussion? Been looking for a bit but haven't had any luck in finding it yet

  • Options
    peregrineperegrine MVP
    edited November 2014

    @BIOS said:

    sections inside sections for example Gaming>Battlefield,CoD,Fifa

    you can make subcategories in the dashboard.

    I also believe there are links to tutorials in dashboard as well.

    And where would I find the files i need to edit for things like the nav bar

    default.master.tpl

    and the side where you can select activity, recent discussions and make a new discussion?

    these are assets in panels, you could modify through plugins or themehooks.

    plenty of docs on theme in tutorials and documentation

    http://vanillaforums.org/discussion/comment/206536/#Comment_206536

    always good to say where you searched as well as starting a new post when asking new questions

    some etiquette links worth reading here as well

    http://vanillaforums.org/discussion/comment/214993/#Comment_214993

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
            <ul class="SiteMenu">
               <!-- {dashboard_link} -->
               {discussions_link}
               {activity_link}
               <!-- {inbox_link} -->
               {custom_menu}
               <!-- {profile_link}
               {signinout_link}  -->
            </ul>
    

    That's what the top nav bar looks like for me, where can i edit them? such as the
    {discussions_link}
    {activity_link}

  • Options
    BIOSBIOS New
    edited November 2014

    The previous post isn't allowing me to edit it so, I found out that for the top navi I can use $Definition['Discussions'] = ''; in locale.php. But where is the side menu? Can i use locale.php to edit the side menu also? And adding more links to the nav.

  • Options
    peregrineperegrine MVP
    edited November 2014

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.