forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: WookieWelfare on July 06, 2015, 09:54:07 pm

Title: Image Selection causes redirect error
Post by: WookieWelfare on July 06, 2015, 09:54:07 pm
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
Title: Re: Image Selection causes redirect error
Post by: Αndré on July 07, 2015, 03:56:55 pm
Please post a link to your gallery, so we can test ourselves.
Title: Re: Image Selection causes redirect error
Post by: WookieWelfare on July 08, 2015, 11:35:53 pm
Meant to supply that previously - sorry

http://www.family.msjjeve.co.uk
Title: Re: Image Selection causes redirect error
Post by: Αndré on July 09, 2015, 10:17:17 am
That's weird. The image itself (http://www.family.msjjeve.co.uk/albums/home/2013/kitchen/2013_08_02-DSC_0512.JPG) 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.
Title: Re: Image Selection causes redirect error
Post by: Αndré on July 09, 2015, 10:29:38 am
This is the cookie content when it works as expected:
Code: [Select]
Array
(
    [ID] => d5de0f857b5aebb95b2fc2dd27fe261c
    [am] => 1
    [lang] => english
)


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

)


Please check if there's an .htaccess file on your server.
Title: Re: Image Selection causes redirect error
Post by: WookieWelfare on July 11, 2015, 12:01:43 am
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?
Title: Re: Image Selection causes redirect error
Post by: Αndré on July 13, 2015, 12:11:56 pm
If it's empty, please try if it works when you add this line to that file:
Code: [Select]
RewriteEngine off
Title: Re: Image Selection causes redirect error
Post by: WookieWelfare on July 15, 2015, 10:10:09 pm
Unfortunately this has not worked, and the same issue persists  :(

Title: Re: Image Selection causes redirect error
Post by: ron4mac on July 16, 2015, 02:56:37 am
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.
Title: Re: Image Selection causes redirect error
Post by: WookieWelfare on July 20, 2015, 10:57:57 pm
Unfortunately, plugins cannot be to blame, as none are installed or enabled!
Title: Re: Image Selection causes redirect error
Post by: WookieWelfare on August 04, 2015, 11:30:41 am
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.