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-01-05 06:05:04

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

CRG error message

In CRG I get the email confirmation like in the top of attached screenshot.
Clicking on a linked referenced image I get the error message in the screenshot

Any idea why?

error%20message.jpg

Offline

#2 2016-01-05 07:23:09

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

Re: CRG error message

Any idea why?

probably not without something real to look at. You might consider forwarding the email to Ben as well as a link to the album in question and admin credentials to ttg-be.

At one time there was a problem with links in those emails, but a subsequent version fixed it. Make sure the album is using a template from the current version of the CRG LR plug-in


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-01-05 08:03:42

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CRG error message

Because you have an error in Lightroom that's causing garbage to be spat out into the page. This usually indicated a bad install of the plugin in Lightroom. You should manually copy the plugin to the correct install location, and the plugin should be named just as in our documentation. Please verify that this is the case. If you double-clicked the package to install it, for example, that would cause such a problem.


Matt

The Turning Gate, http://theturninggate.net

Offline

#4 2016-01-05 18:29:11

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: CRG error message

Hi Matt
no "installation" issue on my side. Meaning that I have copied the plugin to the correct location without any renaming.
I'm running CRG 6.1.2 and TTG BE 2.0.3
In the last days I updated CRG from 6.1.0 to 6.1.2. Not sure, but I believe that there were no problems in the past.

Update process has been the following
Replace the CE4-CRG.lrwebengine, and restart Lightroom
Replace the ttg-be/crg/application directory
Replace the ttg-be/crg/lib directory
Log in as admin to ttg-be/crg/admin

@ Ben: Which information do you need to have a closer look at it?

Offline

#5 2016-01-05 18:56:27

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

Re: CRG error message

This is something happening in the gallery generation, so not something I could look into with the PHP code.

Offline

#6 2016-01-05 20:24:06

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

Re: CRG error message

I'm trying to remember under what circumstances I've seen the .lrwebengine code being output to a browser. I think it's happened before, but I'll have to search either the forum or old emails...

Regardless, I suggest forwarding that email to Matt, then, or posting a link to one of those pages that's displaying the error.


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

Offline

#7 2016-01-11 06:04:18

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: CRG error message

Hi Rod, did you have a chance to remember under what circumstances you've seen that problem in the past?

Offline

#8 2016-01-11 08:13:50

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

Re: CRG error message

No, I haven't. I suggest either posting a link to the page that shows that error or forwarding one of your CRG emails to Matt.


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

Offline

#9 2016-01-11 08:27:01

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: CRG error message

Ok, I will do so.
How can I "attach" a created CRG email in a PM to Matt?

Offline

#10 2016-01-11 08:36:00

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

Re: CRG error message

Just forward it to his email address. The link to his email is below his name in one of the above posts


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

Offline

#11 2016-01-11 10:41:26

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CRG error message

rod barbee wrote:

I'm trying to remember under what circumstances I've seen the .lrwebengine code being output to a browser. I think it's happened before, but I'll have to search either the forum or old emails...

This type of garbage gets spat out whenever Lightroom trips up on Lua during page generation.

The page I've seen renders correctly through the <head> and into the <body>, where the source code goes to hell just after <div id="page-content" class="page-content clearfix"> is opened.

At that point, any of several things can be happening, depending on which options are enabled.

1. Social media sharing buttons may appear here, if enabled.

2. The PHPlugins 'ttg_canvas_top' initiates here; being a Lua problem, however, this is most likely not the issue.

3. If password protection is enabled and the user is not logged in, a login form is called from here.

4. Breadcrumbs are called into the page; this is handled by publisher, not the plugin, so this is probably not the issue.

5. Finally, we reach out to publisher to get the image; this is probably not the issue, else there would be more HTML rendered into the page before the crash.

Most likely, the problem is password protection or social media. So I need to know what you have set up for your gallery template. You can also self-troubleshoot by disabling these features, or taking a hard look at your settings to see whether there are any odd characters in text inputs, or other potential snags. For example, quotation marks in text inputs, passwords comprised only of numbers, badly formed urls, etc. You're German, yes? I'm honestly not certain how or whether login credentials will handle things like umlauts or Eszett; if you're using either, try using alternatives.


Matt

The Turning Gate, http://theturninggate.net

Offline

#12 2016-01-12 06:00:29

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: CRG error message

Hi Matt,
it took me 4 hours to find the cause for this strange behavior hmm
here is the result:

Update to CRG 6.13 (don't know if this issue occurs before 6.10 - I believe that in the past (6.10) everything has been ok)
creation of about 40 test CRG template, activating one feature after another.
I did not use the sharing templates feature, I started with from scratch

Social Media Integration is the malefactor:
Activation of social media profile is working fine
Activation of open graph protocol in the social media sharing section is also working fine

BUT after activating the "display share buttons on page" feature I get the described issue.

What do you suggest to do now, I have no further idea ...

Offline

#13 2016-01-12 06:29:54

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

Re: CRG error message

Matt, I can duplicate this error.

It seems to go away if I move the Social Sharing buttons to the End of the Block rather than Beneath Navigation.

And when I move the Social Sharing icons back to Beneath Navigation, the problem returns.


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

Offline

#14 2016-01-12 06:37:23

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

Re: CRG error message

Matt, if you want to see the full error, I'll leave the gallery as is for now. You can see the full error here:
http://ce4.barbeephoto.com/galleries/ce … single.php


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

Offline

#15 2016-01-12 09:08:08

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CRG error message

Good to know we've found the cause. I will try to look into this during the week.

I'll need to check whether this is isolated to CRG, or whether it also affects other plugins. If anyone wants to run some additional tests on that, it would help to speed things along.

For now, I suppose the workaround is to relocate those buttons, or to disable them altogether.


Matt

The Turning Gate, http://theturninggate.net

Offline

#16 2016-01-12 13:24:42

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CRG error message

So, unless I've grossly underestimated the problem, I believe I have the fix. I've passed a copy of the update along to both of you via email, Rod and Thomas, for confirmation. Please let me know how it goes for you.

Cheers,
Matt


Matt

The Turning Gate, http://theturninggate.net

Offline

#17 2016-01-12 22:39:46

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

Re: CRG error message

works great.


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-01-12 23:15:35

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

Re: CRG error message

Matthew wrote:

I'll need to check whether this is isolated to CRG, or whether it also affects other plugins. If anyone wants to run some additional tests on that, it would help to speed things along.

Just tested a CE4 Gallery Single HTML album with share buttons below navigation and that works fine.
Same with a Highslide gallery's permalinks


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

Offline

#19 2016-01-13 06:10:47

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

Re: CRG error message

Hi Matt
good news, I can also confirm, working fine! Thanks

Offline

#20 2016-01-13 09:38:47

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: CRG error message

Excellent. I'll post the hotfix publicly later today. Exactly the same file you already have, so no need to download again.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB