Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#401 Re: Backlight 2 Support » Maintenance page for Backlight (Solution) » 2019-06-07 10:18:55

Ben

Good find.  Why are you using ob_start()?  I know what it does (prevents output being returned until either ob_end_flush() is called or the script ends), but I can't see any benefit in using it with the above files.

#402 Re: Backlight 2 Support » Maintenance page for Backlight (Solution) » 2019-06-06 19:43:59

Ben

The difference is that pages are handled by the index.php file at the top of your site. Albums by he respective index.php files with the album's directory.

#403 Re: Backlight 2 Support » Maintenance page for Backlight (Solution) » 2019-06-06 08:21:04

Ben

Nice tip, Nico. Does it work if somebody visits a gallery directly via the address bar?

#404 Re: Backlight Support » upgrade to BL2 failed again » 2019-06-02 21:25:11

Ben

Try visiting the Modules page, under the Backlight menu, and install the Standard Modules. Does that help?

#405 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-24 09:32:03

Ben

Hi Paul, thanks for the kind words. I'm glad to have been able to help.

#406 Re: Backlight 2 Support » Deleting wholesale contacts » 2019-05-24 09:31:12

Ben

It's not set up to use invisible reCAPTCHA.

#407 Re: Backlight 2 Support » Account locked! » 2019-05-24 09:30:11

Ben

The next update of Backlight will provide better messaging on where update issues lie (e.g. incorrect order details, can't connect to the server, server can't connect to SendOwl).

#408 Re: Backlight 2 Support » Account locked! » 2019-05-24 09:13:54

Ben

The SSL certificate hadn’t auto-renewed as it’s set up to.  It’s back up.

#409 Re: Backlight 2 Support » Backlight 2 & MAMP » 2019-05-23 20:37:13

Ben
Sam Sampson wrote:

Maybe with MAMP it doesn't give me a secondary 'Quick Setup' step...

I have a nagging suspicion that there is a scenario that prevents the Quick Setup page from appearing. Too many customer requests of late mention their admin passwords still being the default.
I haven't seen this myself - the Quick Setup always shows for me on first login, including in MAMP installations.

#410 Re: General » Expense Web App » 2019-05-23 08:21:49

Ben

This wouldn't be difficult for somebody with PHP and database experience.  A broad book such as this one should help you get that experience:
https://www.amazon.com/Learning-PHP-MyS … 491978910/

Otherwise, perhaps look for a project that already does what you need?

#411 Re: Backlight 2 Customization » Error in user load function in phplugins - how to fix?? » 2019-05-20 21:42:26

Ben

I just thought I’d leave that for a few minutes. The spammers are starting to write seemingly-relevant comments. There was another one about SSL certificates that provided a useful article.

#413 Re: Backlight 2 Support » Download Not Working » 2019-05-18 07:12:50

Ben

Hi, do you have any further specifics of what was broken on your server?

#414 Re: Backlight 2 Support » Sporadic Publisher errors, broken search » 2019-05-18 07:11:25

Ben

Hi Dave, thanks for the access.  Please see my reply via email.  FYI, the reason I asked about your host was in case it rings any alarm bells from previous support cases.  I haven't come across your host before.

#415 Re: Backlight 2 Support » Backlight 2 & MAMP » 2019-05-16 13:56:35

Ben

Backlight was developed under MAMP, and installation should work without issue.
Whether you can just copy a site to your server depends on how permissions are handled. Backlight creates and changes files under backlight/data and galleries directories. If those files are given ownership of the web server then you may run into permission problems after uploading those working files. They’ll be owned by your FTP user and then Backlight won’t be able to make changes to them as Backlight will be trying to access them as the web server user.
You can see whether this is the case by installing on your web server and seeing who is marked as the owner of files under backlight/data within your FTP program. If those files are owned by the same user as the backlight directory itself, then you should be fine to sync your local site via FTP.

#416 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-16 07:19:10

Ben

I would have to go in via FTP and the TTG BE admin to see what needs updating. Does your control panel provide options to choose between PHP 5.6 and 7?

#417 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-16 07:00:10

Ben
paulpegg wrote:

This is a CE4 site that is running on a host that still supports php v5.6. I am not looking forward to THAT migration!

There should be no issues migrating from a straight CE4 site to Backlight. I can take a look in advance via the admin and FTP to see if there’s anything strange about it.
CE4 sites should work fine on PHP 7. It may need a few file updates to the latest versions.

#418 Re: Backlight 2 Support » Update to BL2 - .htaccess question » 2019-05-15 19:17:04

Ben

That’s odd. Can you email me the most recent file from backlight/data/publisher/logs on your server?

#420 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-15 07:35:49

Ben

The Publisher section of Backlight's admin has all of things settings that can be found in LR's Publisher module, so it’s a good place to make changes like that.

I’ve fixed the metadata for full-sized images. That required renaming a further two metadata names.

#421 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-15 07:18:54

Ben

I’ve fixed the order to be reverse-chronological. This was done by editing each Album Set in Backlight and setting the ordering to 'slug'.

#422 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-15 06:33:46

Ben

Here's where we're at today.  All albums left at http://lesmarmitonsnj.com/backlight/pub … _albums/1/ have at least some photos in them.  Captions are back. Remaining issues from what I can tell are that the ordering isn't correct, and that LR can't work with some albums.  Is there anything else?

Any zombie albums in LR will remain as so.  Those that appear to be unlinked between LR and the server.  It looks like at some time in the past you've had glitches on the server that have resulted in multiple albums being created on the server with different IDs.  If the IDs stored in the LR album don't match those on the server then we can't match them up.  In that case, if you need to maintain those albums to add new photos or make other changes, that will need to be done through the Backlight admin.  I haven't yet had time to look at the set of Album IDs from LR.  I'll have a better idea when I can sit down and compare the sets of Album IDs between LR and the server.

Sorry, but I don't have the capacity for a phone call or Skype.  I'm working full time and my support is limited to odd hours, and train rides.

#423 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-15 06:27:45

Ben
paulpegg wrote:

In the 2015/2016 Events set there are multiple nested sets entitled September 2013 Event. These are actually duplicates of the 2015-2016 Events set and albums therein except the last one which is empty. Please deleted them all.

I have deleted three from there.

#424 Re: Backlight 2 Support » Something went wrong after migration » 2019-05-15 06:20:58

Ben
paulpegg wrote:

Thank you.

The Albums still do not sort according to the numbering scheme I have been using for years and the captions do not appear under the photos in each album. I turned on Metadata 2 for {filename} and that is not working either.

1. I have fixed the metadata.  These were stored in an old format of metadata1 and metadata2.  I've renamed the fields to metadata_one and metadata_two.  I can now see it showing at http://lesmarmitonsnj.com/galleries/03_ … 017-March/

2. Can you provide a specific example of one set of albums that is not showing as you expect, and the order that you want them

#425 Re: Backlight Support » Counting the number of photos in an album » 2019-05-14 21:42:36

Ben

Hi Nico, see the example in phplugins-pangolin-sample.php for copy_top.  The specific code looks like this:

if ($this->hasAlbum()) {
	echo 'Number of photos: '.$this->album->getNumberOfPhotos();
}

Board footer

Powered by FluxBB