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 2015-01-27 16:28:31

JimR
Member
Registered: 2012-11-30
Posts: 348
Website

An internal error has occurred.

That's the message I get in LR when I attempt to edit an album set. The dialog includes this message.

TTGPublishServiceProvider.lua:376: attempt to concatenate field 'type' (a nil value)

Even if I create a new album set, I get that same error. See the log file below.

Another clue, if I change the Auto Index Template to "no index" and save. Then the next time I open it I don't get the error. But, it's still failing because I can change the Album Set's "page copy" and it doesn't change on the server. Attempting to edit the Album Set one more time puts me back at the beginning, getting the same error dialog.

Oddly the albums within the set are working. It's just failing to edit the Album Sets.

I've redone the Publisher 220 and TTG-BE 203 update. I've also redone creating the Auto-Index template (models) and then replaced that on the server as well.

This is a new problem in just the past few days. I can't tell you what caused it. And I'm completely lost understanding how to fix it.

The path to my staging area with the problem Album Set is: stage.reekes.net/photos/99models/


Here's the trace from the publisher/logs when I simply tried adding a new Album Set and then Edit it.

[27-Jan-2015 07:19:49] TRACE: NOT get_magic_quotes_gpc
[27-Jan-2015 07:19:49] TRACE: $json_parameters 2: {"action":"listAutoindexTemplates","galleryName":"photos"}
[27-Jan-2015 07:19:49] TRACE: API KEY: HIDDEN
[27-Jan-2015 07:19:49] TRACE: ========================================== [ listAutoindexTemplates ] ==========================================
[27-Jan-2015 07:19:49] TRACE: $parameters: Array(    [action] => listAutoindexTemplates    [galleryName] => photos)
[27-Jan-2015 07:19:49] TRACE: text for hashing: ttgce2publisher333{"action":"listAutoindexTemplates","galleryName":"photos"}
[27-Jan-2015 07:19:49] TRACE: cs: 0b94c82d03dae4aa09e48eb0b7b38243
[27-Jan-2015 07:19:49] TRACE: md5: 0b94c82d03dae4aa09e48eb0b7b38243
[27-Jan-2015 07:19:49] TRACE: Authenticated
[27-Jan-2015 07:19:49] TRACE: returning: {"templates":[{"title":"models","type":"unspecified"}],"crgFeedbackProfiles":[{"id":"1","title":"PROOFS"}],"status":"success"}
[27-Jan-2015 07:19:49] TRACE: NOT get_magic_quotes_gpc
[27-Jan-2015 07:19:49] TRACE: $json_parameters 2: {"action":"getThumbnails","galleryName":"photos","id":26839}
[27-Jan-2015 07:19:49] TRACE: API KEY: HIDDEN
[27-Jan-2015 07:19:49] TRACE: ========================================== [ getThumbnails ] ==========================================
[27-Jan-2015 07:19:49] TRACE: $parameters: Array(    [action] => getThumbnails    [galleryName] => photos    [id] => 26839)
[27-Jan-2015 07:19:49] TRACE: text for hashing: ttgce2publisher333{"action":"getThumbnails","galleryName":"photos","id":26839}
[27-Jan-2015 07:19:49] TRACE: cs: df8b9db10bbeb6fc5d777cfe346c8fbb
[27-Jan-2015 07:19:49] TRACE: md5: df8b9db10bbeb6fc5d777cfe346c8fbb
[27-Jan-2015 07:19:49] TRACE: Authenticated
[27-Jan-2015 07:19:49] TRACE: loaded 2 album sets
[27-Jan-2015 07:19:49] TRACE: path1: 
[27-Jan-2015 07:19:49] TRACE: returning: {"status":"success","thumbnails":[]}

--Jim

Offline

#2 2015-01-27 17:52:19

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

Re: An internal error has occurred.

Hi Jim, thanks for pointing this out.  This was trying to process a 'type' field which is found in Gallery and CRG templates but non-existent for Auto Index templates.  I have put in a hot fix, which can be found in a new download 2.2.0a.  The only component you need to upgrade is the Lightroom plugin.

Offline

Board footer

Powered by FluxBB