Fatal Error during initial install
  • Fatal error: Call to a member function EnabledPluginFolders() on a non-object in /home/site_name/public_html/bb/library/core/functions.general.php on line 58

    Getting that error when accessing the bb/ folder (where the code was uploaded) write perms were also added to cache and images.
    Tagged:
  • TimTim
    Posts: 1,547
    A couple of people have been reporting this. I think it is a bug with a new thing that @Todd has been working on. You might have success if you replace that line (line 58 of library/core/functions.general.php) with the following code:

    $PluginFolders = (Gdn::PluginManager() instanceof Gdn_PluginManager) ? Gdn::PluginManager()->EnabledPluginFolders() : array();

    Let me know how that goes for you?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • TimTim
    Posts: 1,547
    Actually, a more elegant fix would be to change line 57 to:
    if ($LibraryPath === FALSE && Gdn::PluginManager() instanceof Gdn_PluginManager) {

    Leave line 58 the way it was:
    $PluginFolders = Gdn::PluginManager()->EnabledPluginFolders();

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • changing line 57 results in:

    Fatal error: Class 'PDO' not found in /home/site_name/public_html/bb/conf/config-defaults.php on line 16
  • ithcyithcy
    Posts: 1,290
    @mattm you probably don't have PHP Data Objects (PDO) installed on your webserver. It's part of the requirements for Vanilla.

    from http://www.vanillaforums.org/page/Requirements:

    Server Requirements

    * PHP version 5.2.0 or newer
    * file_uploads = on
    * PHP Data Objects module
    * PDO_MySQL module must be enabled
    * GD version 2.0 or newer (optional, but required for profile pictures)
    * cURL or Sockets (to allow plugin sandboxing)
  • I just tried to install Vanilla and received this error. I don't know how to check my server specs, I sent an email to my host but don't expect a reply for a long while, is there a way I can pull that info online myself?!?

    This is the error...
    Fatal error: Call to a member function EnabledPluginFolders() on a non-object in /home/lloop/public_html/ithelpcrew.com/soho/library/core/functions.general.php on line 42
  • TimTim
    Posts: 1,547
    What version of Vanilla did you try to install?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • lela1lela1
    Posts: 2
    Hello everyone:O)
    I just installed Vanilla and it looked fine until I actually opened the administrator and tried to go to the Discussions. Surprisingly I can not open this tab. It gives me the error: "Parse error: syntax error, unexpected ',', expecting '(' in /hermes/web09/b2468/as.newsshower/public_html/Forum-Heliocentrism/bootstrap.php on line 64"

    The site Url is:
    http://www.newsshower.com/Forum-Heliocentrism/ and I cannot open that either.

    However, I am able to log in as an administrator at
    http://www.newsshower.com/Forum-Heliocentrism/people.php

    I am lost, please, help.
    Thanks,
    Lela:O)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

Who's Online 3

JhauraWpaintballer82422