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.
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.
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.
Nice tip, Nico. Does it work if somebody visits a gallery directly via the address bar?
Try visiting the Modules page, under the Backlight menu, and install the Standard Modules. Does that help?
Hi Paul, thanks for the kind words. I'm glad to have been able to help.
It's not set up to use invisible reCAPTCHA.
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).
The SSL certificate hadn’t auto-renewed as it’s set up to. It’s back up.
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.
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?
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.
^ spam
Hi, do you have any further specifics of what was broken on your server?
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.
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.
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?
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.
That’s odd. Can you email me the most recent file from backlight/data/publisher/logs on your server?
Who are you hosting with?
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.
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'.
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.
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.
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
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();
}