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
It is not possible to download a picture from an album by clicking on download image in the image menu. An empty page with the text "file not found" opens instead of the image.
The generated URL looks like that:
http://www.xxxxx.de/galleries/slackline … C06316.jpg
The directory /photos exists under /slackline and contains the image DSC06316.jpg.
There is no problem when the following command line is entered manually in the browser:
http://www.xxxxx.de/galleries/slackline … C06316.jpg
It seems to be a very basic problem. What can I do?
Offline
first, can you provide a working url to an album?
Second, see if this helps any: http://community.theturninggate.net/vie … hp?id=6287
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
This image shows the download error: http://bocage.de/galleries/slackline/DS … single.php
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Commenting the RewriteBase / line in .htaccess file, as suggested did not solve the problem.
The following line at the origin of the error is generated by clicking on download image in the image menu.
http://www.bocage.de/galleries/slacklin … C06327.jpg
The image source is there because it can be accessed directly here:
http://www.bocage.de/galleries/slacklin … C06327.jpg
Last edited by gaul09 (2017-10-25 03:22:45)
Offline
This may be related to your Album's htaccess setting. Can you try the following:
1. Log into Backlight
2. Visit Backlight > Settings
3. Scroll down and click on "Show Advanced Settings"
4. Under the setting for "Album .htaccess", look to see whether there is an entry for download.php with two lines that look like this:
RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
5. If they are there, then click on "Edit Settings"
6. Edit that field, adding '#' to the start of those two lines so that they look like this:
#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]
7. Click "Save Settings"
8. Click on the Backlight > Publisher menu item
9. Click on "Update Album Files" under Special Links
10. Click "Update"
Offline
My problem is solved. Commenting these two lines in the .htaccess file did the job.
Thank you for the assistance
Offline
I'm glad to hear that solved it. That particular line doesn't seem to serve any purpose in Backlight, other than to cause problems on some environments. I'll make a note to disable them by default in future releases. You won't need to make that change again, even if the old setting remains in our releases.
Offline
Pages: 1