Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 Re: Backlight Support » GDPR » Yesterday 07:22:40

Ben

TTG is not working on this for existing products.  I'm not yet sure the best way to handle this, considering these are changing business requirements for a product already functionally complete.  Our pricing model simply can't cover retrospective updates to products that were fit-for-purpose at the time of sale. Perhaps a software bounty might work.

#2 Re: Backlight Support » Not a Secure Website » 2018-04-22 07:47:50

Ben

To make the Not Secure message go away, you'll need to set up SSL on your site.  That's likely something you can configure via your host's control panel.  It will typically incur additional costs.  After setting that up, you would need to change your Site URL so that the http portion of the URL is https.

I'm not sure whether that would prevent anybody from accessing the site.  I was able to login without issue, which suggests there's nothing wrong with the site itself.  What exactly does the client see when it 'does not work'?

#3 Re: Backlight Support » cart popup doesn't load » 2018-04-19 18:30:53

Ben

Hi Thom, this is something for me to look into.  The behaviour of PHP and errors thrown keeps changing for each minor version, since 7 came out.  We've had problems with 7.1 and now 7.2.

#4 Re: Backlight Support » Login first time trouble » 2018-04-17 20:01:38

Ben

The 'backlight' link assumes that the backlight directory is at the root of your site.  Your 'backlight' directory is instead at http://brogaard.com/backlight/backlight/

Is that intentional to have placed the 'backlight' directory within your own backlight directory?  Using 'backlight' as the name of directories other than the one that ships in the zip file can cause problems.

#5 Re: Backlight Support » Unable to save settings Error 200 » 2018-04-14 07:02:30

Ben

Can you provide me with a Backlight admin login via Email so that I can look into this?

#6 Re: Backlight Support » Protected Album [Again!] » 2018-04-13 21:50:22

Ben

Can you provide me with a Backlight admin login via email so that I can try and look into this?

FTP access would probably be helpful too.

#7 Re: Backlight Support » GDPR » 2018-04-13 07:24:51

Ben

I haven't read a lot about this.  From my understanding this will affect businesses in terms of business processes and site functionality.

Business processes:

* the ability to detect data breaches and inform customers within 72 hours of a data breach occurring.  This looks to be a matter of hosting sites on a platform that supports detection of data breaches and notification to the site owner, to then notify affected customers.
* appointment of data officer - not necessary for small-scale data collection or the type of data collected by photography businesses

Site functionality:

* a clear notice of data usage, not buried in terms & conditions.  Opt-in checkboxes that are not pre-checked to record customer's acceptance of the data usage. 
* the ability to permanently delete customer data upon request, both from the main database and any backups

Are there any other relevant items that I've missed?

#8 Re: Backlight Support » XML modules and apache? » 2018-04-12 05:51:46

Ben
Daniel Leu wrote:

Yep, pdo_sqlite is available now. Really cool to see backlight running on a raspberry pi! One of these days, I have to get one to play with smile

I've had Backlight and predecessors running on a Gen-0 rPi for years.  (Gen-0 being my name for the 256MB of RAM model that the ''lucky' early adopters were lumped with).
It runs pretty well on Nginx, but without .htaccess rewriting.  If I'm not wrong, I had CE3 running on a jailbroken iPod touch smile

#10 Re: Backlight Support » XML modules and apache? » 2018-04-11 16:44:37

Ben

Hi Phil, it’s the PHP module that’s needed. This is typically installed by default. I suggest that if it isn’t installed to take this up with your host’s technical support.
Backlight will check for all dependencies and provide messages for any that are missing.

#11 Re: Backlight Support » publish fails the same database is locked » 2018-03-31 15:48:45

Ben

That’s no good. It’s nothing you’ve done wrong. Backlight likely isn’t closing a database connection when it should.
Can you provide me with FTP access and a Backlight admin login via email so that I can try and fix this for you?

#12 Re: Backlight Support » publish fails the same database is locked » 2018-03-29 18:36:49

Ben

Hi, is this still failing?  If so, can you try the following, and see whether that solves it?

1. Login into Backlight admin
2. Visit Backlight > Settings
3. Click Show Advanced Settings, near the end of the page
4. Click 'Edit'
5. Change the setting for 'SQLite Journal Mode' to 'WAL (Write-ahead log)'
6. Click Save Settings

#13 Re: Backlight Support » Disable right clik » 2018-03-21 18:40:02

Ben

An old post about this for CE4.  I don't know how well the code snippet would apply to Backlight.

http://ce4.theturninggate.net/2011/12/3 … text-menu/

#14 Re: Backlight Support » Can't sort Albums chronologically with newest albums listed at top » 2018-03-17 10:39:22

Ben

Hi Tom, have you tried setting the parent's Album Set 'Album Order' to 'Order by Album title - descending' ?

#15 Re: Backlight Support » CE4 Cart Migration Error » 2018-03-15 05:59:30

Ben

Hi Dave,  I've uploaded a new version of the Cart that addresses the upgrade issue.  I was never able to see why it happened, but this adds a work-around.  Can you download the zip file again, and replace backlight/modules/module-cart on your server?

#16 Re: Backlight Support » Cannot upload image nor add album sets » 2018-03-12 20:45:18

Ben

Hi Dave,  I've had a look on your server.  What I've found is that there is at least one file under backlight that seems to be incomplete:
http://galleries.photolens.co.uk/backli … s/admin.js

This could break a variety of functionality.  Can you try uploading that file again, and see whether that fixes it?

#17 Re: Backlight Support » 'This album is protected' » 2018-03-10 05:49:42

Ben

Hi David, that is really odd.  I have not encountered albums or sets becoming protected, other than by marking them as such in the album/album set settings.  Can you provide me with a Backlight admin login, via my Email, below, so that I can look further into this?

#18 Re: Backlight Support » Missing 'Pages' » 2018-03-07 18:17:10

Ben

Try logging out and in again.

#19 Re: CE4 Publisher » consistency between LR published collections and CE4 albums on server » 2018-03-04 15:49:37

Ben

It looks like there are two copies of Parsedown that need replacing.  The one I first mentioned, at ttg-be/framework/lib/Parsedown.php, and a second copy at lib/php/Parsedown.php.  Can you try updating the latter?

#20 Re: CE4 Publisher » consistency between LR published collections and CE4 albums on server » 2018-03-03 07:07:04

Ben

Hi js, the error you're seeing  about "Function name must be a string" is unrelated to the Publisher issues you may be having.
What's happened there is that one of the CE4 files, ttg-be/framework/lib/Parsedown.php is no longer compatible with the version of PHP your site is currently running. 
The fix is to download TTG BE again, and replace that single file on your server. Have a go at that, and if the problem isn't fixed, please post back so that I can look further into it.

#21 Re: Backlight Support » Is Backlight Stand Alone » 2018-02-27 15:26:57

Ben

The next major release of Backlight due in the next few months will have standalone support.

#22 Re: Backlight Support » Search Error » 2018-02-20 21:55:31

Ben

Thanks.  I'm not sure what's going on.  Have you by any chance created a folder called 'backlight' anywhere on your site, other than the 'backlight' directory to be uploaded from the zip file?

Can you provide me with FTP access so that I can try and work out what's going on, via the Email link in my signature?

#23 Re: Backlight Support » Search Error » 2018-02-20 11:20:39

Ben

Can you provide a link to your site?

#24 Re: Backlight Support » Search result without duplicates » 2018-02-17 19:03:54

Ben

No worries.  Emphasis on next *major* version, which will be a paid upgrade.

If you feel inclined to edit Backlight, the same result can be achieved by editing the file backlight/publisher/application/models/SearchResult.php, changing this:

	function getFilteredPhotoResults()
	{
		$filtered = array();
		
		foreach ($this->photoResults as $photo) {
			if ($photo->filter($this->required, $this->omitted)) {
				$filtered[] = $photo;
			}
		}

		return $filtered;
	}

To this:

	function getFilteredPhotoResults() 
	{
		$filenameLookup = array();
		$removeDuplicates = true;

		$filtered = array();
		
		foreach ($this->photoResults as $photo) {
			if ($removeDuplicates) {
				if (isset($filenameLookup[$photo->getFilename()])) {
					continue;
				} else {
					$filenameLookup[$photo->getFilename()] = true;
				}
			}

			if ($photo->filter($this->required, $this->omitted)) {
				$filtered[] = $photo;
			}
		}

		return $filtered;
	}

This functionality will be configurable in the next major version of Backlight.

#25 Re: Backlight Support » Search result without duplicates » 2018-02-17 09:47:27

Ben

I've added this into the next major version of Backlight.

Board footer

Powered by FluxBB