Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » PDO, sake problems

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2049 Views
  • haswalt
    Avatar
    Community Member
    16 Posts

    PDO, sake problems Link to this post

    Hi,

    im' trying you version 2.3 and playing with the new command line sake. Whenever i try to run it i get the following error:

    PHP Fatal error: PDO: driver oci requires PDO API version 20060409; this is PDO version 20060511 in Unknown on line 0

    Does everything go through PDO now? If not why is this being a problem since PDO should never be called.

    I'm using a pretyt much clean install on MySQL.

    Harry

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: PDO, sake problems Link to this post

    I think some of geoff's PDO abstraction may have made it back into 2.3 though Im not sure. Seems like the newer version of PDO may break SS as your error says. Can you run db/build/ and any of the dev/ tools via the webbrowser rather then sake? Does it work then

  • haswalt
    Avatar
    Community Member
    16 Posts

    Re: PDO, sake problems Link to this post

    /dev works fine in the browser, it's literally a command line issue.

    I have found that if you don't have $_FILE_TO_URL_MAPPING set in a _ss_environment.php file, the error still displays but the commands work.

    With this set it shows the error and quits immediately.

    Harry

    2049 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.