In the forena report wrirer module, I've been trying with little success to deliver some sample tables in a sqlite database that would be delivered with my module. Every time i try and add data, with another tool... The pdo object instnatiation returns 1 instead of an object. Anyone actually get the Pdo sqlite driver to work? Dev environment is php 5.3 on mac osx 10.4 dave Sent from my iPad
Anyone actually get the Pdo sqlite driver to work?
Dev environment is php 5.3 on mac osx 10.4
I have PDO sqlite working in PHP 5.3 on Linux, but not via forena--I just have it installed on my workstation and I access it directly in a custom Drupal module. $dbh = new PDO('sqlite:/srv/http/db/sq_db.db'); Works fine. :)
Ok I'm guessing it mut be a macports pdo driver issue. Ill try working it from a linux box. Thanks, Dave Sent from my iPad On Jan 31, 2011, at 11:36 AM, Fred Jones <fredthejonester@gmail.com> wrote:
Anyone actually get the Pdo sqlite driver to work?
Dev environment is php 5.3 on mac osx 10.4
I have PDO sqlite working in PHP 5.3 on Linux, but not via forena--I just have it installed on my workstation and I access it directly in a custom Drupal module.
$dbh = new PDO('sqlite:/srv/http/db/sq_db.db');
Works fine. :)
participants (2)
-
Dave Metzler -
Fred Jones