Cookies expiring - Bad Request

Need help with the Administration of your Joomla! 2.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
peetree21
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Nov 26, 2005 1:16 am

Cookies expiring - Bad Request

Post by peetree21 » Thu Oct 11, 2012 1:58 am

Hi, I am running J2.5.7 and for the last month or two my users keep getting a problem with their cookies expiring. The main extension on my site is kunena forum. Really need to find out what is causing this and how to fix it!

What happens is that you are just surfing the site and then all of a sudden you get a white screen with this error message:
Bad Request

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

And then it lists the cookies:

eg:

Cookie: http://www.website.com/events/payment-methods=0.75,0.75; http://www.website.com/forum/72-welcome ... =0.75,0.75; http://www.website.com/forum/72-welcome ... =0.75,0.75; http://www.website.com/forum/new-topic=0.75,0.75; http://www.website.com/forum/180-sport/ ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/88-news/43 ... =0.75,0.75; http://www.website.com/forum/73-sport/4 ... =0.75,0.75; http://www.website.com/forum/119-south- ... =0.75,0.75; http://www.website.com/forum/97-moderat ... =0.75,0.75; http://www.website.com/forum/97-moderat ... =0.75,0.75; http://www.website.com/forum/water=0.75,0.75; http://www.website.com/forum/sport/4348 ... =0.75,0.75; currentURI=http%3A%2F%2Fwww.website.com%2Fforum%2Flatest-posts; http://www.website.com


Apache/2.0.64 (Unix) mod_ssl/2.0.64 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at livestrong.modsocket.com Port 80

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Cookies expiring - Bad Request

Post by humvee » Thu Oct 11, 2012 4:33 pm

[Mod note: Moved from General Forum to Admin Forum; ]
To help you, in the future, find the correct forum for your topic please read the Which forum to post your question that I have put together.

Initially try clearing the site cache.
Also advise on whether you have the cookie settings in Global Configuration being used.

peetree21
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Nov 26, 2005 1:16 am

Re: Cookies expiring - Bad Request

Post by peetree21 » Fri Oct 12, 2012 2:46 am

Hi, i have cleared site cache

I dont appear to have the cookie setting used in my global config.

attached is screenshot.


not sure of how to set this? I don't know what a cookie domain or a cookie path is?
You do not have the required permissions to view the files attached to this post.

peetree21
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Nov 26, 2005 1:16 am

Re: Cookies expiring - Bad Request

Post by peetree21 » Sun Oct 14, 2012 12:58 pm

Is it something I've configured or is does this happen for others? Do I need to fill out the cookie path and domain? If so what do I put in there?

peetree21
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Nov 26, 2005 1:16 am

Re: Cookies expiring - Bad Request

Post by peetree21 » Tue Oct 16, 2012 4:03 am

still happening on all different parts of my website, not just the forum. ive done some googling on cookie path but still don't understand it. can anyone please assist. thanks

peetree21
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Sat Nov 26, 2005 1:16 am

Re: Cookies expiring - Bad Request

Post by peetree21 » Wed Oct 17, 2012 4:15 am

I think i have the solution:

The problem appears to be because permanent cookies are set by the Font Resizer in my shape5 Vertex template, for each page in the site (code is in s5_font_adjuster.js). Eventually, there's a huge cookie that creates the error message:

"400 Bad Request Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit"

Disabling the resizer seems to stop this. Only a few session cookies are set and all is well.


Locked

Return to “Administration Joomla! 2.5”