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

Addons don't show up in control panel

After upgrading to 2.1, most of the addons were broken, so I restored 2.0.18. Everything seemed to work fine, until I've realized that themes and most of the addons don't show up in control panel, although they are still working fine. Anyone has a hint on what I've inadvertently broken?

Comments

  • Options
    peregrineperegrine MVP
    edited May 2014

    addon will not showup in your control panel fi you have the wrong permissions on the plugins folder and the plugins themselves they have to be readable at the very least. and ALL files and folders in the plugins have to be readable by your apache or nginx (owner and/or group) or whatever process.

    the other thing to do is list your add-ons that you are trying to enable if they don't enable.

    the best practice in my opinion is to disable all add-ons prior to upgrading and then enable each plugin after an upgrade.

    • and check here and add to it for compatibility with 2.1 (funny how few people are adding to this to help others)

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1#latest

    • and closely follow the instructions for upgrading in the message (announcement re:2.1)

    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
    jllbjllb New
    edited May 2014

    Wow! thank you for the prompt answer!
    plugins folder and php files have permission 755, while the other files have permission 644, is this right?

    It seems to me that editing config.php I can control directly the enabled plugins, but it would be nice to be able to do it again using the panel :-(

    The addons used are :

    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['EnabledPlugins']['Emotify'] = TRUE;
    $Configuration['EnabledPlugins']['Flagging'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaInThisDiscussion'] = TRUE;
    $Configuration['EnabledPlugins']['FileUpload'] = TRUE;
    $Configuration['EnabledPlugins']['Gravatar'] = TRUE;
    $Configuration['EnabledPlugins']['PostCount'] = TRUE;
    $Configuration['EnabledPlugins']['Signatures'] = TRUE;
    $Configuration['EnabledPlugins']['WhosOnline'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaStats'] = TRUE;
    $Configuration['EnabledPlugins']['EMailSubscribe'] = TRUE;
    $Configuration['EnabledPlugins']['Participated'] = TRUE;
    $Configuration['EnabledPlugins']['SplitMerge'] = TRUE;
    $Configuration['EnabledPlugins']['Tagging'] = TRUE;
    $Configuration['EnabledPlugins']['ThankfulPeople'] = TRUE;
    $Configuration['EnabledPlugins']['Multilingual'] = TRUE;
    $Configuration['EnabledPlugins']['MyProfile'] = TRUE;
    $Configuration['EnabledPlugins']['AddonManager'] = TRUE;
    $Configuration['EnabledPlugins']['RegisterPM'] = TRUE;
    $Configuration['EnabledPlugins']['cleditor'] = TRUE;
    $Configuration['EnabledPlugins']['Quotes'] = TRUE;
    $Configuration['EnabledPlugins']['Voting'] = TRUE;
    $Configuration['EnabledPlugins']['GoogleAdSenseSidePanel'] = TRUE;
    $Configuration['EnabledPlugins']['AllViewed'] = TRUE;
    $Configuration['EnabledPlugins']['Analytics'] = TRUE;
    $Configuration['EnabledPlugins']['AuthorTimeView'] = TRUE;
    $Configuration['EnabledPlugins']['ApprovalEmailNotification'] = TRUE;
    $Configuration['EnabledPlugins']['StopForumSpam'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaAntiSpam'] = TRUE;
    $Configuration['EnabledPlugins']['Tapatalk'] = TRUE;
    $Configuration['EnabledPlugins']['BotStop'] = TRUE;
    $Configuration['EnabledPlugins']['Pockets'] = TRUE;
    $Configuration['EnabledPlugins']['AdSense'] = TRUE;
    
  • Options
    peregrineperegrine MVP
    edited May 2014

    you need to be very specific. TWO completely different issues.

    are the plugins displaying in your dashboard,

    or is it you can't enable plugins in the dashboard.

    if you can't enable any plugin that is compatible with 2.1 as shown here:
    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1

    then you have the wrong permissions on either your conf folder or your /conf/config.php

    yes, you can take shortcuts by modfiying the config.php and making a plugin TRUE, you may also be up the creek if the plugin changes routing or updates the database structure, or creates a fatal error in vanilla 2.1. You can decide if you want to follow the correct steps i.e. enabling via dashboard, or the shortcut which may give you problems.

    you've got a long list of plugins, one would expect once you test them, you will be able to add to

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1

    I can see already you have several plugins that will crash your system if you haven't upgraded to 2.1 version of plugins (and some may still need mods to work).

    that is why I suggested enabling one by one (preferably via dashboard) and test after you enable each one. it is purely up to you to heed this advice.

    before upgrading to 2.1 it is best to ensure that the plugin you absolutely need to use will work in 2.1, by researching the forum. It is better to do the upgrade with some knowledge and not to panic, and revert to older version because you didn't study things ahead of time. Numerous people make an attempt, have an easy solveable issue, but panic and revert to previous version, and then in turn create even more problems for themselves.

    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

    you need to be very specific. TWO completely different issues.
    are the plugins displaying in your dashboard,

    No, they are not. This is a screenshotof the dashboard where it is shown that there are no themes and only three addons (locales, adsense and addon manager) of 33 active addons are showing up. No inactive addon is shown either.

    I am using vanilla 2.0.18. This happened when I messed up things coming back to 2.0.18 after trying 2.1.
    I think permissions of config files are right, they are set to 755.

    However, plugins are working. They just don't show up in dashboard. Maybe I broke something in the database? The only thing that occurs to me is to manually disable plugins one by one to check if some of them are causing this issue. Is this advised? Is there something else that can be tried?

    I have a backup of the database, but I am somewhat reluctant to use it since a few messages (and perhaps some member) will be lost.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited May 2014

    You should see if you have the folders for plugins and for themes .
    I would disable the plugins in the config.php specially Pockets

    Don't disable :

    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';

  • Options

    @vrijvlinder said:
    You should see if you have the folders for plugins and for themes .
    I would disable the plugins in the config.php specially Pockets

    Yes, there is a /plugins directory as well as a /themes one.
    I've tried to disable all plugins, but dashboard is still broken, so I've enabled them back again.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited May 2014

    did you also delete the .ini files from the cache after disabling them ?

    You may need to reinstall again by simply overwriting the folders via ftp. This time use the stable 2.1 and do not enable the plugins until things are working normally.

    When you enable a plugin that is not compatible via the dashboard to force it on, it will break your forum .

    Do you understand ?

    When you upgrade, you need to have all plugins disabled or know from the start that they work and are compatible.

    so if you want to fix this, I suggest you disable the plugins then delete the ini files in the cache.

    Then overwrite the folders one by one via ftp . Make sure you delete the ini files again after you finish uploading the files. And also delete the files inside the Smarty compile folder.

    Check that you don't have a default.master.php in the dashboard/views folder.

    After you see things working normally again, then enable plugins one by one. If a plugin won't enable that means you need to update it.

    If a plugin send you to blank setting page, you need to update the plugin.

    If a plugin breaks something , do not use it.

  • Options
    peregrineperegrine MVP
    edited May 2014

    you need to read the information we provide and follow the steps in the installation process correctly.

    did you read the installation steps? did you understand them?

    I would go here: read step 3 several times.

    do the whole install process over.

    disable your plugins first (except for htmllawed (leave it alone).

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

    then reread the comments we posted.

    then go here:

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

    enabling all your plugins that you have, which clearly will break 2.1 is madness.

    reread this as well:

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1

    I believe we will be circling over and over, until you follow the steps, write down what you do in each step and post exactly what you are doing as you do each step.

    don't panic, proceed logically.

    and post a screenshot of the folders in filezilla of your plugins folder and who owns them and their permissions.

    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 May 2014

    you could also do this.

    1

    if step 3 in the installation instructions doesn't help.

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


    2

    remove the following lines from your config.php

    $Configuration['EnabledPlugins']['Emotify'] = TRUE;
    $Configuration['EnabledPlugins']['Flagging'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaInThisDiscussion'] = TRUE;
    $Configuration['EnabledPlugins']['FileUpload'] = TRUE;
    $Configuration['EnabledPlugins']['Gravatar'] = TRUE;
    $Configuration['EnabledPlugins']['PostCount'] = TRUE;
    $Configuration['EnabledPlugins']['Signatures'] = TRUE;
    $Configuration['EnabledPlugins']['WhosOnline'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaStats'] = TRUE;
    $Configuration['EnabledPlugins']['EMailSubscribe'] = TRUE;
    $Configuration['EnabledPlugins']['Participated'] = TRUE;
    $Configuration['EnabledPlugins']['SplitMerge'] = TRUE;
    $Configuration['EnabledPlugins']['Tagging'] = TRUE;
    $Configuration['EnabledPlugins']['ThankfulPeople'] = TRUE;
    $Configuration['EnabledPlugins']['Multilingual'] = TRUE;
    $Configuration['EnabledPlugins']['MyProfile'] = TRUE;
    $Configuration['EnabledPlugins']['AddonManager'] = TRUE;
    $Configuration['EnabledPlugins']['RegisterPM'] = TRUE;
    $Configuration['EnabledPlugins']['cleditor'] = TRUE;
    $Configuration['EnabledPlugins']['Quotes'] = TRUE;
    $Configuration['EnabledPlugins']['Voting'] = TRUE;
    $Configuration['EnabledPlugins']['GoogleAdSenseSidePanel'] = TRUE;
    $Configuration['EnabledPlugins']['AllViewed'] = TRUE;
    $Configuration['EnabledPlugins']['Analytics'] = TRUE;
    $Configuration['EnabledPlugins']['AuthorTimeView'] = TRUE;
    $Configuration['EnabledPlugins']['ApprovalEmailNotification'] = TRUE;
    $Configuration['EnabledPlugins']['StopForumSpam'] = TRUE;
    $Configuration['EnabledPlugins']['VanillaAntiSpam'] = TRUE;
    $Configuration['EnabledPlugins']['Tapatalk'] = TRUE;
    $Configuration['EnabledPlugins']['BotStop'] = TRUE;
    $Configuration['EnabledPlugins']['Pockets'] = TRUE;
    $Configuration['EnabledPlugins']['AdSense'] = TRUE;
    

    3

    delete the plugins folder entirely (keep a copy on your local pc if you must)

    recopy the plugins folder from the "downloaded core source code that you downloaded to your install.
    and verify permissions are correct for the plugin folder and all the plugins in that folder and all files in those plugins.


    make sure you are using the default theme or the bittersweet theme.

    check to see if you see the plugins in your dashboard.


    4

    download a plugin that you want that have proven to be compatible in 2.1 by

    http://vanillaforums.org/discussion/26703/plugins-themes-that-work-and-don-t-work-in-vanilla-2-1

    verify that it works.

    download another plugin

    verify that it works. can be enabled. and doesn't crash your forum

    and repeat.


    5

    also add this if you are still have a problem, and view the errorlog.

    To Enable logging:
    add these statements to your config.php

    $Configuration['Garden']['Errors']['LogEnabled'] = TRUE;
    $Configuration['Garden']['Errors']['LogFile'] = 'log/DebugLog';
    

    create a log folder off of the root folder of your forum

    e.g. if your forum resides in /forum

    create a folder (directory) called log

    give it read write and execute permissions. depending on ownership of files and what the owner of your web process.

    775

    you also may want to try this as linc suggested.

    fyi, 666 or 664 is the permission. You only need a '7' or '5' if you're writing a shell script, basically. PHP and log files don't execute.

    whatever works for you.

    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

    Thank you, @peregrine and @vrijvlinder‌ for the help. I've updated to 2.1 following your indications and it seems the dashboard is working well again.

Sign In or Register to comment.