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.

2
  • Does the "store/autoload.php" file exist in your install?
    – Anna_MediaGirl
    Jun 16, 2014 at 21:06
  • Yes it does exist.
    – forrest
    Jun 16, 2014 at 22:12

1 Answer 1

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');
1
  • 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.
    – forrest
    Jun 17, 2014 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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