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.
Hi Steen, I don't believe step 3 has been followed correctly. Here it is again with what you have missed emphasised:
3. Copy the contents of the unzipped folder exactly as-is from your PC into billedarkiv on your server. Do not just copy the contents of backlight, but the directory itself and other files on that same level. After doing so you should have directories like public_html/billedarkiv/backlight and also an index.php file and .htaccess file within public_html/billedarkiv
The company URL should be whatever is appropriate for your company. The Site URL should be [link removed by Ben] In most cases that should have been pre-filled with that. Explanations ofr the fields are provided by hovering over the (i) info icons on the setup page (and also the Backlight Settings page post-installation).
I am heading out cycling. It is a beautiful evening here in Melbourne. I will be only in a few hours. If you are still stuck please send me FTP access so that I can solve any remaining issues.
If bilkedarkiv was empty when you started your reinstall then a previous installation should have no effect.
We can not document all the numerous ways that misteps can be made. This is why we are here providing support.
Again, you don’t install anything into a backlight directory. You copy the backlight directory and all of its contents I to the directory you want your site to become a Backlight site.
Can you provide me with FTP access via email so that I can get you past this hurdle?
See my reply above on all the details you need to get you started.
Here’s how you go about installing in [link removed by Ben] from scratch:
1. Create a directory called billedarkiv inside public_html or www on your server
2. Unzip the installer zip on your PC
3. Copy the contents of the unzipped folder exactly as-is from your PC into billedarkiv on your server. Do not just copy the contents of backlight, but the directory itself and other files on that same level. After doing so you should have directories like public_html/billedarkiv/backlight and also an index.php file and .htaccess file within public_html/billedarkiv
4. Visit [link removed by Ben] in your browser to complete the installation
At that point you should have a default Backlight site at [link removed by Ben] and a login page for the admin at [link removed by Ben]
Steen, are you here to criticise or to have your problem solved?
The ‘backlight’ in the documentation is the backlight directory you get from uploading the contents of the zip file. It is the entry point to the admin and not a directory you create and then upload to. Does that make sense?
Hi Steen, as above, you can *not* put Backlight within your own ‘backlight’ directory. Do you currently have both a directory called backlight and another directory within that called backlight? If you do, rename the higher level directory you created to something other than backlight.
Plans are on hold. The implementation is complicated and there is little demand for it and even for the Cart as a whole.
Hi Steen, I'll try and clarify some of the folder structure.
You *can* install Backlight under any folder you want, except for under your own folder called 'backlight'., *but* Backlight has it's own folder called 'backlight' . For example, if you install Backlight in the folder at http://yoursite.com/afolder/, you'd then have the directory http://yoursite.com/afolder/backlight.
The 'backlight' directory that comes from installing it is where all the working files are stored, and the entry point to the Backlight admin console. If you install it under "afolder" then your Backlight-managed website will function from the URL http://yoursite.com/afolder/
What is the URL that you want your public-facing Backlight site to run from? Have you unzipped the Backlight installer within that directory?
Backlight doesn't use MySQL, but instead uses SQLite.
What was the problem and what was the resolution?
Hi Richard, that sounds like all tests passed.
It may not be your intention, but the double-talk of praise and damnation doesn't help as we spend time trying to solve this.
We make changes to improve our product for a variety of reasons, some glamorous and others less so. In this case, we added further protection on key folders that ultimately serves to protect your site from malicious users.
There are many, many moving parts to Backlight, and many, many permutations of how it is used and configured. All this across desktop, mobile, a variety of browsers and servers, and upgrade paths and backwards compatibility spanning years. Sometimes changes cause things to break in ways that we can not foresee.
I have put in an another attempted fix, which is in our _testing_ stream. Can you take the time to try out the following album: https://somethingchanged.com/photos/hol … ighlights/ 1) see whether the links now correctly either force the file to download, where browsers support that function, or otherwise display the image in the browser. And 2) if the latter see whether images save with the correct filename.
If that still does not work then we have another approach to try.
Hi Richard, which reply was that? I haven’t knowingly removed anything.
Those steps remove the .htaccess files from photos-for-download. That is all.
1. Visit Backlight Module
2. Click Reinstall on the line for module-publisher, if the link is present. Otherwise click Reinstall All under Backlight 2
3. Click Update Album Files on the main Backlight Admin page
Richard, we're taking time out of our weekends to fix this. Clearly this is not a straightforward problem to solve. Those .htaccess files that you curse are part of a system that makes your site possible and aren't put in there for the sake of it. Be polite.
Unless we've missed something, removing the .htaccess file won't restore the types of links returned to mobile devices. Are you suggesting that with the .htaccess files intact that you're still getting the forbidden error?
Hi Richard, we've released an update that addresses this for Pangolin Album. Is that the module you are using? To apply the update visit Backlight Modules and click the update modules button at the bottom of the page.
Hi Richard, All files and director is in your photos folders are created by Backlight. .htaccess files are used to prevent direct access to files. Unfortunately that causes mobile users to be unable to download photos-for-download renditions.. Is it the case that those users are using mobile devices?
We have a fix for this in development that should be put in the next week or so. In the mean time, can you try changing your settings in Designer to use the ‘photos’ rendition instead.
Please see my comment on this topic: http://community.theturninggate.net/vie … 871#p60871
Our code runs from PHP 5.4 through to PHP 7.2 and presumably 7.3 but not tested with Backlight 1.
It definitely does NOT require PHP 5.4 or anything earlier than 7.2. Can you ask your host what specifically he has found that requires PHP 5.4?
From the PHP reference manual, curl_init is available from PHP 4.0.2 to PHP 7: https://www.php.net/manual/en/function.curl-init.php There is no mention of it not being available in 7.3 or requiring version 5.*.
Hi Daniel, that's your Google Analytics code. Have you added it through PHPlugins?
I've run a compliance test on https://somethingchanged.com through Cookiebot, and it returned a result of Compliant. It found one cookie (as describe above), that it deemed a 'necessary' cookie for the site to run. According to the report, necessary cookies don't need consent, so the consent pop-up that BL2 does provide should be more than necessary to cover this.
Where things get murkier is in data retention. That applies to Client Response and the Cart. Do you use either of these?
Hi Terry, the details aren't removed immediately at the end of a session (session meaning the user closes the window or leaves the site). PHP has a few settings that determine how often sessions get cleaned up and I haven't reviewed this beyond the lens of making the site usable. For your own understanding, the various sessions are usually saved in files within backlight/data/sessions/ on your server, that can be accessed by FTP and not through the web or by other means. These files are text files that are readable to a degree.
On my server, I have 183 files that are at most 90 minutes old. Looking at a couple of them, there are a large number of site settings that mirror what's kept in the database, and nothing pertaining to end-user information. These settings are used for site operation and are not usually returned to the user as shown in the session files.
Hi Terry, there is a common misconception that cookies are only used to store personal or identifiable data. Backlight 2 (and Backlight 1) uses cookies for the most benign of reasons, and a reason that just about all dynamic sites on the web do: to know that a page view is by the same browser as a previous page view and use that information for usability and performance. For example, the site settings and language values are loaded once per session and associated with the user, who is otherwise anonymous. This improves performance. When language dropdowns are used, this association enables the server to return pages in the same language as chosen in prior page views. Without this the user would need to choose the language for every single page load. For shopping carts and client response, the cart contents and feedback associated to the browser are kept on the server, so that they are not lost from page view to page view.
None of this information is identifiable to the user, and none of it is kept in the browser. Instead, all that the browser cookie stores is a unique identifier (you can see this by browsing to a Backlight 2 site such as https://somethingchanged.com and viewing the cookies in the inspector - there is one, PHPSESSID).
The identifier and associated data isn't tracked to identifiable information, isn't saved beyond the lifetime of the session, isn't shared outside of the system to us (TTG) or anybody else, and isn't used to track you from one site to another.
Another use case for cookies is to identify logins. Without knowing that a page view came from the same browser that was logged in to client managed albums or the Backlight admin, there is no way to maintain a log in session.
Can't TTG support this cookie topic proactively?
Hi Rolf, you overestimate our resources, and we do not have a legal department to interpret legalese. What we can do is look to implement any of the new requirements, if they are put to us in layman’s terms. What’s your understanding of the changes that apply from October 1?
Hi Neville, I’ll look into this. I had to-date thought the ordering issue pertained to standard thumbnails, so had never been able to see the problem.