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.
get.theturninggate.net originally resided on the same server as theturninggate.net. For an unknown reason, some hosts refused to connect to it. Perhaps tellingly, those hosts that weren't able to connect would miraculously be able to connect after talking with their tech support and having them report there's nothing wrong they could see... still, connectively from those hosts was hit-and-miss.
get2.theturninggate.net was set up on a different platform. Once we confirmed that this worked for all users, we moved get.theturningate.net to the new platform. As far as we are aware, it has since worked without issue.
I can't see any errors in the above. Which line is line 1631?
Hi Oliver, we have a fix in testing. It will be released soon pending any issues.
The syntax needs to be tightened both for PHP and for properly quoting attributes. See if this works for the 'echo' line:
echo '<button class="add-to-cart" data-item="'.$photo->getFilename().'" data-name="data-item" data-price="digitalphoto" data-thumbnail="'.$photo->getThumbnailURL().'">Buy this Photo</button>';
Hi Thom, I'm seeing an error in the ShoppingCart and a JavaScript error that is likely to be the result of the first error. I'm not sure what's causing it though. It's related to Sales Tax.
Can you please provide me with a Backlight admin login, and FTP access via email so that I can look further into this?
Hi Steve, has the problem stopped happening for you?
We have renamed the PHPlugins forum to Backlight Customisation. Can you post future customisation topics in there?
Steve, can you provide a link and admin credentials where I can see this error?
Looks like an error message from your server, which obviously failed to fulfill an insane request to allocate 140,000 gigabytes.
It’s not that bad. It’s actually only 128MB. Still far more that should be used on an admin page request.
Glancing over this thread it looks like multiple topics are covered. If that’s the case can we get into the habit of creating new support issues for unrelated items? That will make it easier to know what’s going on and focus on individual issues. I am looking into the problem of the album copy for embedded albums.
Thanks for the access. The issue is that all of the site resources (CSS, JavaScript, etc) are loading over http, while your site is on https. I can't see anything wrong with your settings. It may be due to your site sitting behind a proxy server. I'll need to delve further into this.
I could see that your host is using php version 7.3. I don’t know if Backlight has been tested with that yet.
Hi Rod, Backlight 2 supports up to PHP 7.4, though 7.4 isn't common yet so it hasn't been put through its paces much beyond 7.3.
Can you visit both the links "Update Album Files" and "Update Backlight Index Files" and see if that improves things?
Did you see my earlier comment that outlined how this works? http://community.theturninggate.net/vie … 992#p63992
Note that the results are ranked based on the number of terms matched and the number of number of data sources that the terms are found in. I know this stuff because I wrote the code.
Can you provide me with a Backlight admin login, so that I can see via PHPInfo whether the HTTPS flag is not being set, and if so, whether there's a fallback flag I can add to check instead?
Please do NOT hack the code! I have offered to solve this for you, in which case I will be able to work out the problem and advise on how to fix it, or to put in a fix to our codebase if there's a bug. As it stands, your code change will break for every update we make, and may have adverse affects.
To treat the full name as a single search term, wrap them in quotes like this:
"first second"
To treat both first and second as required terms, but not necessarily together, search like this:
+first +second
To search for items that have either one term or both, search like this:
first second
The search results are ranked, so for the last example, items that match both first and second will appear higher in the list. Also, the frequency of terms affect ranking, so if two items matched on the same terms, then the item that had the term appear more frequently across filename, title and description, would be ranked higher.
Have you tried clearing the template cache? Designer > Templates > Clear Template Cache.
If https redirection is broken, you can force it to not redirect by doing the following:
1. Rename backlight/env.php.skel to backlight/env.php
2. Edit the line:
//define('BLOCK_HTTPS_REDIRECTION', true);
Removing the leading "//" so that it looks like:
define('BLOCK_HTTPS_REDIRECTION', true);
(or if that line isn't in your env.php, add it).
If you're still stuck, then as Rod suggested, please provide me with admin access to your Backlight admin, and FTP details via email.
That's what was returned: items that included the text "West Coast". Compare that with just searching West Coast without quotes and you might get results like West Indies or Gold Coast, neither of which include the full search text.
Out search doesn't provide a means to search for the complete value of a field. E.g. If your full description was "West Coast" then there's no way to search for that without also getting results where the full description is "North West Coast".
Visit your Cart settings, and set "Invoiced Checkout Enabled" to "no"
Backlight does not use the web module. All templates are created within the ‘Designer’ page of the Backlight admin on your website.
Do you have a backup?
Hi Jack, if you haven’t already done so, visit the Upgrade Album Files link on the main Backlight admin page.
An alternative solution is to use Pangolin Theater in BL1. This fixes the bug.
The protocol for youtube in the old module theater is hard-coded to http.