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.
That’s not what I meant. As far as I am aware there is no issue with our sessions handling.
I'm glad to hear. It was an obvious fix once I saw the error on your site. The reinstall function makes it easy on your part.
Hi Thomas, that looks like a bit of an edge case with your cart config and PHP version. I've applied a hot fix that addresses this. Can you visit Backlight > Backlight Modules and click Reinstall next to the Cart Add-on?
That should fix it, though you may need to try a different browser or clear the cookies for your Backlight site in your current browser if it doesn't appear to fix it immediately.
Hi Bob, they're safe to delete. We have a function to do this: visit the Backlight landing page, then click on Remove Log Files on the page.
It could be that the contents of what we're putting into the sessions is different to that of BL1 and raising a false-positive for Imunify.
I asked about your ISP in case it was in an exception list that BL1 had. We treated sessions differently for three ISPs in BL1 that raised errors when trying to save in data/sessions rather than the tmp folder. Since then I've found the actual reason for them failing and coded around the functionality they provide rather than abandoning the use of data/sessions wholesale.
That's strange. The session handling is unchanged from BL1 to BL2. BL2 is more secure than BL1, in other aspects, such as password encryption.
What do you mean by 'ignoring the sessions directory'?
Can I ask who are you hosting with?
The session files are not malware, so your host should not be quarantining them. Can you configure Imunify in your cPanel to ignore that directory?
Hi Barry, can you provide a link to a URL that shows the error about EngineFactory? If it's this one: http://fisherpix.ca/backlight/clients/ then within Backlight, go into Designer > Templates > Assign Templates and choose a suitable template for your clients page.
Can you provide me with a Backlight admin via Email so that I can look into the file error?
The message for the file not being found is because there is no file at http://fisherpix.ca/galleries/private/a … 180916.jpg
I'll be able to see
Need to get that one sorted for the next version on Backlight then
fingers crossed
We will not be changing this, for reasons that Daniel outlined. The emails come 'from' your email address. If you click reply to an email the reply will be addressed to your client.
No worries. I thought we had nipped these issues in the bud, so it's something we need to fix ASAP.
Hi Michael, sorry to hear that your hosting issues have continued.
The installer has likely made changes to your database files. The database upgrade should have made copies of the previous versions within each respective database_backups directory. To copy the main three back, see whether you have the files to make these copies (all paths assume you are in the backlight/data directory):
publisher/database_backups/master_3_2_3.sq3 to publisher/master.sq3
designer/database_backups/master_1_2_3.sq3 to designer/master.sq3
admin/database_backups/master_1_2_3.sq3 to admin/master.sq3I am not sure if keeping any -journal files around will cause issues (e.g. admin/master.sq3-journal). Perhaps make a copy of these and delete them
Hi Ken, I've found problems relating to the paths. We have some fixes in testing that will hopefully be out in the next day or two.
It looks like a compatibility issue between the Okapi web module and cart with Backlight 2. I have updated the file backlight/modules/module-cart/lib/js/jquery.ttgcart-backlight.js on your server with a fix and will update the Cart module with that. There should be no need for further action on your part.
You had uploaded at least one file to the wrong location.
I've found a problem - the wrong index.php had been uploaded into backlight/installer/
Can you visit http://sweetlightgallery.com/backlight/installer/ and continue with the process?
If upgrading, your old username and password should work.
Have you not run the installer yet? That's part of the installation and upgrade process for Backlight 2.
That’s the reason for my comment. It looks like the backlight/ page is being processed by the index.php at the top of your site rather than the one inside Backlight. That suggests either the backlight/.htaccess file is missing or is the file meant for the top of your site.
If you’re sure it’s correct, and also that the respective index.php files are correct, but it’s still not working, then can you provide me with FTP access via email?
Make sure that you've copied the correct .htaccess files into the correct locations.
The .htaccess file at the top of the extracted Installer zip needs to be uploaded to the top of your website (e.g. under public_html)
The .htaccess file located within backlight/ from extracted Installer zip needs to be uploaded into backlight/ on your server.
Have you tried either of these two commands? (I don't know if the first with 7.2 is a valid package, but I would try it before the second):
sudo apt-get install php7.2-zip
sudo apt-get install php7.0-zip
Then after a successful install, restarted your apache2 service? (e.g. sudo service apache2 restart)
Hi Jon, who are you hosting with? It could be an issue with the file submissions being more frequent than their network settings accept.
Untested, but this is what the new version would look like:
function ttg_crumb( $page_name ) {
echo '<ul class="breadcrumbs"><li class="fa_pseudo" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="/" itemprop="url"><span itemprop="title">Home</span></a></li><li class="fa_pseudo" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title">'. $page_name .'</span></li></ul>';
}
function main_top(){
// Add breadcrumbs to non-gallery pages
if ($this->slug == 'about') {
$this->ttg_crumb('About');
} else if ($this->slug == 'contact) {
$this->ttg_crumb('Contact');
} else if ($this->slug == 'search) {
$this->ttg_crumb('Search');
} else if ($this->slug == 'xxxx) {
$this->ttg_crumb('Xxxx');
}
}This is fixed in our testing version. We hope to have it out in the next maintenance updates, by Tuesday.
Hi John, I've had a look into the problem. The wrong .htaccess file had been uploaded into public_html. It needed the file from the top of the Installer zip, but instead had the file copied over from backlight/. I've replaced it, and all seems to be working now.
This is a bug. We'll look into it. In the mean time, can you disable pagination for your search page?