Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on URI request length in the Shared & Semi-Dedicated forum
I just had to cut down a blog entry because I got a "URI request too long" error when I went to post it. This ...

  1. #1
    JPC Member
    Join Date
    Oct 2002
    Posts
    18

    Unhappy URI request length

    I just had to cut down a blog entry because I got a "URI request too long" error when I went to post it. This entry contained about 5K of text, which doesn't strike me as particularly huge, and I've written similarly long posts without problem in the past. Has the URI request length on Mercury been shortened? Would it be possible to lengthen it to accommodate long message board and blog posts? (I can't just upload the post as HTML because my blog is PHP/SQL-based.)

  2. #2
    Aletia Customer
    Join Date
    Oct 2001
    Posts
    631
    Try posting again, just to see if it was a php/MySQL hiccup.

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    You must be using the "GET" method to submit the form. You may want to consider using "POST" instead, as POSTed forms don't have lenght limitations. Depending on the way the software (blog and message board) you're using is set up, you may be able to change to the POST method in your forms without having to change anyhing in the software.
    Just look for the <form> tags in your html and change method="GET" to method="POST".

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  4. #4
    JPC Member
    Join Date
    Oct 2002
    Posts
    18
    I just checked b2's form for submitting blog entries, and it does use the POST method. I also tried making another largish test post, and it failed yet again. Thanks for the suggestion, though. Does anyone have any more ideas?

  5. #5
    Aletia Customer
    Join Date
    Oct 2001
    Posts
    631
    I'm using b2 as well, and never had a problem, but I have never had any posts that were that large. Try asking in the b2 support forums if anyone else has experienced this. If they have, they may be able to help you diagnose the problem, and come up with a solution.

    If you don't often have to post large posts, you could edit the database directly just for that post.

    Or you could install wordpress, the official b2 fork, which has a feature that lets you have a small segment on the page, with a link to the rest of the article.
    Last edited by Joshua Clinard; 06-07-2003 at 03:53 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •