forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started 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
-
Please post a link to your gallery, so we can test ourselves.
-
Meant to supply that previously - sorry
http://www.family.msjjeve.co.uk
-
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.
-
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.
-
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?
-
If it's empty, please try if it works when you add this line to that file:
RewriteEngine off
-
Unfortunately this has not worked, and the same issue persists :(
-
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.
-
Unfortunately, plugins cannot be to blame, as none are installed or enabled!
-
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.