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.

I am getting Fatal error when I try to install vanillaforums?

AFNAFN New
edited June 2011 in Vanilla 2.0 - 2.8
I am getting Fatal error when I try to install vanillaforums?

Fatal error: Class 'PDO' not found in /home/a8669056/public_html/conf/config.php on line 16

So I try removing this text:

$Configuration['Database']['ConnectionOptions'] = array(
PDO::ATTR_PERSISTENT => True,
1000 => True, // PDO::MYSQL_ATTR_USE_BUFFERED_QUERY is missing in some php installations
1002 => "set names 'utf8'" // PDO::MYSQL_ATTR_INIT_COMMAND is missing in PHP 5.3, so I use the actual value "1002" instead
);

but then I get this errors

* You must have the PDO module enabled in PHP in order for Vanilla to connect to your database.
* You must have the MySQL driver for PDO enabled in order for Vanilla to connect to your database.

Is their someway around this, so I can use Vanillaforims?

When this was created why did you require PDO to be enabled, is this to protect the code like Iconcube?

I am using 000webhost.com, the php info is at http://server20.000webhost.com/phpinfo.php

Best Answer

Answers

  • TimTim Vanilla Staff
    Answer ✓
    Vanilla has required PDO since day 1. There is no way around it.

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

  • What is the point of it and does it do exactly?
    Is it like Iconcube to protect the source code?
  • TimTim Vanilla Staff
    This is something you could have typed into google. How about you do that.

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

This discussion has been closed.