Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 Re: Backlight 2 Support » Publisher Resizing Photos on Upload? » Today 05:41:14

Ben

The resizing is performed by completely different image engines between LR and Backlight, so the file sizes produced by the two will differ.  That includes the way that each handles the JPEG quality setting.

#2 Re: Backlight 2 Support » LR Publisher plugin 4.0.7 not functioning anymore » Today 05:37:17

Ben

The "etcetera" might be useful in seeing what the issue is.  Make sure to update your LR Publisher from the Backlight Modules page, so that it's version 4.0.7.

#3 Re: Backlight 2 Support » Error when trying to setup Backlight » 2019-02-15 09:32:03

Ben

The simplest test is to upload the content below into a new file called test_connection.php and call it with a URL like

 http://yoursite.com/test_connection.php?url=https://get.theturninggate.net

(changing yoursite.com with your actual site URL)

This code strips out all other Backlight code to demonstrate that your host is blocking the connection. 

<?php

if (!isset($_REQUEST['url'])) {
	die('usage: test_connection.php?url=[URL]');
}
	
$url = $_REQUEST['url'];
	
$body = @file_get_contents($url);

if (!isset($http_response_header)) {
	die('Unable to connect to the server: '.$url);
}

die('Connected and retrieved: '.$body);	
	
?>

#4 Re: Backlight 2 Support » mcrypt.so error » 2019-02-15 09:27:11

Ben

See our document on similar errors: http://backlight.theturninggate.net/doc … ule_errors
Step 3. is a workaround if you're host's technical support doesn't help.

#6 Re: Backlight 2 Support » Web upload messes up sort order! » 2019-02-13 08:42:33

Ben

Further to the above, the ordering is working as-expected based on alphabetical filename ordering.  This ordering is done at the database level, so doesn't provide us with an opportunity to add smarts to it.

#7 Re: Backlight 2 Support » Small bug in Backlight Admin » 2019-02-13 08:41:10

Ben

Thanks for raising this.  I've added it to our todo list to look into.

#8 Re: Backlight 2 Support » Error when trying to setup Backlight » 2019-02-12 06:33:57

Ben

Strato websites seem to have intermittent issues in accessing our server at https://get.theturninggate.net.  This may just start working for you. If not, I suggest asking their technical support to investigate why your web server is not able to reach https://get.theturninggate.net

#9 Re: Backlight 2 Support » Unexpected error » 2019-02-10 21:18:51

Ben

Hi Xevi, you have a duplicate filename in your album.  The latest Backlight update, version 2.0.6, addresses this.  Make sure to update both your Backlight Modules and the LR Plugin.

#10 Re: Backlight 2 Support » Unexpected error » 2019-02-10 11:22:34

Ben

I'm not sure what the cause was, but I logged in to your Backlight admin and cleared the Template Cache.  The problem has gone away.

#11 Re: Backlight 2 Support » Unexpected error » 2019-02-10 06:15:51

Ben

Hi Bernard, that's a very odd error.  It looks like URLHelper is being loaded twice, when it should only be possible to load it once.  Not an easy one to debug but I'm looking into it.

#12 Re: Backlight 2 Support » setting up BL2 in staging site » 2019-02-09 06:16:10

Ben

Hi Jim, the error on missing Framework is because your site is still looking for Backlight 1 files.  Running the command "Update Album Files" under special links on the Backlight admin landing page should fix that.
Your listing of the directories shows that Backlight 1 files are still on the server.  These will interfere with Backlight 2 and need to be removed.  In particular, the /backlight/publisher/ directory should not exist.  In Backlight 2 this is a virtual directory handled with URL Rewriting via backlight/.htaccess
See these steps in the upgrade process: http://backlight.theturninggate.net/doc … acklight_2

I would also take Wordpress out of the equation until you get past all of these issues.  I have seen that Wordfence in particular can interfere with interactions with the backlight/ directory.  You might find a hidden file within backlight/ that injects a call to WP and Wordfence before continuing to call backlight/

#13 Re: Backlight 2 Support » Web upload messes up sort order! » 2019-02-09 06:04:10

Ben

Something's not right then.  As Rod commented, it should just work by changing the sorting criteria.  Can you create a test album that exhibits the ordering problem (if you don't still have one on your server) and provide me with a link and Backlight admin via email?

#15 Re: Backlight 2 Support » error on install » 2019-02-08 20:47:54

Ben

Hi Andrew, it looks like your host has disabled that function.  We use it to determine whether sessions can be saved under backlight/data/, using an exclusion list of hosts that have caused problems.  Can you ask your host's technical support about whether this has been disabled?

#16 Re: Backlight 2 Support » Slight Problem between LR and Backlight » 2019-02-08 20:45:26

Ben

I haven't received anything.  Did you send it to [redacted]?

#17 Re: Backlight 2 Support » Publisher... Unable to perform action: xxxx » 2019-02-08 18:18:36

Ben

Backlight doesn't know which version of the LR Plugin you have installed, so there isn't a straightforward way of determining whether it needs updating.

Updates to the LR Publisher are few and far between and to-date have not been required.  We make a note of new versions in our blog posts and in the change log.
In this case, there isn't a real dependency between the LR Publisher 2.0.6  and the latest Backlight update.  This error arose because of a bug in Backlight that tried to log a variable that wasn't there if you were using the older LR Publisher.  I've since applied a silent update to module-publisher that addresses this.

#19 Re: Backlight 2 Support » Slight Problem between LR and Backlight » 2019-02-08 05:55:47

Ben

Can you provide me with a Backlight admin login and FTP access via email.  Also, which albums or sets are only visible within LR, and which are only visible within Backlight?

#20 Re: Backlight 2 Support » Meta Description ? » 2019-02-08 05:44:32

Ben
JimR wrote:

I'll leave that to you guys. I'd also not want to crap up the UI by adding more complexity. The LR to BL interactions are already complex as it is.

The setting would be under the Publisher settings of Backlight's settings, reachable via the Admin > Settings menu.  There wouldn't be any changes to the LR album dialogues.

I'm not keen on making new functionality like this only available to the PHPlugin.  Users should not have to use that technical approach for basic functionality.

#21 Re: Backlight 2 Support » Backlight 1 > 2 update error » 2019-02-08 05:38:28

Ben

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.

#22 Re: Backlight 2 Support » My hosting company flags the sessions file as malware » 2019-02-08 05:19:36

Ben

Hi Charles, the session folder is there to manage everything related to your session.  If it wasn't then the page wouldn't remember anything about your visit from one page to the next - things like which language you've chosen, whether you're logged in, etc.  The only thing we doing different from the norm is to save the sessions within our data directory rather than in the default location (which would be some system folder configured in the system PHP settings).
I made this change to avoid a common issue of hosts misconfiguring their servers in ways that caused the default system location to not work.

Are you getting this alert for all files within the data/sessions directory?

Some remedies:

1. Whitelist that directory with ImunifyAV
2. If this is an isolated case for a single visitor, then email me that exact file so I can take a look -- perhaps somebody has attempted something malicious with your site, with the contents of that attempt being part of the file
3. Edit our session handling file so that it uses the default system location for sessions (I can advise on that if that's what you want to do)
4. Disable the custom session directory via a setting in env.php (this functionality does not yet exist so would require an update to the code from me)

#23 Re: Backlight 2 Support » Backlight 1 > 2 update error » 2019-02-07 09:13:09

Ben

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.

#24 Re: Backlight 2 Support » Backlight 1 > 2 update error » 2019-02-07 06:26:28

Ben

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?

#25 Re: Backlight Support » Slow Backlight » 2019-02-07 06:22:21

Ben

Hi Markus, you should be able to just download the entire backlight directory. The SQLite files reside within subdirectories of backlight/data.

Board footer

Powered by FluxBB