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.
Pages: 1
Hi,
I'm about to migrate from BL to BL2. Before I begin I have some questions.
I'm using BL as a subsite just for ordering photos from photoshoots. The setup today lokks like this
solnafotostudio.se - Static wordpress site uset to display the company
solnafotostudio.se/backlight - The backlight subfolder
solnafotostudio.se/galleries/*customername* - Individual password protected sites for every customer
If I overwrite my .htaccess in the root directory I guess I will ruin my wordpress installation. How should I continue to not screw everything up? Should I replace the part after "# END WordPress" with the info in your BL2 .htaccess?
My .htaccess today:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
Regards
Kristoffer
Offline
solnafotostudio.se/galleries/*customername* - Individual password protected sites for every customer
I’m assuming these are either separate top-level gallery folders or regular album sets
If you’re not using Backlight to create the whole site then don’t use the .htaccess file (or the index.php file) that you find in the root of the unzipped Backlight-installer.../ folder.
I believe those control any stand-alone pages that would be needed in such a site. Like Home, Contact, About, etc.
Since your site is based on WordPress, you don’t need those files
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod,
A fast, short and informative answer!
Have a nice day
Kristoffer
Offline
*** solved it on my own ***
Had a go at it and succeded but failed. Backlight is working but my old galleries isn't. I get this:
Warning: require_once(./../../backlight/framework/Framework.php): failed to open stream: No such file or directory in /storage/content/75/108575/solnafotostudio.se/public_html/galleries/suad-mohamed/lib.php on line 48 Fatal error: require_once(): Failed opening required './../../backlight/framework/Framework.php' (include_path='.:/usr/local/php72/lib/php:/storage/content/75/108575/pear/php') in /storage/content/75/108575/solnafotostudio.se/public_html/galleries/suad-mohamed/lib.php on line 48
What am I doing wrong and how should I solve it?
What do you need to know?
Last edited by Kristoffer (2019-05-13 21:23:32)
Offline
But now I have a new question.
I have alot of protected albums. I would like to translate "Access Code" to "Lösenord" on the pages since it's easier for my customers to understand. I just can't find where to translate it. Can you point me in the right direction?
Regards
Kristoffer
Offline
Settings> Languages: click on Manage Language.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Worked like a charm when I just cleared the browser cashe. Stupid me.
Yet another problem came today. I export all my albums from lightroom and it has been working great until today. Lightroom updated yesturday and today it doesn't work.
I press publish and the page uploads with all the webfiles but when it should upload the photos i get promted with "Can't write to the specified folder" I hit OK an then it says "Can't write to the specified folder" again. I hot OK again and get "Couldn't update the collection. "Unable to preform action: saveMetadata" and "Message: photo not found" in the same box. Then it just returns back to to lightroom. Any ideas?
Offline
That’s odd. Can you email me the most recent file from backlight/data/publisher/logs on your server?
Offline
Sent! Thanks for your fast responses!
Offline
Pages: 1