404 Login and Logout problem with 1.5.10
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
The following information is required to get an answer: ------------------------------------------------ Whenever I login or logout I get this page: Not Acceptable An appropriate representation of the requested resource /gallery/login.php could not be found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. What do I need to do to fix this issue? |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
Hello Can you give us the URL to your Gallery? Jens |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
Hi, Its a 406 followed by a 404. Do you have mod_security installed and activated in your apache? Jens |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
If yes, add this in the Gallery .htaccess file: <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
Jens |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
I don't know if mod security is installed and activated, but I will try the change to the .htaccess file as soon as I get home. |
|
3rdCoast
![]()
Joined: 2005-03-01
Posts: 2 |
![]() |
I'm having what might be similar problems. I click the login link and the browser "spins" until it eventually times out. I can login by going to gallery/setup/ but the same thing happens between Step 2 and Step 3 of the Config Wizard. It just times out. I have no problems with the Sessions test script and once I login in at gallery/setup/ I can go back to the gallery already logged in. http://www.elmriver.k12.mi.us/gallery/ Sandstone Digital |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
I tried to add that code and I still can't login. I noticed if I go to this link http://www.archivedjokes.com/gallery/login.php, I am able to login, but if I click the login link I get this super long url = http://www.archivedjokes.com/gallery/login.php?g1_return=http%3A%2F%2Fwww.archivedjokes.com%2Fgallery%2Falbums.php%3Fpage%3D1 My browser isn't timing out. |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
Any ideas on this one yet? It seems to me it might be in the coding. For some reason after the 'return=' the code is stripping the slashes. Is there a way to fix that? When I mouse over the link it appears correctly, but then when it's clicked on it strips the slashes. |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
I tried the same link changing the characters to what it should be and it still didn't work. |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
They are not stripped, they are URL encoded, which is correct. Can you provide us a URL of a phpinfo of your server? Jens |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
I have discovered that the links to logout are different on a couple of different pages. If I go to the admin-page.php and logout I can logout no problems, but if I am on any other page I can't logout. I'm still wondering if it's something in the coding sending me to the wrong link to logout, or do I have something configured wrong in my settings? I've double checked my settings and left everything the same from the previous version I upgraded from. |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
This link for the login and the register are different in that the register is a popup link, and the login link doesn't popup. It has to be in the coding but I don't know enough about the coding of this script to change or edit it. Please help me. |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
The URLs contain information to redirect you after an successfull operation. Your server does obviously not allow it in the way Gallery does it. Gallery 1 is not longer developed, but maybe some of the guys here is able to help. Jens |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
Here is the login link - http://www.archivedjokes.com/gallery/login.php?g1_return=http%3A%2F%2Fwww.archivedjokes.com%2Fgallery%2Falbums.php%3Fpage%3D1 Here is the register link - http://www.archivedjokes.com/gallery/register.php?gallery_popup=1 As you can see the register link is a popup, and the login link is not. It was in the older version. Someone else here must have the same problem?? Or, there must be a fix for this??? I realize you guys do this voluntarily, but it would be nice to get some help, so that I can get my site up and running. |
|
BlackPanda
Joined: 2005-03-25
Posts: 49 |
![]() |
O.k. here's what I did. I set up a Gallery on another server, and it worked fine. So, I set up a clean install, not an upgrade on my current server, and I got the same error. I sent Tech Support a ticket, and it was the mod_security setting. I don't understand why the code I put in my .htaccess file didn't work to disable mod_security? Any ideas on that one? Anyway my Gallery is working, YAY!!! Thanks for your help! |
|
Tim_j
![]()
Joined: 2002-08-15
Posts: 6818 |
![]() |
Glad you got it working. Maybe these kind of settings are not allowed to be changed for you. Jens |
|