Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2017-04-22 01:06:09

mark_barron
Member
Registered: 2014-03-31
Posts: 40

Download Internal Error or misconfig..

Must have been a stray photon from a sun spot hitting my website.   
Can't download files now?

Searched for a Reinstall guide without success.
Any other hail mary ideas?


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Offline

#2 2017-04-22 01:45:41

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 4,655
Website

Re: Download Internal Error or misconfig..

Hi Mark,

Are we talking about images downloads in an otherwise well-functioning page/album, or something else? Can you give us a link to an affected page?


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#3 2017-04-22 01:53:18

mark_barron
Member
Registered: 2014-03-31
Posts: 40

Re: Download Internal Error or misconfig..

From the slideshow options to download the image.  all galleries have this issue.

http://www.iproof.me/galleries/10plaque … le.jpg.jpg

Offline

#4 2017-04-24 21:23:47

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,045

Re: Download Internal Error or misconfig..

Hi Mark, 500 errors are difficult to debug, since the underlying cause isn't known.  Can you provide me with an FTP login via the Email link under my picture, so that I can try and work out what's going on?

Offline

#5 2017-04-25 02:05:25

mark_barron
Member
Registered: 2014-03-31
Posts: 40

Re: Download Internal Error or misconfig..

Thanks Ben for offering to peak at the site. 
Sent email with notes to you. 

Reinstalled software, Uploaded Fresh backlight files per update read me, Re Published, Re Checked.   Still everything works till the actual Download image is attempted. 

Can't find a demo site here that has enabled downloads either.  Must be buggy code because I'd never do anything un orthodox.  yea.

Offline

#6 2017-04-25 08:00:06

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 3,045

Re: Download Internal Error or misconfig..

Hi Mark, thanks for the login.  There is something your server does not like about the .htaccess files in your galleries.  What that error is, I don't know, as there is no error log to look at.  This isn't an error on your part, and is most likely caused by a server configuration.  Was this working previously?

I've worked around this by disabling two lines in your Album .htaccess files,

Changing:

RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]

To:

#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]

The downloads are now working for you.

If you do need to edit those settings, the usual way to do so is:

1. Log into Backlight

2. Visit Backlight > Settings

3. Click on 'Show Advanced Settings', at the bottom of the page

4. Click 'Edit Settings'

5. Change the entry for 'Album .htaccess', as needed

6. Visit Backlight > Publisher

7. Click 'Update Album Files', under 'Special Links'

8. Click 'Update'

Offline

#7 2017-04-25 22:50:20

mark_barron
Member
Registered: 2014-03-31
Posts: 40

Re: Download Internal Error or misconfig..

Thanks Ben.  Works great.   
Suspected the download.php was confused.  Didn't know any more than that.

Not many people will agree with you that it was not my fault, but thanks for the encouragement.

Offline

Board footer

Powered by FluxBB