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-10-06 20:00:46

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

ERROR JSON.lua:458... after update

Hi all,

after updating to backlight 1.0.5 I received the following error in Lightroom:

An internal error has occurred: JSON.lua458: JSON.lua:197: cant parse JSON at char 1 of: Backlight is not yet configured. Please login to Backlight at /backlight/ to continue.

I updated as it is described in the readme.txt


What to do???

thx + best regards,
Oliver

Offline

#2 2016-10-06 20:19:02

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

Re: ERROR JSON.lua:458... after update

Hi, what is the URL to your site, and what setting are you using for the API URL in Publisher?  What was the last action you performed when you saw the message?

Offline

#3 2016-10-06 20:28:58

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: ERROR JSON.lua:458... after update

Hi Ben,

the url is www.oliver-blum.com
http://oliver-blum.com/backlight/publisher/

The message appeared, when I dobleclick on a published album in Lightroom.

I also updated the ttgpublisher plugin as mentioned.

Offline

#4 2016-10-06 20:50:25

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

Re: ERROR JSON.lua:458... after update

Thanks for the further details.  Does it continue to happen? 
Can you email me the file ttg.log found in the Documents directory so I can look further into this?  Please do so by clicking on the Email link under my name.

Offline

#5 2016-10-06 20:59:24

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: ERROR JSON.lua:458... after update

where to find ttg.log exactly?

Offline

#6 2016-10-06 21:00:31

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

Re: ERROR JSON.lua:458... after update

On Windows, it's under My Documents.  On a Mac, it's under Documents in your home directory.

Offline

#7 2016-10-06 21:01:24

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: ERROR JSON.lua:458... after update

found it but its 110mb!

Offline

#8 2016-10-06 21:03:16

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: ERROR JSON.lua:458... after update

created a new one and will send it to you

Offline

#9 2016-10-06 21:04:19

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

Re: ERROR JSON.lua:458... after update

It should shrink right down if you zip it.  Another option is to rename it, then double click on your album again (or do whatever is necessary to show the new error), and email me the new and smaller ttg.log file.

Offline

#10 2016-10-06 21:12:32

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

Re: ERROR JSON.lua:458... after update

Thanks for the file.  I'm looking into it.

Offline

#11 2016-10-06 21:51:59

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

Re: ERROR JSON.lua:458... after update

Hi Oliver, I have found the problem and applied a fix.  Please re-download Backlight and replace the single file backlight/framework/dao/SQLiteHandler.php

The underlying cause is that the check for the Cart module incorrectly fails when the cart has not been installed.  My apologies for this issue that did not come up in testing.

Offline

#12 2016-10-06 21:58:27

volvoxturbo
Member
From: Barcelona - Frankfurt - Rome
Registered: 2012-11-12
Posts: 247
Website

Re: ERROR JSON.lua:458... after update

Problem solved, genius :-)

Thank you very much Ben!

best regards,
Oliver

Offline

#13 2016-10-07 00:57:46

tenpinmark
Member
Registered: 2016-04-20
Posts: 17

Re: ERROR JSON.lua:458... after update

Thanks Ben for sorting quickly - I too had this issue and was just about to "redo" a lot of work in case I had made a mistke! You're support of this product is amazing!

Offline

#14 2016-10-07 08:30:19

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

Re: ERROR JSON.lua:458... after update

Thanks for your kind words smile

Offline

#15 2016-10-09 15:58:51

jeffwrightphoto
New Member
Registered: 2016-07-30
Posts: 1

Re: ERROR JSON.lua:458... after update

Ben wrote:

Hi Oliver, I have found the problem and applied a fix.  Please re-download Backlight and replace the single file backlight/framework/dao/SQLiteHandler.php

The underlying cause is that the check for the Cart module incorrectly fails when the cart has not been installed.  My apologies for this issue that did not come up in testing.

This error affected me as well. No cart installed.

Offline

#16 2016-10-09 16:41:51

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

Re: ERROR JSON.lua:458... after update

Did the fix work for you?

Offline

#17 2016-10-09 17:51:08

alfred
Member
Registered: 2013-06-08
Posts: 134

Re: ERROR JSON.lua:458... after update

Had the same problem and the fix worked for me.

Alfred

Offline

#18 2016-10-12 00:23:28

Leuvenaar230
Member
From: Leuven, Belgium
Registered: 2015-08-17
Posts: 97
Website

Re: ERROR JSON.lua:458... after update

This solved also the problem with me Ben.

Offline

#19 2016-10-12 02:50:37

bossed
Member
From: Örebro, Sweden
Registered: 2013-03-17
Posts: 6
Website

Re: ERROR JSON.lua:458... after update

Had the same problem, but the fix did solve it.

Offline

Board footer

Powered by FluxBB