wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

SQLite3 support #430

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys, new server installation, i've installed sqlite from apt-get and loaded 
it into my php.ini.

According to my phpinfo page, sqlite is installed
sqlite3

SQLite3 support enabled
SQLite3 module version  0.7
SQLite Library  3.7.13

But whenever I try to run the install script, create the configuration.php, all 
I get is 
"SQLite not detected
Mollify cannot be installed to this system when SQLite is not available. Check 
your system configuration or choose different configuration type."

The web installer guide doesn't say I have to specify a db in the config file 
so I assumed that it will create on itself?

Thanks,

Original issue reported on code.google.com by wallacej...@gmail.com on 8 Jan 2013 at 10:46

GoogleCodeExporter commented 9 years ago
Installer simply checks if the sqlite library is available with following code: 
function_exists('sqlite_open')

So Mollify expects "just" SQLite (see http://php.net/manual/en/book.sqlite.php) 
when you have SQLite3 (see http://php.net/manual/en/book.sqlite3.php)

They have totally different API, and Mollify does not (yet) have SQLite3 
support.

Original comment by samuli.j...@gmail.com on 9 Jan 2013 at 8:11

GoogleCodeExporter commented 9 years ago
Added in version 2.1.6 (with settings db type "sqlite3")

Original comment by samuli.j...@gmail.com on 15 Oct 2013 at 11:21