Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SQLite3 Module howto


Go to End


3 Posts   1675 Views

Avatar
AreS

Community Member, 2 Posts

5 March 2015 at 4:36am

Hi,

i am struggling with SQLite3 modul and installing it in Silverstripe. I have copied the files to /framework and still I dont get this module to work. Everything is installed and working, Running a Debian with Nginx and PHP5-fpm.

Does anyone have a step by step howto install and get this module to work??

Regards
AreS

Avatar
AreS

Community Member, 2 Posts

5 March 2015 at 6:06am

Okay so I finally got SQLite modul to load, but when I fill in information path to db file and hit recheck I get this message:
Fatal error: Call to undefined method DatabaseAdapterRegistry::get_adapter() in /usr/share/nginx/www/framework/code/SQLiteDatabaseConfigurationHelper.php on line 60

Somewhat lost in space

Regards
AreS

Avatar
kinglozzer

Community Member, 187 Posts

6 March 2015 at 5:51am

Hi AreS,

Firstly, you shouldn’t copy the files into the /framework directory. You should put them in your document root in their own folder (e.g. named /sqlite3).

Secondly, it sounds like you’re using the wrong version of the module. If you’re using SilverStripe 3.1, you should be using this version of the sqlite module: https://github.com/silverstripe-labs/silverstripe-sqlite3/tree/1.3.

I’d also suggest looking into installing SilverStripe with composer, as it makes it much easier to manage which versions of which modules you should be using :) http://doc.silverstripe.org/en/getting_started/composer/

Loz