Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-11-08 03:03:52

eveall
Member
Registered: 2013-01-07
Posts: 105

Internal Error has occurred

Tried to update an album via publisher and got an error message:

"...internal error has occurred: JSON.lua:498: JSON.lua:197: can't parse JSON at char 1 of: Unable to find the SQLite Module..."

So...what do i do now?

Offline

#2 2016-11-08 03:28:51

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Internal Error has occurred


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2016-11-08 04:10:32

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

So updates will solve this?  I just assumed something was up with the server since there wasn't a problem last time I updated a gallery (2 weeks ago).  In that time I have been redoing my website so I'm wondering if there could be a conflict there.

Offline

#4 2016-11-08 04:37:27

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Internal Error has occurred

updated could solve it. But the rest of the page directs you to post links, etc. (including sending logs to Ben)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2016-11-08 08:07:57

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Internal Error has occurred

Hi.  As the message implies, the SQLite module could not be found.  I suggest you contact your host's technical support and request that they enable (or re-enable, as seems to be the case) the SQLite and SQLite PDO modules.

Offline

#6 2016-11-15 10:31:40

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

Hi guys, so i finally heard back from my host's technical support and they indicated that both SQLite and PDO modules are installed and enabled on the server.  So i'm not really sure where to go from here.  It's still not working and things are backing up.  Any ideas?

Thanks,

Steve

Offline

#7 2016-11-15 11:38:04

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Internal Error has occurred

have you sent the logs to Ben?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2016-11-15 11:50:55

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

Yes.  Last week.  I'm assuming he looked at them prior to responding here, but i'm not sure.

Offline

#9 2016-11-15 12:15:14

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Internal Error has occurred

I didn't make the connection between your email and this topic, sorry.  However, the logs aren't actually helpful in this case.

Can you create a PHP file and upload it to your public_html directory with the following contents:

<?php
$availableDrivers = PDO::getAvailableDrivers();
echo '<p>Available PDO drivers: <pre>'.print_r($availableDrivers, true).'</pre></p>';

if (in_array('sqlite', $availableDrivers)) {
	echo '<p>sqlite PDO driver is available</p>';
} else {
	echo '<p>sqlite PDO driver is <strong>NOT</strong> available</p>';
}
?>

This is the same logic used used by Backlight in determining availability of the necessary SQLite modules.
Once uploaded, open the file in your browser and let us know what the output is.  If sqlite is not listed and marked as not available, then I suggest providing the link to your host's support.

Offline

#10 2016-11-16 08:36:24

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

Hi Ben, thanks for that.  They ensure me both modules are working.  I just got off the phone with support.  So before i do what you are suggesting, I'm going to email you their suggestions which they want me to pass on to you.  Maybe you can make some sense of it.  Thanks.  Hope to get this working soon because I totally rely on your product!

Offline

#11 2016-11-16 08:51:12

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Internal Error has occurred

Thanks for the email.  Look under the PDO Drivers section on the PHP Info link they provided: it's empty ('no value').
It should have several entries, especially sqlite.  On my hosting, I have the following listed: dblib, mysql, odbc, pgsql, sqlite

Offline

#12 2016-11-16 09:15:30

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Internal Error has occurred

Further from my last post.  Your PHP Info has no sections for pdo_sqlite or sqlite3.  The modules are NOT setup and running correctly.

Offline

#13 2016-11-17 07:16:38

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

So i shared what you mentioned with the site5 support.  I didn't hear anything from them.  Just checked now and it's working.  And I see that what you mentioned as being missing is now there.  I wish I'd now what happened in the last couple of weeks, but it's wrong now and that's the most important part.

Once again, thanks so much for your support Ben!  You pointed the support team at the host provider in the right direction with specifics.  Awesome!

With thanks,

Steve

Offline

#14 2016-11-17 07:39:45

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Internal Error has occurred

Hi Steve,  I'm glad that it's solved now and to have been able to help.

Your PHP Info is looking much better!

Offline

#15 2016-11-17 09:09:14

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

Hi Ben, so I think i might have spoken too soon.  Not about the thanks, of course, but that everything was working.  The TTG-BE works now, but when I try to enter a client gallery, i get the same message as previous about the modules not enabled.  So frustrating!

Offline

#16 2016-11-17 09:15:28

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Internal Error has occurred

That's odd.  Can you provide a link to one of the galleries showing the error?

Offline

#17 2016-11-17 09:19:29

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Internal Error has occurred

try clearing browser cache too


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#18 2016-11-17 13:11:23

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

Hi Ben, I'll send you an email with some links in different folders.

Offline

#19 2016-11-17 21:14:47

eveall
Member
Registered: 2013-01-07
Posts: 105

Re: Internal Error has occurred

Thanks Ben, you fixed it!  Gave Ben access to the ftp and he did what the support team at my host provider couldn't.  Awesome support!

Last edited by eveall (2016-11-17 21:15:12)

Offline

Board footer

Powered by FluxBB