Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Fatal error: Call to a member function setFetchMode() on boolean

Asked Modified Viewed 3,732 times
S
Sc077
S
Sc077 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

I tried upgrading last night and keep getting this error when I log in.
Fatal error: Call to a member function setFetchMode() on boolean in /home4/b0q1m6p4/public_html/includes/classes/PHPFusion/Database/Driver/PDOMySQL.php on line 150

Just a white page with this error and the inability to go anywhere else.
Any help?
I tried the latest PDOMySQL.php from github to no avail.
0 replies

1 post

C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

Go to config.php, and change:

$pdo_enabled = 1;


$pdo_enabled = 0;


There is an error in your query or connection. When you go for the less secured mysqlSQL Driver at least you can get a report on your errors. Then turn on your PDO enabled to 1 after you fix your query.

I find it more secure with PDO to halt the site. I will go PDO when I go live post development. But when I doing coding, PDO is always off.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
S
S
Sc077 10
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet