Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: error 302

error 302 1 year 1 month ago #43845

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi

I'm experiencing a strange problem on one of my sites (D7).
I log in, but when I try to go to an admin page, I'm getting a 302 error (Found -
The document has moved here) with nothing else on the page.

I reinstalled D7 (with clean .htaccess file) but problem still occurs. I tried to disable overlay, but I'm not sure this was succesful.

thx

Kris
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43846

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16786
  • Thank you received: 382
  • Karma: 55
Hi Kris,

Did you install or enable any new modules recently? Also, double check the htaccess file one more time since the error has to do with redirects.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43848

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi Nick

no install of new modules. I thought it had to do with the .htaccess file so I took the most recent D7 version and updated everything. So I presume this is a clean .htaccess file?

Kris
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43850

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3949
  • Thank you received: 134
  • Karma: 9
Hi Kris,

I wanted to jump in and ask some questions too. :-)

Did you add any URL redirections lately?

Do you have a link to your site where this page isn't working? Have you tried to remove the "www" or include "www" in front of your URL to see if this was an issue?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43852

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi Tessa, Nick

when I use www.blueblot.be/?q=admin/modules I can see my installed modules but when I try to make changes I'm getting the 302 error.

Didn't install any url redirections or 404sef (don't even know what that is ;o))
Also same issue with or without www.

Kris
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43854

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3949
  • Thank you received: 134
  • Karma: 9
Do you have a module installed called "Secure Login"?

Or as Nick suggested, if you installed anything recently?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43868

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
sorry, no secure login. Problem is that I can't uninstall any modules who would cause the problem. I can see my module list, but when I disable a module and hit save configuration, I'm redirected to a 302.

Kris
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43891

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Kriss,

This is a problem with an alias or redirection. Is it possible two items have the same alias? Also clear your cache several times.

Below I copied the status code definition in case that helps you track it down or gives you some insight. It's really a status message not an error.

I researched this a bit, and most of what I read point to Flash players, login modules or upload modules that have a problem with aliases. Sometimes it is a session error.

I don't think I can point to specific cause in this case, it is going to take some trouble shooting.

You can't delete modules, so if it were me, I would create a clean test site and start adding modules and look for failure. Hopefully you don't have too many to add. If I built a fresh site with the same modules and it worked, I would copy the database and use the copy on the test site, and see if it failed then.

Hopefully we'll learn more and can get more specific. I'll do some more research as I have time and let you know if I come across anything.

Cheers,
Ed

10.3.3 302 Found

The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.

The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).

If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.

Note: RFC 1945 and RFC 2068 specify that the client is not allowed
to change the method on the redirected request. However, most
existing user agent implementations treat 302 as if it were a 303
response, performing a GET on the Location field-value regardless
of the original request method. The status codes 303 and 307 have
been added for servers that wish to make unambiguously clear which
kind of reaction is expected of the client.


Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43892

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16786
  • Thank you received: 382
  • Karma: 55
Kris wrote:
So I presume this is a clean .htaccess file?
That's correct.

Kris wrote:
Problem is that I can't uninstall any modules who would cause the problem. I can see my module list, but when I disable a module and hit save configuration, I'm redirected to a 302.
Ed wrote:
You can't delete modules, so if it were me, I would create a clean test site and start adding modules and look for failure. Hopefully you don't have too many to add. If I built a fresh site with the same modules and it worked, I would copy the database and use the copy on the test site, and see if it failed then.
If you have database access, you can disable the last added (or last few) modules on your site using the following technique:
drupal.org/node/157632


The key is figuring out:
1) When did this issue appear
2) When was it last working
3) What did you do in between?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #43994

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi everyone

I used Nick's post to disable all non-standard modules, cleared caches like Ed advised, but the damn thing keeps redirecting me to 302, grr.

I already used several .htaccess files from different sites that are fully functioning, but no result.

I have several sites on the same server but they all function normal.

Starting all over right now is no option - no time, site is live and all 'client'pages work.

any other suggestions for this really anoying problem?

thx
Kris
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #44110

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16786
  • Thank you received: 382
  • Karma: 55
Hi Kris,

Check your folder and file permissions as well as file ownership.

Also, check to make sure that you don't have any .htaccess files within your subfolder(s).

Do you have any security modules installed?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #44112

  • blueblot
  • blueblot's Avatar
  • OFFLINE
  • OSTar
  • Posts: 146
  • Karma: 0
Hi Nick

yep, problem solved, there was a map (from my nasbox) with an .htaccess file in it. Removed it and 302 gone!

thx for the solution and the patience!

Kris
Please become a member of OSTraining to reply to this post.

error 302 1 year 1 month ago #44113

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16786
  • Thank you received: 382
  • Karma: 55
Hi Kris,

Awesome! You're welcome! I'm so glad we figured that out together! :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.