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
Thanks! I'll contact my web host.
I'll email the PHP and FTP stuff to you.
Hi Ben,
I made the edit to PublisherDelegate.php and now attempting to publish a new original image and a virtual copy both result in a error on line 628. I have emailed the TTG.log files of both before and after the edit to PublisherDelegate.php as well as the FTP access to my web site. I also changed the permissions to 755 of /galleries/ and all files within it.
Thank you for looking into this!
Eric
Thanks for looking at this!
I have have an "unmetered" server account so I assume I'm not over my storage limit. I did try deleting one image and then tried publishing again to add another image and I still got:
Can’t update this collection.
Unable to perform action: uploadRendition
Message: move_uploaded_file(/home/erichjoh/public_html/galleries/Cars/photos/EHJ_150918_181A0518.jpg): failed to open stream: Permission denied in PublisherDelegate.php on line 628
Then on my web site I see that the previously-published image I tried to delete is still there. So I deleted from the collection the new image I was trying to add—leaving just the previously-published image to delete as the only thing to update with Publish—and tried again. That worked—the previously-published image is gone from my web site presumably freeing up space for a new image.
I then tried adding a different image to that gallery and tried Publishing that one but still got:
Can’t update this collection.
Message: move_uploaded_file(/home/erichjoh/public_html/galleries/Cars/photos/EHJ_150918_181A0524.jpg): failed to open stream: Permission denied in PublisherDelegate.php on line 628
I re-downloaded Backlight-Pages-123-Release2, deleted backlight/publisher from my server and replaced it with the re-downloaded backlight/publisher. I logged in to http://erichjohnson.com/backlight/admin/?a=login and accessed the Publisher page making no changes.
Nevertheless, I still get this for one gallery:
Can’t update this collection.
Unable to perform action: uploadRendition
Message: Unexpected error: Undefined index: id in PublisherDelegate.php on line 598.
and this message for another gallery when trying to add a different image:
Can’t update this collection.
Unable to perform action: uploadRendition
Message: move_uploaded_file(/home/erichjoh/public_html/galleries/Cars/photos/EHJ_150918_181A0518.jpg): failed to open stream: Permission denied in PublisherDelegate.php on line 628
I also replaced TTG-Publisher.lrplugin and verified via Lightroom’s Plug-in Manager that TTG Publisher 3.3.3 is enabled and re-loaded it and quit and restarted Lightroom only to get the same error messages.
The permissions for backlight/publisher were 755. I changed backlight/publisher to 777 along with all that it enclosed. I still got the same errors.
(1) I updated to Backlight-Pages-123-Release2 as instructed and tried adding an image to a gallery via TTG Publisher and got this message.
Can’t update this collection.
Unable to perform action: uploadRendition
Message: Unexpected error: Undefined index: id in PublisherDelegate.php on line 598
Attempting to add an image to a different gallery fails with a different message.
Can’t update this collection.
Unable to perform action: uploadRendition
Message: move_uploaded_file(/home/erichjoh/public_html/galleries/Cars/photos/EHJ_150918_181A0518.jpg): failed to open stream: Permission denied in PublisherDelegate.php on line 628
Thinking this might be a permissions issue, I changed the permissions to 777 for Backlight/Publisher and all its contents but the errors persist.
Updated images that already exist in the gallery publish just fine.
============
(2) Right-clicking on any collection within TTG Publisher provides a menu that includes the option, Go To Published Album. While this option yields that gallery for some collections for other collections it produces:
Paradox 404!
You've found a page that does not exist.
The galleries do exist and can be navigated to using the same page that displays the 404 error. I’ve never before used this Go To Published Album option, so I’m fine that it doesn’t work perfectly. So this is just FYI.
Thanks! I tried permissions 755 and 777, the error messages persisted. I'll send you my FTP access information.
A few weeks back I did the update to Backlight 123. Via my Admin login I accessed the Admin sections of Backlight, Designer and Publish. I got update messages from each. I also copied the new TTG-Publisher.lrplugin to replace the previous version. It looked like it was working.
For the last couple days I have been getting error messages from the Backlight Admin login http://erichjohnson.com/backlight/admin/?a=login and when attempting to access my website erichjohnson.com
Today I repeated the Backlight 123 update using Transmit 4.4.13 to
first remove/delete and then upload the specified directories and files. That didn’t make it work any better.
I get the following when I try to access my Backlight Login (http://erichjohnson.com/backlight/admin/?a=login) …..
session_start(): open(../../backlight/framework/../data/sessions/sess_soh91ltepeakjfmj9o2qn3skq6, O_RDWR) failed: Permission denied (13)|#0 [internal function]: ErrorHandler::handleError(2, 'session_start()...', '/home/erichjoh/...', 74, Array) #1 /home/erichjoh/public_html/backlight/framework/helpers/AuthHelper.php(74): session_start() #2 /home/erichjoh/public_html/backlight/framework/init.php(123): AuthHelper::handleSession() #3 /home/erichjoh/public_html/backlight/admin/index.php(24): require_once('/home/erichjoh/...') #4 {main}|URL: /backlight/admin/index.phpUnknown: open(../../backlight/framework/../data/sessions/sess_soh91ltepeakjfmj9o2qn3skq6, O_RDWR) failed: No such file or directory (2)|Unknown|0
and I get this when I try to access erichjohnson.com
session_start(): open(./backlight/framework/../data/sessions/sess_soh91ltepeakjfmj9o2qn3skq6, O_RDWR) failed: Permission denied (13)|#0 [internal function]: ErrorHandler::handleError(2, 'session_start()...', '/home/erichjoh/...', 74, Array) #1 /home/erichjoh/public_html/backlight/framework/helpers/AuthHelper.php(74): session_start() #2 /home/erichjoh/public_html/backlight/framework/init.php(123): AuthHelper::handleSession() #3 /home/erichjoh/public_html/index.php(19): require_once('/home/erichjoh/...') #4 {main}|URL: /index.phpUnknown: open(./backlight/framework/../data/sessions/sess_soh91ltepeakjfmj9o2qn3skq6, O_RDWR) failed: No such file or directory (2)|Unknown|0
That was it!
Thank you so much. I've wrestled with this for hours.
Thanks! I hadn't thought of looking at the Publisher options in Lightroom.
On my Galleries page I have two lines of text displayed:
Page copy
Designer, Templates, Default Album Set, Album Copy
The source for the second line is self-descriptive.
Where, oh where in my experiments, did I manage to enter the "Page Copy" text?
Setting permissions for User, Group and World to Read, Write and Execute for all files within my "dev" folder appears to have fixed it. I now get Backlight's Login screen.
I use hostmatters.com
Thanks!
I copied these to my site's folder: public_html/dev
.htaccess
backlight (folder and contents)
galleries (folder and contents)
index.php
Permissions verified as…
User: Read, Write, Execute
Group: Read, Execute
World: Read, Execute
Attempted login…
http://erichjohnson.com/dev/backlight/
changes to…
http://erichjohnson.com/dev/backlight/admin/
and yields these errors…
mkdir(): Permission denied|#0 [internal function]: ErrorHandler::handleError(2, 'mkdir(): Permis...', '/home/erichjoh/...', 144, Array) #1 /home/erichjoh/public_html/dev/backlight/framework/helpers/GenericApplicationHelper.php(144): mkdir('../../backlight...') #2 /home/erichjoh/public_html/dev/backlight/framework/helpers/AuthHelper.php(59): GenericApplicationHelper::makeDataDirectoryIfNeeded('../../backlight...') #3 /home/erichjoh/public_html/dev/backlight/framework/init.php(123): AuthHelper::handleSession() #4 /home/erichjoh/public_html/dev/backlight/admin/index.php(24): require_once('/home/erichjoh/...') #5 {main}|URL: /dev/backlight/admin/index.php
Pages: 1