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)
Aisyk
New
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
0
Comments
I see a couple of things:
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
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.
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
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
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
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.
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.
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 ?!?
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.
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 ?
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.
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.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
His problems will most likely go away, if he follows the installation instructions as suggested before
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.
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 :
On my dashboard, i have theses errors :
Where can i do this ?!?
P.S : your smiley add-on is very intrusive...
My config.php
My .htaccess
I've do this things :
``Troubleshooting Tips
These are some generic tips for addressing problems during an upgrade.
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
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
Replace with this:
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
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.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
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 :
How can i resolve them ?