Admin Page Link on Main Page produces 302 Found Error

Found a bug? Tell us!!
Post Reply
BenBeyond
Regular
Posts: 7
Joined: Wed Sep 20, 2006 8:20 pm

Admin Page Link on Main Page produces 302 Found Error

Post by BenBeyond »

Hi Everyone,

I previously had 1.3.1 installed and upgraded to 1.4 today. Everything looks to have got fine, except one thing.

If you click on the "Open login screen" link to access the admin page, I get a "302 Found" error. (Feel free to test for yourself at http://www.lukedowker.com)

If I link directly to the admin page (http://www.lukedowker.com/serendipity_admin.php), it works fine and i can login and do everything i need to, but the main page link does not appear to work.

Not sure if this is a bug or just me, but I thought I would ask for help.

Not the worst thing that could have happened during an upgrade, but still kind of annoying.

The new admin pages look great though!! Thanks for the great software and keep up the hard work.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Admin Page Link on Main Page produces 302 Found Error

Post by garvinhicking »

Hi!

It seems to be a problem with your .htaccess - how does it currently look? It seems that it contains an invalid path in there somehow.


HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
BenBeyond
Regular
Posts: 7
Joined: Wed Sep 20, 2006 8:20 pm

Post by BenBeyond »

I did have an .htaccess file there, but upon inspection, it was blank. I have deleted it now, but the problem presists.

Anything else it could be?

Thanks for the help, BTW.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, I don't fully understand why the admin redirection doesn't work then. Who is your provider, do you have a technical contact that you could ask to inspect the server error logs to see why it gives you an error instead of the proper redirect?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
BenBeyond
Regular
Posts: 7
Joined: Wed Sep 20, 2006 8:20 pm

Post by BenBeyond »

I am with GoDaddy. I'm not sure who I would contact but if anyone has had the same or similar problem with GoDaddy, I would love to hear what the fix was.

Thanks again.
BenBeyond
Regular
Posts: 7
Joined: Wed Sep 20, 2006 8:20 pm

Re: Admin Page Link on Main Page produces 302 Found Error

Post by BenBeyond »

No solution to this problem yet. I am not sure it is a provider problem, because this is the only redirection that is having problems. All other links and redirects work perfectly.

What file would i need to edit to change the link to the admin page? since a direct link works, I want to edit the link to point directly to the admin login page.
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Admin Page Link on Main Page produces 302 Found Error

Post by Don Chambers »

I have a few sites on godaddy, and none exhibit this problem.

Have you tried turning on URL rewriting using mod rewrite? That will fully eliminate the index.php? bit, but I am not sure it will solve your problem... but if you turn it on, and it does not work, turning it off again might because both times serendipity will rewrite your .htaccess file.
=Don=
BenBeyond
Regular
Posts: 7
Joined: Wed Sep 20, 2006 8:20 pm

Re: Admin Page Link on Main Page produces 302 Found Error

Post by BenBeyond »

I am willing to try it. How do I turn on URL rewriting using mod rewrite?
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Admin Page Link on Main Page produces 302 Found Error

Post by Don Chambers »

Configuration -> Appearance and options -> URL Rewriting. Select Use Apache mod_rewrite, which is hopefully available to you.
=Don=
BenBeyond
Regular
Posts: 7
Joined: Wed Sep 20, 2006 8:20 pm

Re: Admin Page Link on Main Page produces 302 Found Error

Post by BenBeyond »

Thanks for point me to the setting.

I tried turning this on, but i still got the same problem. I did notice that the URL in the admin page link changed, but it still produced an error page.

I have turned it off again, because it seemed to load faster when it is turning off.
Post Reply