3

Just attempted to install Expresso Store and I get the following warning and error and I am unable to proceed:

A PHP Error was encountered

Severity: Warning

Message: Class 'Store\Illuminate\FakePDO' not found

Filename: store/autoload.php

Line Number: 50

and

...expressionengine/third_party/store/vendor/expressodev/laravel-codeigniter-db/src/Illuminate/CodeIgniter/CodeIgniterConnectionResolver.php on line 24

I am running EE 2.8.1.

  • Does the "store/autoload.php" file exist in your install? – Anna_MediaGirl Jun 16 '14 at 21:06
  • Yes it does exist. – fmz Jun 16 '14 at 22:12
4

This is a known issue running Store on some servers (where PDO is not installed), and is fixed in the upcoming version.

In the meantime, you can open up third_party/store/autoload.php, and around line 50, change this line:

class_alias('Store\Illuminate\FakePDO', 'PDO');

to this:

class_alias('Illuminate\CodeIgniter\FakePDO', 'PDO');
  • Hi Adrian, I was able to get PDO installed on the server, so everything is working now. This is good to know though and I appreciate your help. – fmz Jun 17 '14 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.