Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Image Selection causes redirect error  (Read 3683 times)

0 Members and 1 Guest are viewing this topic.

WookieWelfare

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Image Selection causes redirect error
« 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Image Selection causes redirect error
« Reply #1 on: July 07, 2015, 03:56:55 pm »

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

WookieWelfare

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Image Selection causes redirect error
« Reply #2 on: July 08, 2015, 11:35:53 pm »

Meant to supply that previously - sorry

http://www.family.msjjeve.co.uk
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Image Selection causes redirect error
« Reply #3 on: July 09, 2015, 10:17:17 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Image Selection causes redirect error
« Reply #4 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.
Logged

WookieWelfare

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Image Selection causes redirect error
« Reply #5 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Image Selection causes redirect error
« Reply #6 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
Logged

WookieWelfare

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Image Selection causes redirect error
« Reply #7 on: July 15, 2015, 10:10:09 pm »

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

Logged

ron4mac

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Posts: 668
Re: Image Selection causes redirect error
« Reply #8 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.
Logged

WookieWelfare

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Image Selection causes redirect error
« Reply #9 on: July 20, 2015, 10:57:57 pm »

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

WookieWelfare

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Image Selection causes redirect error
« Reply #10 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.