Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#2 Re: Backlight 2 Support » Invoke css by album » Yesterday 20:09:23

Ben

Hi Mike, there are a number of classes added to the <body> tag that can be used by CSS to target specific albums and templates.  For example, on your album at http://www.michaelrichardsphotography.c … y/c-olden/ there are these classes (amongst others): 
template-identifier-Bez-Tray
album-template-id-143
slug-c-olden

The first two can be used to target all galleries with a given template (one using the identifier, and the other the unique ID that Backlight uses).  The last can be used to target just galleries with the slug c-olden.  That will apply to any galleries with that slug.  It doesn't look like we provide a class that targets a specific gallery, but the chances are that the slug is unique across your galleries.

#3 Re: Backlight Support » New php version 7.3 causes error message » 2019-12-04 09:08:24

Ben

Hi Rainer, I'm not sure why that fix hasn't come through.  Can you send me FTP access so that I can look into it?

#4 Re: Backlight Support » New php version 7.3 causes error message » 2019-12-04 06:32:10

Ben

The second error is something I will need to fix for both BL1 and BL2 before they will work properly on PHP 7.4

#5 Re: Backlight 2 Support » File and folder permissions » 2019-12-04 05:21:50

Ben

In recent years it usually hasn't been necessary to alter permissions at all; hosts are configured to be able to write to locations as needed.
There's no universally correct set of permissions that will work across all environments.  The permissions and ownership needed for the server to create files and directories as-needed can vary from host-to-host.

A reasonably-safe set, if you do need to change them is:
All directories: 755
All files: 644

1) Safer still would be these for these directories and contents within them for backlight/data, backlight/modules, 'galleries' (and other top-level gallery directories):
directories: 755
files: 644

2) And all other backlight/ locations
directories: 555
files: 444

777 is dangerous, especially on shared hosting.  Any rogue script or user under any user account on that server can overwrite your directories and files.

A good way to test what your server is configured to set writeable locations, is to create an album through Publisher or Backlight admin, then log in via FTP and check the permissions of directories and files within the newly-created album.

#6 Re: Backlight 2 Support » Database Error with Publisher » 2019-12-03 10:52:19

Ben

We've resolved the problem.  The Backlight 1 to 2 upgrade moves database tables around.  Earlier Backlight 1.* upgrades also try to upgrade the same tables.  Fixed by checking for the existence of the localisation_value during the Backlight upgrade step to 1.1.0.  I'll add this check into the deployed code, so that it won't affect any other users upgrading from an earlier version of Backlight 1 to BL2.

#7 Re: Backlight 2 Support » Database Error with Publisher » 2019-12-02 12:55:25

Ben

Hi Brian, this is likely an edge case in the upgrade process. Can you please provide me with a Backlight admin login via email, and preferably with FTP access as well? I’ll then look into it and hopefully get you on track.

#8 Re: Backlight 2 Support » Digital sales to the EU » 2019-11-29 21:56:26

Ben

I hope you got *some* insight into my earlier answer even if it wasn't what you needed.

Since you are in the EU then it's a moot point, isn't it?  We can adjust the logic if Brexit ever happens.

#9 Re: Backlight 2 Support » Digital sales to the EU » 2019-11-29 20:28:11

Ben
andy.photos.bell wrote:

OK - I can answer my own question, although I had to look at the code in ShoppingCart.php, function  tryingToSellVirtualItemsToBlockedCountry()

All you had to do was wait a reasonable amount of time for a response rather than trying to reverse engineer the code.

The restriction on digital purchases to other EU countries is precisely due to the tax complexities.  Handling all of the tax variations is beyond the scope of the Cart product, so we added that option so that photographers wouldn't be able to sell digital copies locally without having to be concerned with sales to other European countries that may not be their intended audience.  If you do plan to sell to other EU countries then the onus is on you and your business to manage your tax obligations.  We are simply too small a team to deal with complexities like this.

#10 Re: Backlight 2 Support » Digital sales to the EU » 2019-11-29 12:05:22

Ben

Hi Andy, when digital downloads are set to be taxed and other-EU country is set to no, customers will see a country dropdown on the main Cart page.  Changing that to any EU country that is not the UK won't let you checkout.  If set to the UK and the customer checks out through PayPal, then the country information of the user account is sent back to the cart, and if from another EU country, the user will not be able to finalise the checkout.

#11 Re: Backlight 2 Support » Digital sales to the EU » 2019-11-29 10:18:39

Ben

Hi Andy, the sale is restricted based on the country of the buyer as specified during checkout.

#12 Re: Backlight 2 Support » Custom Thumbnails Sort Order » 2019-11-28 15:26:55

Ben

No updates yet. It’s on my list. Not a bug.

#13 Re: Backlight 2 Support » How to change the PayPal icon? » 2019-11-28 06:38:17

Ben

As a side note, the graphical PayPal buttons are a real problem to deal with. The former location that we drew the images from has disappeared and I’ve been unable to find a replacement. So for now it’s the one button, or text.

#14 Re: Backlight 2 Support » Fancy Box image download no longer working on mobile device » 2019-11-28 05:56:29

Ben

I've just applied the patch to the publisher.  To update it:

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

#15 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 20:37:31

Ben

There is no requirement to create a folder.  There is only the requirement to transfer everything from within the zip to the location on your server where you want the site to reside.  How you manage that is up to you,  and dependent on the software on your PC or Mac, and your preferred workflow.  e.g. creating a folder and unzipping into it, or browsing the zip file and dragging the files to the location open in your FTP software.  This is basic stuff, and to date you are the very first person to have trouble with this.  I feel that you are projecting your frustration on to us and that it completely negates our efforts to assist you; here we are exchanging a lot of words about this while you still don't even have a working site.  Priorities.

The base Backlight files that you upload to your server are structured for a reason.  There is a lot of history to the product with a great deal of experience built into the process that accounts for permissions, a variety of server environments, and ease of upgrade.  Once you are up-and-going and have updates to apply you might start to appreciate the structure that the initial files put in place.  It is semantically almost identical whether you upload the 'only' single file onto the server, or update 'all' contents of the zip.  The contents are minimal and take just a few seconds to upload.
I don't know of many single file installations.  Wordpress, the most popular CMS in the world (analogous to Backlight, which is also a CMS), requires uploading 1,907 files totalling 48 Megabytes.  Backlight requires only 44 files totally 336 Kilobytes.

Now, what else do you need to do to complete the installation?  I have FTP access, but at the same time you have already realised the steps I outlined above that you have missed.

#16 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 16:44:37

Ben

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 http://steenknarberg.com/billedarkiv   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.

#17 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 16:21:38

Ben

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?

#18 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 15:47:37

Ben

See my reply above on all the details you need to get you started.

#19 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 15:36:35

Ben

Here’s how you go about installing in steenknarberg.com/billedarkiv/ 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 steenknarberg.com/billedarkiv/backlight/ in your browser to complete the installation

At that point you should have a default Backlight site at steenknarberg.com/billedarkiv/ and a login page for the admin at steenknarberg.com/billedarkiv/backlight/

#20 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 15:25:55

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?

#21 Re: Backlight 2 Support » No Backlight homepage » 2019-11-27 15:10:36

Ben

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.

#22 Re: Backlight 2 Support » Stripe Payments » 2019-11-27 06:21:23

Ben

Plans are on hold.  The implementation is complicated and there is little demand for it and even for the Cart as a whole.

#23 Re: Backlight 2 Support » No Backlight homepage » 2019-11-26 21:20:15

Ben

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.

#24 Re: Backlight 2 Support » Error after moving server » 2019-11-26 06:41:16

Ben

What was the problem and what was the resolution?

Board footer

Powered by FluxBB