Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 Re: Backlight Support » Edit Contact Form » 2017-12-06 06:48:21

Ben
rod barbee wrote:

I'll be interested in what you come up with since I'd like to make some specialized forms of my own. Just haven't take the time yet to investigate it.

I should have stated that modifying Backlight isn't something we recommend or support.  We don't want hacks shared on this forum.

#2 Re: Backlight Support » Edit Contact Form » 2017-12-06 06:43:47

Ben

Hi Gary, the files Rod has pointed to won't help here.  There's no straightforward way for you to do what you'd like to do.  Contact Forms are driven by the database.

They're populated with the file backlight/modules/module-admin/application/views/contact/contact.php but that is only half the story.  If you were to add hardcoded fields in there, they wouldn't be picked up on submit as they're not in the database.  The structure is complicated further due to the historical nature of contact forms being bolted on to CE4.

More field types have come up on the radar before, and are something I'd like to add.  Checkboxes and radio buttons. 

Can you elaborate on what you thing an "HTML 5 feature-rich" contact form would entail?

#3 Re: Backlight Support » Template masthead images broken after website move » 2017-12-05 19:46:08

Ben

Hi Rick, there have been other reports of uploaded images not handling a change of site location.  I haven't yet found why that may be and haven't been able to replicate it.  We don't store a path with images.

#4 Re: Backlight Support » Can't update this collection error » 2017-12-05 18:46:52

Ben

I haven't had time to look yet.  I should state that I'm not trying to find the solution to your GoDaddy connection problems.  That is an issue that will not be revealed in .htaccess files.

#5 Re: Backlight Support » Can't update this collection error » 2017-12-03 15:54:18

Ben

I think that's a red herring.  The error quoted is caused by errors in an .htaccess file where it attempts to redirect to itself over and over again. 
I notice that your site http://www.caddinfo.com/ fails with a 500 error, which could be due to this problem.  Do you have an .htaccess file at the top of your site?  If so, what is it used for, and can you try disabling it by renaming the file to something else (e.g. .htaccess_disabled).

#6 Re: Backlight Support » Can't update this collection error » 2017-12-03 12:24:11

Ben

Thanks for that. I’ll need to investigate what that means. Do you think that’s the actual error that’s causing them to block access?

#7 Re: Backlight Support » Can't update this collection error » 2017-12-03 08:10:00

Ben

The uploads are performed in sequence.  Publisher will perform one action and wait for the response, before proceeding with the next.  e.g.

Publish 'photos' rendition of image an-image-0001.jpg
Get result of 'photos' rendition of an-image-0001.jpg
Publish 'thumbnails' rendition of image an-image-0001.jpg
Get result of 'thumbnails' rendition of an-image-0001.jpg
Publish 'photos' rendition of image an-image-0002.jpg
Get result of 'photos' rendition of an-image-0002.jpg
Publish 'thumbnails' rendition of image an-image-0002.jpg
Get result of 'thumbnails' rendition of an-image-0002.jpg
...

GoDaddy may be more helpful if you were to tell them your software vendor is looking for solutions to what they deem legitimate usage of the service, and that if they do not find a solution will have no option but to blacklist GoDaddy as a supported platform, affecting hundreds of customers who will need to find a new service.  (the hundreds may be an embellishment).  In the past, I have signed up with a host so that I could get such support myself.  I don't have the time or inclination to do that again.

#8 Re: Backlight Support » Can't update this collection error » 2017-12-03 07:12:38

Ben
hjrw wrote:

They are now thinking it has something to do with modsec which cannot be changed unless I move to a private, rather than shared server.

Which is why I am hesitant to provide any support for connectivity issues on GoDaddy. This modsec rule has been blocking legitimate use of our customers websites for years. I first encountered it with a third party Gallery plug-in a decade ago.

Can you please do your best to find out exactly what modsec rule is being triggered? By exactly, I mean the rule number and rule itself.

#9 Re: Backlight Support » Updating from older versions » 2017-12-02 20:45:25

Ben

Hi Paul, the readme.txt file in the zip indicates how to upgrade from earlier versions.

#10 Re: Backlight Support » meta tags for album sets » 2017-12-02 12:32:07

Ben

The omission of description for Top-level Galleries is an oversight.  We should add it to the Edit Top-level Gallery page, and make it retrievable.  I can't commit to when we might do so though.

#11 Re: Backlight Support » Confused: In Backlight cart only one product of two available » 2017-12-02 07:48:58

Ben

Hi Markku, thanks for the login.  I've found the problem.  The prints can't be added because the shipping methods for physical products are incomplete.
To fix this, log into Backlight, visit Cart > Pricing > Shipping, and edit each of the three shipping methods marked as Incomplete.  For each, review the prices and change as needed and click 'Save'.
Once done, visit http://www.kuvauspalvelurintala.fi/valo … t/?a=reset in the browser you are using to test, to clear the shopping cart from the customer's perspective.  (this link is also available under Special Links on the page by clicking 'Cart' when in Backlight)

#12 Re: Backlight Support » Site crashing » 2017-12-02 06:41:19

Ben

Hi Jim, interesting.. if this or a similar issue happens again, can you take a look at the named cache file and post the offending line?  The files can be found under backlight/data/designer/cache/

#13 Re: Backlight Support » Confused: In Backlight cart only one product of two available » 2017-12-01 20:09:04

Ben

Thanks Markku.  I see what you mean, but can't tell why the products aren't all there.  Can you email me a Backlight admin login (using the Email link in my signature) so that I can look into this?

#14 Re: Backlight Support » Can't update this collection error » 2017-12-01 16:42:37

Ben

12031 is a network error raised by Microsoft.  It is not a code our software produces.  I have just published 208 images to your server without error.

What we know:

1.You get errors publishing from your PC to your server.
2. I do not get errors publishing to your server
3. You have received errors publishing to my server
4. I get no errors publishing to my server

3 is an odd one since it was a different error.  Had you created an entirely new Publisher instance?  How far did you get with creating an album and publishing to it?  Please try creating a new instance, with a new album and publishing again.

At this point, it looks like the problem is not your server.  Depending on whether we can get 3 to work or not will allow us to work out whether the problem is on your PC/network, or only manifests itself when combined with your PC/network and your web server.

#15 Re: Backlight Support » Confused: In Backlight cart only one product of two available » 2017-12-01 16:24:19

Ben

Hi Markku, can you share a login so that we can see the gallery?

Try visiting http://www.kuvauspalvelurintala.fi/valo … t/?a=reset in the same browser that you're viewing the gallery in, to reset the cart from the customer's perspective.

#16 Re: Backlight Support » Errors publishing image to gallery with Backlight-Pages-123-Release2 » 2017-12-01 15:49:56

Ben

Thanks Erich.  This is the same problem you had earlier in November: The directories and files under galleries are owned by 'erichjoh', which your web server is trying to create files as 'nobody'. 

As it stands, you should be able to create new galleries under 'galleries', but not make changes to existing ones.  A good long term solution would be to ask your host to change the ownership of all files under galleries to 'nobody' (but not to galleries itself).   A less than ideal solution would be to set 777 permission on everything under galleries.

The one potential problem to the above advice is if your host changes the files ownership back to 'erichjoh' again at a later date.  They shouldn't.

#17 Re: Backlight Support » Can't update this collection error » 2017-12-01 14:33:20

Ben
hjrw wrote:

Ben...

Since you were able to upload an album to the GoDaddy server, can we rule that step out at this time?

We can't.  I am guessing your instantaneous failure is because once GoDaddy blocks your requests, they block them for 60 seconds.  Attempting to republish within those 60 seconds will result in an instantaneous failure.

As suggested above, the only reliable fix is to find another host.

#18 Re: CE4 Gallery » security patch » 2017-12-01 09:23:14

Ben

The security patch only applies to standalone galleries that don't use Publisher.  For those, they will need re-exporting and uploading.

If you are using Publisher then there is no need to change anything on your server.  Publisher-managed galleries do not suffer from the vulnerability.

#19 Re: Backlight Support » Errors publishing image to gallery with Backlight-Pages-123-Release2 » 2017-12-01 09:01:20

Ben

Thanks for the logs.  Interesting.  Your log files have entries like this:

{"status":"error","message":"Unexpected error: Undefined index: id in PublisherDelegate.php on line 598"}

This is reporting the error as I had intended.  My Backlight test server responds to the error like this (scroll to the right to see the full response):

{"status":"success","upload":{"filename":"20081211-0014_v1.jpg","type":"application\/octet-stream","size":113401},"asset":{"album_id":19086,"is_complete":"no","filename":"20081211-0014_v1.jpg","url":"http:\/\/backlight.local\/galleries\/album\/","title":"20081211-0014_v1.jpg","id":"19086_67254"},"photoId":"19086_67254"}{"status":"error","message":"Unexpected error: Undefined index: id in PublisherDelegate.php on line 598"}

It may be hard to see, but the difference is that my server responds with a 'successful' result, followed by an 'error' result.  Lightroom only sees the first part, completely overlooking the error.  My efforts to get my server to operate in the way that yours does haven't been successful.

Can you log into Backlight, click on the PHP Info on the Backlight landing page and let me know the version of PHP you are running?

For the remaining error, this still looks like a permissions issue.  Can you provide me with an FTP login so that I can try and find the problem?

#20 Re: Backlight Support » Removing Pages module from Backlight installation » 2017-12-01 08:54:12

Ben

As Rod said, just remove index.php and .htaccess from the top of your site.  There's no harm in leaving the other Pages module within Backlight's modules directory.

#21 Re: Backlight Support » Errors publishing image to gallery with Backlight-Pages-123-Release2 » 2017-11-30 20:02:43

Ben

Hi Eric,  solving the error for line 598 has been very tricky.  I like to be able to replicate errors so that I can verify they've been solved.  I can see where it is happening but have been unable to see the error within Lightroom.  I suspect that the behaviour of PHP in handling this error is specific to the version of PHP being run.  To cut a long story short, can you try making a change to this file:

/backlight/publisher/application/delegates/PublisherDelegate.php

Changing line 598 from this:

$destFilename = $valbum->createNameForVirtualCopy($photo['id'], $_FILES['file']['name']);

to this:

$destFilename = $valbum->createNameForVirtualCopy($photo_id, $_FILES['file']['name']);

FYI, this error would only have occurred on first publish of Virtual Copies.

I am interested in seeing what your server is returning.  Can you locate and email me the file ttg.log under your Documents directory on your PC or Mac?


For the error on line 628, can you try changing the permissions of /galleries/ and all files within it?  755 is a good starting point.

#22 Re: Backlight Support » Can't update this collection error » 2017-11-30 11:24:10

Ben

That sounds no good at all.. can you provide me with a Backlight login and FTP access?  I'll see what I can work out.

#23 Re: Backlight Support » Can't update this collection error » 2017-11-30 09:07:55

Ben

Thanks for confirming.  Can you email me with your API URL and Key, so that I can try it on my end?  (it's probably best to temporarily change the Key to something you can share.  This can be done in Backlight > Publisher > Settings).

#24 Re: Backlight Support » Can't update this collection error » 2017-11-30 07:32:45

Ben

I am hesitant to provide support for Publisher issues on a GoDaddy-hosted site.  Their denial-of-service detection has been blocking Publisher and related LR plugins for a decade or more.

The instantaneous nature of the error is interesting.  Can you copy out the API URL from your LR Publisher instance and paste it into a browser to see whether the server responds?  As an example, on a test site, I have

http://backlight.somethingchanged.com/backlight/publisher/

, which provides the expected output of

{"status":"error","message":"The page sent an action which was not available."}

#25 Re: General » Feature request - visualize finished art on your wall » 2017-11-29 06:30:11

Ben

Hi Jeff, knowing our market - technically inclined photographers who self-host their sites and use Lightroom - this would be a very niche product by the time you further refine the customer base to 2d artists.   I doubt very much it would be economically viable.

Board footer

Powered by FluxBB