Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur: Undefined class constant 'SI_DRIVER_SQLITE3' in StorageAdapter/PDO.php file #93

Closed
maxson007 opened this issue Nov 29, 2019 · 1 comment

Comments

@maxson007
Copy link

Tag: 4.0.1
file

StorageAdapter/PDO.php

generate erreur in line 208:
change self to /Securimage class

            if ($this->database_driver == self::SI_DRIVER_SQLITE3 &&
                $err[1] === 1 && strpos($err[2], 'no such table') !== false)
            {
                return false;
            }

Solution:

            if ($this->database_driver == \Securimage::SI_DRIVER_SQLITE3 &&
                $err[1] === 1 && strpos($err[2], 'no such table') !== false)
            {
                return false;
            }
Maescool added a commit to Maescool/securimage that referenced this issue Mar 4, 2020
@dapphp
Copy link
Owner

dapphp commented May 30, 2020

Merged in Maescool's changes.

@dapphp dapphp closed this as completed May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants