Image 01
profile-image

thorbenk

Thorben Kröger , Germany
PHPDigikam

Graphic Apps by thorbenk 6 comments

Hmm, this is weird. It's this line

$db->query('SELECT url, id FROM Albums')->fetchAll();

which should work as you said the database connection has been established.

What version of digikam are you using? My version here is 0.8.1, maybe the table layout is different...

If you've got time, you could use http://sqlitebrowser.sourceforge.net/ (use the binary, compiling didn't work for me) and look at digikam's database yourself...

Hmm, hope we can resolve this.

Thorben - Apr 09 2006
PHPDigikam

Graphic Apps by thorbenk 6 comments

PDO stands for PHP Data Objects (see http://www.php.net/PDO) and might have to be compiled into your php as an extension. It is used to open the sqlite database...

Are you using PHP5? Which distribution? I thought most distributions would compile in PDO...

Thorben - Apr 09 2006
PHPDigikam

Graphic Apps by thorbenk 6 comments

PDO stands for PHP Data Objects (see http://www.php.net/PDO) and might have to be compiled into your php as an extension. It is used to open the sqlite database...

Are you using PHP5? Which distribution? I thought most distributions would compile in PDO...

Thorben - Apr 09 2006