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.

Unable to access dashboard after upgrade ! (ErrorPermission)

AisykAisyk New
edited August 2014 in Vanilla 2.0 - 2.8

I have upgraded my Vanilla 2.0 to 2.1.
And my administrator (me) cannot access to dashboard and identify !

How can i resolve this problem ?

My config.php

<?php if (!defined('APPLICATION')) exit();

// Conversations
$Configuration['Conversations']['Version'] = '2.0.18.11';

// Database
$Configuration['Database']['Name'] = 'XXXXX';
$Configuration['Database']['Host'] = 'localhost';
$Configuration['Database']['User'] = 'XXXXX';
$Configuration['Database']['Password'] = 'XXXXX';

// EnabledApplications
$Configuration['EnabledApplications']['Conversations'] = 'conversations';
$Configuration['EnabledApplications']['Vanilla'] = 'vanilla';

// EnabledLocales
$Configuration['EnabledLocales']['French'] = 'fr-FR';

// EnabledPlugins
$Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
$Configuration['EnabledPlugins']['Emotify'] = TRUE;
$Configuration['EnabledPlugins']['cleditor'] = TRUE;
$Configuration['EnabledPlugins']['jsconnect'] = TRUE;
$Configuration['EnabledPlugins']['CommentsRSS'] = TRUE;
$Configuration['EnabledPlugins']['AllViewed'] = TRUE;
$Configuration['EnabledPlugins']['embedvanilla'] = TRUE;
$Configuration['EnabledPlugins']['Signatures'] = TRUE;
$Configuration['EnabledPlugins']['SplitMerge'] = TRUE;
$Configuration['EnabledPlugins']['NBBC'] = TRUE;

// Garden
$Configuration['Garden']['Title'] = 'Musique Libre Forum';
$Configuration['Garden']['Cookie']['Salt'] = 'XXXXX';
$Configuration['Garden']['Cookie']['Domain'] = '';
$Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
$Configuration['Garden']['Registration']['Method'] = 'Connect';
$Configuration['Garden']['Registration']['ConfirmEmailRole'] = '4432';
$Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '';
$Configuration['Garden']['Registration']['CaptchaPublicKey'] = '';
$Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
$Configuration['Garden']['Registration']['InviteRoles'] = 'a:2:{i:43;s:1:"0";i:4432;s:1:"0";}';
$Configuration['Garden']['Email']['SupportName'] = 'M.L.O. Forum';
$Configuration['Garden']['Email']['SupportAddress'] = 'XXXXX';
$Configuration['Garden']['Email']['UseSmtp'] = FALSE;
$Configuration['Garden']['Email']['SmtpHost'] = '';
$Configuration['Garden']['Email']['SmtpUser'] = '';
$Configuration['Garden']['Email']['SmtpPassword'] = '';
$Configuration['Garden']['Email']['SmtpPort'] = '25';
$Configuration['Garden']['Email']['SmtpSecurity'] = '';
$Configuration['Garden']['Version'] = '2.0.18.11';
$Configuration['Garden']['RewriteUrls'] = FALSE;
$Configuration['Garden']['CanProcessImages'] = TRUE;
$Configuration['Garden']['Installed'] = TRUE;
$Configuration['Garden']['InstallationID'] = 'XXXXX';
$Configuration['Garden']['InstallationSecret'] = 'XXXXXX';
$Configuration['Garden']['Format']['Hashtags'] = FALSE;
$Configuration['Garden']['Logo'] = 'I7806XDXJ75L.png';
$Configuration['Garden']['Locale'] = 'fr-FR';
$Configuration['Garden']['Theme'] = 'default';
$Configuration['Garden']['Messages']['Cache'] = 'a:1:{i:0;s:6:"[Base]";}';
$Configuration['Garden']['Html']['SafeStyles'] = FALSE;

// Modules
$Configuration['Modules']['Vanilla']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
$Configuration['Modules']['Conversations']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';

// Plugins
$Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
$Configuration['Plugins']['GettingStarted']['Categories'] = '1';
$Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
$Configuration['Plugins']['GettingStarted']['Registration'] = '1';
$Configuration['Plugins']['GettingStarted']['Profile'] = '1';
$Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
$Configuration['Plugins']['EmbedVanilla']['RemoteUrl'] = 'http://musique-libre.org/asso/?page_id=90';

// Routes
$Configuration['Routes']['DefaultController'] = 'a:2:{i:0;s:11:"discussions";i:1;s:8:"Internal";}';

// Themes
$Configuration['Themes']['EmbedFriendly']['SingleColumn'] = FALSE;

// Vanilla
$Configuration['Vanilla']['Version'] = '2.0.18.11';
$Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = '0';
$Configuration['Vanilla']['Categories']['DoHeadings'] = FALSE;
$Configuration['Vanilla']['Categories']['HideModule'] = FALSE;
$Configuration['Vanilla']['AdminCheckboxes']['Use'] = TRUE;

// Last edited by Unknown (XXXXX)2014-08-20 15:02:08
«1

Comments

  • UnderDogUnderDog MVP
    edited August 2014

    I see a couple of things:

    @Aisyk said:


    Your forum is embedded. Can you try and access your forum through the non-embedded page?
    You are not using Rewriterules, did you try and access your dashboard that way?
    Your version according to the config.php is still 2.0.18.x

    There was an error rendering this rich post.

  • Hi,

    I had restored the save. Here is the 2.1 config.php

    <?php if (!defined('APPLICATION')) exit();
    
    // Conversations
    $Configuration['Conversations']['Version'] = '2.0.18.11';
    
    // Database
    $Configuration['Database']['Name'] = 'XXXXX';
    $Configuration['Database']['Host'] = 'localhost';
    $Configuration['Database']['User'] = 'XXXXX';
    $Configuration['Database']['Password'] = 'XXXXX';
    
    // EnabledApplications
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    
    // EnabledLocales
    $Configuration['EnabledLocales']['French'] = 'fr-FR';
    
    // EnabledPlugins
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['EnabledPlugins']['Emotify'] = TRUE;
    $Configuration['EnabledPlugins']['cleditor'] = TRUE;
    $Configuration['EnabledPlugins']['jsconnect'] = TRUE;
    $Configuration['EnabledPlugins']['CommentsRSS'] = TRUE;
    $Configuration['EnabledPlugins']['AllViewed'] = TRUE;
    $Configuration['EnabledPlugins']['embedvanilla'] = TRUE;
    $Configuration['EnabledPlugins']['Signatures'] = TRUE;
    $Configuration['EnabledPlugins']['SplitMerge'] = TRUE;
    $Configuration['EnabledPlugins']['NBBC'] = TRUE;
    
    // Garden
    $Configuration['Garden']['Title'] = 'Musique Libre Forum';
    $Configuration['Garden']['Cookie']['Salt'] = 'IO83MA6A8W';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
    $Configuration['Garden']['Registration']['Method'] = 'Connect';
    $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '4432';
    $Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '';
    $Configuration['Garden']['Registration']['CaptchaPublicKey'] = '';
    $Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
    $Configuration['Garden']['Registration']['InviteRoles'] = 'a:2:{i:43;s:1:"0";i:4432;s:1:"0";}';
    $Configuration['Garden']['Email']['SupportName'] = 'M.L.O. Forum';
    $Configuration['Garden']['Email']['SupportAddress'] = 'contact@musique-libre.org';
    $Configuration['Garden']['Email']['UseSmtp'] = FALSE;
    $Configuration['Garden']['Email']['SmtpHost'] = '';
    $Configuration['Garden']['Email']['SmtpUser'] = '';
    $Configuration['Garden']['Email']['SmtpPassword'] = '';
    $Configuration['Garden']['Email']['SmtpPort'] = '25';
    $Configuration['Garden']['Email']['SmtpSecurity'] = '';
    $Configuration['Garden']['Version'] = '2.0.18.11';
    $Configuration['Garden']['RewriteUrls'] = FALSE;
    $Configuration['Garden']['CanProcessImages'] = TRUE;
    $Configuration['Garden']['Installed'] = TRUE;
    $Configuration['Garden']['InstallationID'] = 'XXXXX';
    $Configuration['Garden']['InstallationSecret'] = 'XXXXX';
    $Configuration['Garden']['Format']['Hashtags'] = FALSE;
    $Configuration['Garden']['Logo'] = 'I7806XDXJ75L.png';
    $Configuration['Garden']['Locale'] = 'fr-FR';
    $Configuration['Garden']['Theme'] = 'default';
    $Configuration['Garden']['Messages']['Cache'] = 'a:1:{i:0;s:6:"[Base]";}';
    $Configuration['Garden']['Html']['SafeStyles'] = FALSE;
    
    // Modules
    $Configuration['Modules']['Vanilla']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    $Configuration['Modules']['Conversations']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    
    // Plugins
    $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
    $Configuration['Plugins']['GettingStarted']['Categories'] = '1';
    $Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
    $Configuration['Plugins']['GettingStarted']['Registration'] = '1';
    $Configuration['Plugins']['GettingStarted']['Profile'] = '1';
    $Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
    $Configuration['Plugins']['EmbedVanilla']['RemoteUrl'] = 'http://musique-libre.org/asso/?page_id=90';
    
    // Routes
    $Configuration['Routes']['DefaultController'] = 'a:2:{i:0;s:11:"discussions";i:1;s:8:"Internal";}';
    
    // Themes
    $Configuration['Themes']['EmbedFriendly']['SingleColumn'] = FALSE;
    
    // Vanilla
    $Configuration['Vanilla']['Version'] = '2.0.18.11';
    $Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = '0';
    $Configuration['Vanilla']['Categories']['DoHeadings'] = FALSE;
    $Configuration['Vanilla']['Categories']['HideModule'] = FALSE;
    $Configuration['Vanilla']['AdminCheckboxes']['Use'] = TRUE;
    
    // Last edited by Unknown (66.249.65.1)2014-08-20 15:02:08
    

    I cannot access to my embeded forum. I have access through my default url.
    http://musique-libre.org/forum/index.php?p=/

  • Also - I would recommend not using vanilla 2.1, I would use vanilla 2.1.1 it has some bug fixes.

    Why don;t you make the changes that underdog suggested. then post the config.php that you are actually using.

    • fix the version numbers....

    you might try setting this to TRUE - so you use rewrite urls.

    $Configuration['Garden']['RewriteUrls'] = FALSE;

    then state whether you can access the dashboard. yes or no. (non-embedded.)

    then state whether you can access the dashboard. yes or no. (embedded.)

    then adjust your .htaccess and post that and state what folder your forum is located in.

    then precisely and accurately state the version you are using, and what you are using , and exactly what works under what conditions, after you make the changes.

    then remove this line

    $Configuration['Garden']['Registration']['InviteRoles'] = 'a:2:{i:43;s:1:"0";i:4432;s:1:"0";}';

    and reset inviteroles via the dashboard - since the 2.1 layout is different.

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

  • I have now access to my dashboard (permissions with database). But i have huge graphics problems with default themes. http://musique-libre.org/forum/
    I've set the setting :
    $Configuration['Garden']['RewriteUrls'] = FALSE; to TRUE.
    I have the 2.1.1 version according to my dashboard, but in my config.php this is not the same (don't know why). Do i change the number version in my config.php ?
    I remove embeded options.

    This is my .htaccess

    # Original
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /. 
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       # RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    
  • edited August 2014

    You need To fix the htaccess to this if rewrite URL true without the hash in front

    RewriteBase/forum

    Yes change the version number in the config.php to the correct version

  • K17K17 ✭✭✭

    e suis allé voir ton forum depuis mon téléphone, et le thème pour mobile ne fonctionne pas. Reste a savoir si c'est le même problème qu'avec les autres themes du forum.

  • K17K17 ✭✭✭
    edited August 2014

    J'ai vu que tu as NBBC d'activé mais je n'ai pas vu la ligne disant que ton forum tourne au BBCode.

    K17,
    Vanillaforums.fr

  • then adjust your .htaccess and post that and state what folder your forum is located in.

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

  • AisykAisyk New
    edited August 2014

    Thanks !

    Ok, line added in my .htaccess and modify the config.php.
    How can i have a better theme ? The always look with the categorys in the bottom on the page ? I precise i don't have a custom css... Where i can edit this ? It is the default theme !

    K17 : NBBC est activé dans les extensions... J'utilise le theme par défaut, il n'est pas compatible avec les téléphones mobiles ?!?

  • peregrineperegrine MVP
    edited August 2014

    How can i have a better theme?

    download a better theme or use a different one or buy one.

    If you are going to modify a theme, I would base it off bittersweet, or some other one, not the default.

    Use the Bittersweet theme's css and copy it into the design folder of your "new" theme

    https://github.com/vanilla/vanilla/blob/master/themes/bittersweet/design/custom.css

    You should NOT modify the default theme - it is easier to debug if you leave the default theme alone and create your new theme following the theme tutorials.

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

  • AisykAisyk New
    edited August 2014

    I don't modify the default theme it displays as is, and this is my main problem for now, even with the 2.1.1 migration. I'll try your solution with the css.
    Edit : Baseline theme have an error for me... what can i do to have a proper forum ?

  • peregrineperegrine MVP
    edited August 2014

    Baseline theme have an error for me...

    what error?

    I wasn't going to post a link on the documentation site for installation instructions. I couldn't find a link.
    maybe its just me. maybe its there, it certainly isn't easy to find if it is.

    I would re-install vanilla 2.1.1 from source zip

    follow there instructions exactly (especially step 4.)

    http://vanillaforums.org/discussion/26685/vanilla-2-1-stable-released/p1

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

  • edited August 2014

    You need two themes, one for the main desktop forum and one for the mobile.

    Please try and install my Yellow theme and also YellowMobile theme to test your problem .

    The mobile theme, you need to add the $Configuration to the config.php so it chooses the one you want when views on mobile.

    $Configuration['Garden']['MobileTheme'] = 'name of your mobile theme goes here';

    Vous avez besoin de deux thèmes, l'un pour le forum de bureau principal et un pour le mobile.

    S'il vous plaît essayer et installer mon thème Yellow et aussi YellowMobile thème de tester votre problème.

    Le mobile thème, vous devez ajouter la configuration à l'config.php il choisit celui que vous voulez lorsque vues sur mobile.

    $Configuration ['Garden'] ['MobileTheme'] = 'nom de votre thème mobile va ici';

    Also you must delete any plugin settings that are serialized from the config.php, example:

    'a:2:{i:43;s:1:"0";i:4432;s:1:"0";}'

    Disable the plugins with serialized data, Delete any plugin settings that look like that. Then you must enable it again and enter the settings again from the dashboard settings for the plugin and save.

  • peregrineperegrine MVP
    edited August 2014

    His problems will most likely go away, if he follows the installation instructions as suggested before

    I would re-install vanilla 2.1.1 from source zip

    follow the instructions exactly (especially step 4.) in the link below

    http://vanillaforums.org/discussion/26685/vanilla-2-1-stable-released/p1

    he has skipped steps.

    then he needs to post his config.php after he has made the suggested changes that underdog and I suggested. and post his new .htaccess as we all suggested. and then explain what his problems are, and post a screenshot.

    changing themes is not going to help him with the default theme, which is what he should test things with, it will just mask things.

    and perhaps answer what he decided to pick and choose from this comment and what he neglected to do:
    http://vanillaforums.org/discussion/comment/214036/#Comment_214036

    @Aisyk
    can you access your dashboard and resolved your permissions, if so this thread should be closed and new questions started.

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

  • AisykAisyk New
    edited August 2014

    Hi,

    Stpe 6 is not possible, i don't see any "utility/update" on my installation and in this file "vanilla-core-2.1.1.zip".
    With your modifications and step4, my forum isn't accessible for now, just dashboard... :/
    http://musique-libre.org/forum/

    I have the error message :

    Smarty error: the $compile_dir '/var/www/clients/client0/web4/web/forum/cache/Smarty/compile' does not exist, or is not a directory.
    The error occurred on or near: /var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php
    
    1109:      * @param integer $error_type
    
    1110:      */
    
    1111:     function trigger_error($error_msg, $error_type = E_USER_WARNING)
    
    1112:     {
    
    1113:         trigger_error("Smarty error: $error_msg", $error_type);
    
    1114:     }
    
    1115: 
    
    1116: 
    
    1117:     /**
    
    Backtrace:
    
    /var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.phpPHP::Gdn_ErrorHandler();
    
    [/var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1113] PHP::trigger_error();
    
    [/var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/internals/core.write_compiled_resource.php:20] Smarty->trigger_error();
    
    [/var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1451] PHP::smarty_core_write_compiled_resource();
    
    [/var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1274] Smarty->_compile_resource();
    
    [/var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php:1126] Smarty->fetch();
    
    [/var/www/clients/client0/web4/web/forum/library/core/class.smarty.php:124] Smarty->display();
    
    [/var/www/clients/client0/web4/web/forum/library/core/class.controller.php:1847] Gdn_Smarty->Render();
    
    [/var/www/clients/client0/web4/web/forum/library/core/class.controller.php:1310] Gdn_Controller->RenderMaster();
    
    [/var/www/clients/client0/web4/web/forum/library/core/class.pluggable.php:210] Gdn_Controller->xRender();
    
    [/var/www/clients/client0/web4/web/forum/applications/vanilla/controllers/class.discussionscontroller.php:166] Gdn_Pluggable->__call();
    
    [/var/www/clients/client0/web4/web/forum/applications/vanilla/controllers/class.discussionscontroller.php:166] DiscussionsController->Render();
    
    [/var/www/clients/client0/web4/web/forum/applications/vanilla/controllers/class.discussionscontroller.php:166] DiscussionsController->Index();
    
    [/var/www/clients/client0/web4/web/forum/library/core/class.dispatcher.php:350] PHP::call_user_func_array();
    
    [/var/www/clients/client0/web4/web/forum/index.php:46] Gdn_Dispatcher->Dispatch();
    
    Variables in local scope:
    
    [error_msg] 'the $compile_dir \'/var/www/clients/client0/web4/web/forum/cache/Smarty/compile\' does not exist, or is not a directory.'
    
    [error_type] 256
    
    Need Help?
    
    If you are a user of this website, you can report this message to a website administrator.
    
    If you are an administrator of this website, you can get help at the Vanilla Community Forums.
    Additional information for support personnel:
    
        Application: Vanilla
        Application Version: 2.1.1
        PHP Version: 5.4.4-14+deb7u12
        Operating System: Linux
        Server Software: Apache/2.2.22 (Debian)
        User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
        Request Uri: /foru m/
        Controller: PHP
        Method: trigger_error
    

    On my dashboard, i have theses errors :

        Info    Need to re-index theme cache
        Info    Need to re-index plugin cache 
    

    Where can i do this ?!?

    P.S : your smiley add-on is very intrusive...

  • AisykAisyk New
    edited August 2014

    My config.php

    <?php if (!defined('APPLICATION')) exit();
    
    // Conversations
    $Configuration['Conversations']['Version'] = '2.1.1';
    
    // Database
    $Configuration['Database']['Name'] = 'XXXX';
    $Configuration['Database']['Host'] = 'localhost';
    $Configuration['Database']['User'] = 'XXXX';
    $Configuration['Database']['Password'] = 'XXXX';
    
    // EnabledApplications
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    
    // EnabledLocales
    $Configuration['EnabledLocales']['French'] = 'fr-FR';
    
    // EnabledPlugins
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['EnabledPlugins']['jsconnect'] = TRUE;
    
    // Garden
    $Configuration['Garden']['Title'] = 'Musique Libre Forum';
    $Configuration['Garden']['Cookie']['Salt'] = 'secret';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
    $Configuration['Garden']['Registration']['Method'] = 'Connect';
    $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '4432';
    $Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '';
    $Configuration['Garden']['Registration']['CaptchaPublicKey'] = '';
    $Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
    $Configuration['Garden']['Registration']['InviteRoles'] = 'a:2:{i:43;s:1:"0";i:4432;s:1:"0";}';
    $Configuration['Garden']['Email']['SupportName'] = 'M.L.O. Forum';
    $Configuration['Garden']['Email']['SupportAddress'] = 'skip';
    $Configuration['Garden']['Email']['UseSmtp'] = FALSE;
    $Configuration['Garden']['Email']['SmtpHost'] = '';
    $Configuration['Garden']['Email']['SmtpUser'] = '';
    $Configuration['Garden']['Email']['SmtpPassword'] = '';
    $Configuration['Garden']['Email']['SmtpPort'] = '25';
    $Configuration['Garden']['Email']['SmtpSecurity'] = '';
    $Configuration['Garden']['Version'] = '**2.0.18.11**';
    $Configuration['Garden']['RewriteUrls'] = TRUE;
    $Configuration['Garden']['CanProcessImages'] = TRUE;
    $Configuration['Garden']['Installed'] = TRUE;
    $Configuration['Garden']['InstallationID'] = 'XXXX';
    $Configuration['Garden']['InstallationSecret'] = 'XXXX';
    $Configuration['Garden']['Format']['Hashtags'] = FALSE;
    $Configuration['Garden']['Locale'] = 'fr-FR';
    $Configuration['Garden']['Theme'] = 'default';
    $Configuration['Garden']['Messages']['Cache'] = 'a:1:{i:0;s:6:"[Base]";}';
    $Configuration['Garden']['Html']['SafeStyles'] = FALSE;
    $Configuration['Garden']['HomepageTitle'] = 'Musique Libre Forum';
    $Configuration['Garden']['Description'] = '';
    
    // Modules
    $Configuration['Modules']['Vanilla']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    $Configuration['Modules']['Conversations']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    
    // Plugins
    $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
    $Configuration['Plugins']['GettingStarted']['Categories'] = '1';
    $Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
    $Configuration['Plugins']['GettingStarted']['Registration'] = '1';
    $Configuration['Plugins']['GettingStarted']['Profile'] = '1';
    $Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
    $Configuration['Plugins']['EmbedVanilla']['RemoteUrl'] = 'http://musique-libre.org/asso/?page_id=90';
    $Configuration['Plugins']['EmbedVanilla']['ForceRemoteUrl'] = FALSE;
    $Configuration['Plugins']['EmbedVanilla']['EmbedDashboard'] = '1';
    
    // Routes
    $Configuration['Routes']['DefaultController'] = array('discussions', 'Internal');
    
    // Themes
    $Configuration['Themes']['EmbedFriendly']['SingleColumn'] = FALSE;
    
    // Vanilla
    $Configuration['Vanilla']['Version'] = '2.1.1';
    $Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = '2';
    $Configuration['Vanilla']['Categories']['DoHeadings'] = FALSE;
    $Configuration['Vanilla']['Categories']['HideModule'] = FALSE;
    $Configuration['Vanilla']['Categories']['Layout'] = 'modern';
    $Configuration['Vanilla']['AdminCheckboxes']['Use'] = TRUE;
    $Configuration['Vanilla']['Discussions']['Layout'] = 'modern';
    $Configuration['Debug'] = TRUE;
    
    // Last edited by aisyk (109.24.239.23)2014-08-25 06:17:42
    

    My .htaccess

    # Original
    # If you modify this file then change the above line to: # Modified
    <IfModule mod_rewrite.c>
       RewriteEngine On
       # Certain hosts may require the following line.
       # If vanilla is in a subfolder then you need to specify it after the /. 
       # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
       RewriteBase /forum
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
    </IfModule>
    
  • AisykAisyk New
    edited August 2014

    I've do this things :

    ``Troubleshooting Tips

    These are some generic tips for addressing problems during an upgrade.

    Set $Configuration['Debug'] = TRUE; in your conf/config.php to reveal full error messages. Remember to remove it when you are done.
    

    OK

    Clear your browser cache and cookies, then restart your browser.

    OK

    Clear *.ini files from the cache folder.

    OK

    Revert to the default theme. You can do this manually in conf/config.php by setting the $Configuration['Garden']['Theme'] value to default.

    OK

    Disable plugins. If you cannot get to your Dashboard, you can manually delete lines containing EnabledPlugins in conf/config.php but do not remove HTMLawed's line.

    OK
    Try running /utility/update again (see upgrade instructions).

    Cannot do it, file isn't exist

    Verify your permissions are correct for every role. Then go to /role/defaultroles and confirm your default roles are set correctly.

    Cannot do it, /role/defaultroles don't exists

    Start a new discussion on this site with your version number (likely 2.1 if you're reading this), the exact error message you got, and what you were doing when you got it.

    Cannot connect to the forum

  • edited August 2014

    to run utility update enter this in the browser address bar

    http://musique-libre.org/forum/utility/update

    I just ran it for you but it is a Failure

    The update was not successful.

    That means you need to possibly re upload the files.

    You may need to remove this entire thing bellow from config.php

        // Modules
        $Configuration['Modules']['Vanilla']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
        $Configuration['Modules']['Conversations']['Content'] = 'a:6:{i:0;s:13:"MessageModule";i:1;s:7:"Notices";i:2;s:21:"NewConversationModule";i:3;s:19:"NewDiscussionModule";i:4;s:7:"Content";i:5;s:3:"Ads";}';
    
       $Configuration['Garden']['Messages']['Cache'] = 'a:1:{i:0;s:6:"[Base]";}';
    

    Replace with this:

    // Modules
    $Configuration['Modules']['Dashboard']['Panel'] = array('MeModule', 'UserBoxModule', 'ActivityFilterModule', 'UserPhotoModule', 'ProfileFilterModule', 'SideMenuModule', 'UserInfoModule', 'GuestModule', 'Ads');
    $Configuration['Modules']['Dashboard']['Content'] = array('MessageModule', 'MeModule', 'UserBoxModule', 'ProfileOptionsModule', 'Notices', 'ActivityFilterModule', 'ProfileFilterModule', 'Content', 'Ads');
    $Configuration['Modules']['Vanilla']['Panel'] = array('MeModule', 'UserBoxModule', 'GuestModule', 'NewDiscussionModule', 'DiscussionFilterModule', 'SignedInModule', 'Ads');
    $Configuration['Modules']['Vanilla']['Content'] = array('MessageModule', 'MeModule', 'UserBoxModule', 'NewDiscussionModule', 'ProfileOptionsModule', 'Notices', 'NewConversationModule', 'NewDiscussionModule', 'DiscussionFilterModule', 'CategoryModeratorsModule', 'Content', 'Ads');
    $Configuration['Modules']['Conversations']['Panel'] = array('MeModule', 'UserBoxModule', 'NewConversationModule', 'SignedInModule', 'GuestModule', 'Ads');
    $Configuration['Modules']['Conversations']['Content'] = array('MessageModule', 'MeModule', 'UserBoxModule', 'NewConversationModule', 'Notices', 'Content', 'Ads');
    

    Fix all of these to reflect the correct version, change to 2.1.1

    $Configuration['Garden']['Version'] = '2.0.18.11';

    Make sure to delete the default.master.php from the applications/dashboard/views/default.master.php

    make sure you don't delete the default.master.tpl

    Smarty error: the $compile_dir '/var/www/clients/client0/web4/web/forum/cache/Smarty/compile' does not exist, or is not a directory.

    The error occurred on or near: /var/www/clients/client0/web4/web/forum/library/vendors/Smarty-2.6.25/libs/Smarty.class.php

    This means you deleted the Smarty folder in the cache this will make your mobile theme not work.

    Please create an empty folder called Smarty and place another folder inside it called compile then add them to the cache folder of our forum. Be careful not to delete them again.

  • hgtonighthgtonight MVP
    edited August 2014

    the $compile_dir '/var/www/clients/client0/web4/web/forum/cache/Smarty/compile' does not exist, or is not a directory.

    Do you have a /cache/Smarty/compile directory? Is it writable?

    EDIT - I just re-read @vrijvlinder‌'s post. Sorry for the double up of information.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Thanks !

    I have access of my forum and the theme is now looking better.
    I have a /cache/Smarty/compile directory. It is writable.

    I still have the :

    Info    Need to re-index theme cache
    Info    Need to re-index plugin cache 
    

    How can i resolve them ?

Sign In or Register to comment.