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 2018-09-10 16:16:32

Crizz
Member
From: the Netherlands
Registered: 2013-03-26
Posts: 101
Website

Publisher error after update BL2

Hi Backlighters,

After updating to BL2, I get the following error in LR publisher:

JSON.lua:458: JSON.lua:197: can't parse JSON at char 1 of: Unable to load template: ../backlight/modules/module-admin/application/views/templates/template_home.php

I use plugin version 3.2.3.1 that came with BL1.

I tried to uninstall and reinstall, but the error comes back.

Regards,

Offline

#2 2018-09-10 17:09:56

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

Re: Publisher error after update BL2

Hi, can you update to the new version of the plugin and see if that solves it?  You can find the link to download the LR Publisher on the page at Backlight > Backlight Modules.  In any case, you need to be using the latest version of our LR Publisher with BL2.

Offline

#3 2018-09-10 17:47:43

Crizz
Member
From: the Netherlands
Registered: 2013-03-26
Posts: 101
Website

Re: Publisher error after update BL2

Updated and installed version 4.0

Still getting the error:
JSON.lua:458: JSON.lua:197: can't parse JSON at char 1 of: Unable to load template: ../backlight/modules/module-admin/application/views/templates/template_home.php

I am also getting this error when I do a authentication check in LR.

Last edited by Crizz (2018-09-10 18:05:02)

Offline

#4 2018-09-10 18:18:31

dchew
Member
From: Northeast Ohio
Registered: 2016-05-15
Posts: 38
Website

Re: Publisher error after update BL2

This is a similar error I was getting. A few things to check:
1. Make sure "publisher" is spelled correctly in the API path. Mine was not; I assumed it was my error, but I am not sure how that line gets loaded.

2. I reinstalled 4.0 twice. The second time that path was still spelled incorrectly; once I fixed that it worked. I do still get errors, but it is always on the first try. If I publish (or create New Album) a second time, it works and finds/loads the templates.

Dave

Offline

#5 2018-09-10 18:20:35

Crizz
Member
From: the Netherlands
Registered: 2013-03-26
Posts: 101
Website

Re: Publisher error after update BL2

Checked the files on the server, there seems not to be any file called templates_home.php inside the directory.
I have reinstalled all modules without joy.

Offline

#6 2018-09-10 18:23:58

Crizz
Member
From: the Netherlands
Registered: 2013-03-26
Posts: 101
Website

Re: Publisher error after update BL2

Hi Dave,

I checked it double, it was spelled correctly. I have reinstalled the 4.0 now four times and still getting the error.
Unable to publish any image.

Offline

#7 2018-09-10 18:43:14

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

Re: Publisher error after update BL2

Can you email me a Backlight admin login and also your Publisher key?  (change it to something you can share if needed).

Offline

#8 2018-09-10 21:34:23

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

Re: Publisher error after update BL2

I think the problem may be caused by BL1 files being left on your server.  Is the directory /backlight/publisher still on your server?  If so, it needs to be removed.

Offline

#9 2018-09-11 01:34:44

Crizz
Member
From: the Netherlands
Registered: 2013-03-26
Posts: 101
Website

Re: Publisher error after update BL2

Hi Ben,

Done, send you the mail.
The directory is not on the server.

Last edited by Crizz (2018-09-11 01:35:48)

Offline

#10 2018-09-11 07:52:14

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

Re: Publisher error after update BL2

It looks like an error with the redirect tripping up Publisher.  Adding www into the API URL field should fix it.

Offline

Board footer

Powered by FluxBB