Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
I just update and get this error in both Backlight and on my site:
Something went wrong
Unexpected error: Module 'sqlite3' already loaded in Unknown on line 0
Kyle Lucy Photography
kylelucy.com
Offline
Some pages of my site work fine, but the home page with a slideshow are broken, and the main galleries page doesn't load at all.
Last edited by kmlucy (2020-05-01 03:07:31)
Kyle Lucy Photography
kylelucy.com
Offline
did you update from Backlight 1 or 2?
What steps did you take?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I updated from Backlight 2. I purchased the upgrade, logged into Backlight, navigated to Admin > Backlight Modules, and clicked 'Update All' under 'Backlight'
Kyle Lucy Photography
kylelucy.com
Offline
You can see the error live at kylelucy.com. There is a large red error bar at the bottom of my homepage, and the galleries link just leads to an error page.
Kyle Lucy Photography
kylelucy.com
Offline
Thanks, Kyle. Ben will need to take a look when he's online again. I reckon he'll be waking up in a few hours.
Offline
Hi Kyle, this looks like a misconfiguration at your host. The sqlite3 module is being loaded twice in the configuration. Do you have access to configure your own php.ini file, perhaps sitting immediately in your public_html or www directory? If so, can you see whether there's a line that looks like this:
extension=sqlite3
If so, try commenting it out with a leading semi-colon, so that it looks like this:
;extension=sqlite3
The same idea applies if you have access to php.ini files elsewhere. If this advice doesn't help then you'll need to talk to your host's technical support.
Offline
Ben,
I do have access to my php.ini, but it doesn't have that line in it. sqlite3 is enabled in my PHP extension selection however.
Kyle Lucy Photography
kylelucy.com
Offline
Hi Kyle, can you try disabling it there and seeing whether that solves the problem and that the site does operate?
Offline
Disabling it there seems to have fixed the issue. Is it loaded by Backlight separately? It was working fine like that with Backlight v2.
Kyle Lucy Photography
kylelucy.com
Offline
I'm glad that solved it. Backlight uses the module but doesn't load it. That's the job of the php.ini files and system bootstrapping. I can't see how any of the changes from BL2 to BL3 would have affected this.
Can you take a look at your PHP Info (link available und Special Links on the main Backlight admin page) and make sure that there is a section for Sqlite3. That page should also tell you where the php.ini files are located. It may be the case though that the actual loading of sqlite3 is handled via a separate config file under conf.d of the same directory as the server's main php.ini file.
Offline
There is a section for sqlite3, though there isn't much info under it. It looks like the php.ini is loaded from a path I don't have access to. I believe the php.ini file I was looking at is only used to generate the user.ini, so it only has a few options that I've set.
Kyle Lucy Photography
kylelucy.com
Offline