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.
You are not logged in.
Pages: 1
After updating to Backlight 2 and the Lightroom publisher module, on any Publish command, I am getting the following Warning:
Can't Update this Collection
Unable to perform actions: uploadRendition
Message: Unexpected error: Call to undefined function
exif_read_data() in Image Resizer.php on line 92
No doubt I've missed something ...
Thanks for the help. Don
Offline
Hi Don, it looks like the exif module is missing on your server. Can you see whether that can be enabled within your host’s control pane or ask your technical support to enable it?
Offline
Thanks Ben. So is use of exif data new in Backlight 2? I can't see anything within cPanel re exif or whether it is enabled. Maybe from WHM? I share a server and haven't messed with this kind of stuff for years.
Offline
you can also log into Backlight and in the main dashboard click on List PHP Modules under Special Links
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod.
So at the top of the PHP List for 5.4.45 under "Configure Command", there is an '--enable-exif' ... and then closer to the end of the command string, a '--disable-exif'. I guess the second one wins.
Is editing the Configure Command in the domain of cPanel or WHM?
But is exif use new in Backlight 2?
Don
Offline
Ben will need to answer your questions.
I don't know if the exif module being used is new for Backlight 2. I didn't see anything about it in the Changelog.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks again Rod. I didn't think 1->2 had anything like this ... which is why I think I've missed something. But exif isn't there...and that's the error.
Don
Offline
Fetching the exif data from the image itself is new functionality in Backlight 2. This is to allow handling of images directly within Backlight so that images can be handled outside of LR.
I need to add checks for the EXIF module before attempting to use the function, and also review whether accessing exif_ functions can be avoided when images are coming from LR.
Offline
Sounds good Ben. I will get '--enable-exif' going in my php config ... and when done confirm it is all working.
Don
Offline
I am getting a different Can't update this collection message:
Unable to perform action: uploadRendition
Message: Unexpected error: Undefinted index:
existingPhotold in PublisherDelegate.php on line 734
The recalcitrant line:
ErrorHandler::trace('existingPhotoId: '.$parameters['existingPhotoId']);
I hope I have done that correctly!
All other help would be greatly appreciated, since I succeeded in upgrading one of our websites to Backlight2 and am now embarking on the other.
Thanks,
TBC
Last edited by TBC (2019-02-07 21:36:17)
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
Did you also install the latest Publisher Lightroom plug-in?
You should also be sure to upgrade to the latest version of Backlight that was releases yesterday.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thought I did, Rod. Actually deleted current plugin and reloaded it, then restarted LR. When I get this sorted out, I'll update to the latest BL2.
Meanwhile, Publisher claims to be version 4.0.
And it still does not work.
I updated the site to BL2, but I should double check on exactly where the new index.php and .htaccess files should go
Within backlight or at the top level of the website directory.
Thanks, as always, Rod,
TBC
Last edited by TBC (2019-02-07 22:55:00)
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
Download the Publisher plugin from your Backlight Modules Page (link on the Backlight dashboard page under Quivk Links). It’s near the top.
While you’re there, click on the “Update All” link to update your Backlight installation
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yup, did that again! Hmmm!
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
Please remind this ditz of how to update the BL2 version.
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
Log into Backlight.
Click on the Backlight Modules link
Click any links that indicate an update is available
http://backlight.theturninggate.net/doc … nd_updates
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Did that, too, and double checked a couple of times. The versions match in all cases.
More hmmm!
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
Is there some file that might have a residual http instead of https? If so which ones and location of same.
Thanks, I hope.
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
Which site are you updating? Your main bcphotoadventures site has not been updated yet.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Is there some file that might have a residual http instead of https? If so which ones and location of same.
Thanks, I hope.
Nothing that should affect updates. But you’d need to scrub through any copy text.mphphlugins, and custom css that might be calling other assets, like page images.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Not worried about the workshop site right now, as it is functional.
The https://www.BC-FineArtPhotography.com site
Meanwhile, is there a "scrubber" that works with Backlight2? Without knowing where text.mphplugins may reside, I am at a loss. I already went through the custom css for the site.
Take care,
TBC
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
When I say scrub, I mean actually look at your pages' text for any links that are http rather than https. Same with your phplugins file and your custom css.
You can just open your phplugins file with a text editor and search for http
if you send me login info for the fine arts site, I can poke around and check for things
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks, Rod. I'll do via e-mail.
Take care,
TBC
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
And just updated https://www.BCphotoadventures.com
... piece of cake with BL2!!!
TBC (The Barefoot Contessa, alias Margo Taussig Pinkerton)
https://www.BCphotoadventures.com/
https://www.BC-FineArtPhotography.com/
perpetual works in progress
Offline
This is caused by a combination of the Backlight publisher code assuming that the value for the existing Photo ID (i.e. the id of the photo used internally within Backlight) is being passed from the LR Publisher. That would only be the case for the latest LR Publisher.
The remedy is (as you're aware) to update to the latest LR Publisher. I have also put in a hot fix in the Backlight publisher code to remove this dependency, which shouldn't have been there in the first place. If you've already managed to update the LR Publisher then it won't be necessary to update the Backlight publisher. To do so, visit Backlight Modules, then click on "Reinstall" for the line for module-publisher.
Offline
Pages: 1