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.

Can't enable any plugins, not even default

edited June 2010 in Vanilla 2.0 - 2.8
Hi I can't enable any plugins, not even the default ones. I disabled the Getting started plugin and tried to renable and I get the messege "urlencode() expects parameter 1 to be string, array given". This is the same for all plugins.

This is a clean install of RC1 installed in a subfolder, any help would be dandy.

Comments

  • Try disabling .htaccess and see what happens. Also you should enable the debugging error page. You can do that by adding this to the config file (/conf/config.php):

    $Configuration['Garden']['Errors']['MasterView'] = 'deverror.master.php';
  • .htaccess is disabled and string added to config.php and same behavior and no error info any different from before.

    Any more ideas?
  • Hi,
    I'm having the same problem. Vanilla 2 installed in a 'forums' subdirectory on my subdomain.
    Cannot enable/disable any plugins...
  • I think I found the solution at least if you have vanilla installed in a subdirectory
    Make sure both these values are added in your config.php file

    $Configuration['Garden']['WebRoot'] = 'forums/';
    $Configuration['Garden']['Cookie']['Path'] = '/forums';
  • Unfortunately that did not fix it for me.
  • TimTim Vanilla Staff
    Delete the WebRoot config variable, we don't require that anymore. With regard to that error, does it tell you what line number and what file triggered it?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • I'm getting these in my Apache log files:


    Wed Jun 16 20:54:18 2010] [error] [client ::1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3053): [client ::1] r->uri = /*.php.php.php.php.php.php.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php.php.php.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php.php.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = /*.php
    [Wed Jun 16 20:54:18 2010] [debug] core.c(3059): [client ::1] redirected from r->uri = *
  • I hadn't noticed the generated config.php file didn't have the right perms. That fixed it for me.
Sign In or Register to comment.