Image Selection causes redirect error Image Selection causes redirect error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image Selection causes redirect error

Started by WookieWelfare, July 06, 2015, 09:54:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WookieWelfare

I have recently upgraded to 1.5.36 and since running the update.php I have redirect error when opening an image.

1.  Front page displays correctly (attachment 1.png).
2.  Album selection works fine too (attachment 2.png).
3.  However, Image selection fails to load the image or the nav buttons (attachment 3.png).
4.  Clicking Home returns a redirect error (attachment 4.png).
5.  Upgrade appears to have worked (I think) well according to the version checker (attachment 5.png).

all worked well prior to the upgrade too.  Any help to resolve this would be appreciated

Αndré

Please post a link to your gallery, so we can test ourselves.

WookieWelfare


Αndré

That's weird. The image itself is accessible before you open the intermediate-sized view (displayimage.php). Actually, after you did that, I get the redirect error for everything I try to access on your web server, even for files/folders, where no Coppermine code is processed, e.g. http://www.family.msjjeve.co.uk/CHANGELOG.txt or http://www.family.msjjeve.co.uk/docs/ - after deleting the "coppermine_data" cookie I don't get the redirect error as long as I don't try to view the intermediate-sized image.

I'll have a closer look at the cookie data, but I there must be a server setting (.htaccess file) which causes the issue, as explained above.

Αndré

This is the cookie content when it works as expected:
Array
(
    [ID] => d5de0f857b5aebb95b2fc2dd27fe261c
    [am] => 1
    [lang] => english
)



This is the cookie content when I get the redirect error:
Array
(
    [ID] => d5de0f857b5aebb95b2fc2dd27fe261c
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 2056
        )

)



Please check if there's an .htaccess file on your server.

WookieWelfare

There is a .htaccess file - however, when viewed through cpanel it would appear the file has no content.
Being a novice in this area I assume a blank .htaccess is to blame.
If so how can I rectify the problem?

Αndré

If it's empty, please try if it works when you add this line to that file:
RewriteEngine off

WookieWelfare

Unfortunately this has not worked, and the same issue persists  :(


ron4mac

I think there is a good chance that a plugin may be causing your issue.  Disable some of your plugins and see if the issue goes away.

WookieWelfare

Unfortunately, plugins cannot be to blame, as none are installed or enabled!

WookieWelfare

Well after completely removing the entire website and building using a newly downloaded Coppermine I was happy to see that the very same problem exists.  I have however managed to resolve the problem by using a different Gallery software.

Please feel free to Close this thread.