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.

PDO issues

edited March 2013 in Vanilla 2.0 - 2.8

So naturally I get this error when installing... You must have the PDO module enabled in PHP in order for Vanilla to connect... blah blah. So I ran this fix - http://vanillaforums.org/discussion/13811

but now get this... Fatal error: Undefined class constant 'PDO::ATTR_DEFAULT_FETCH_MODE' in /home/emily/public_html/vanilla/phppdo/phppdo.php on line 361

Any ideas?

Comments

  • I'm slowly working through the various errors... now getting this

    Fatal error: require_once() [function.require]: Failed opening required '/vanilla/phppdo/phppdo.php' (include_path='.:/opt/php53/lib/php') in /vanilla/library/database/class.database.php on line 29

    line 29 reads - $this->ClassName = get_class($this); require_once($_SERVER['DOCUMENT_ROOT'].'/external/vanilla/phppdo'. '/phppdo.php');

  • vanilla is based on PDO, that fix is unofficial. Most hosts should able to support PDO, if not move to another.

    grep is your friend.

  • solved! My host finally got it configured correctly. :) Thanks!

Sign In or Register to comment.