Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Ajax error: Request-URI Too Large
Old 02-26-2009, 01:41 PM Ajax error: Request-URI Too Large
Skilled Talker

Posts: 64
Name: Ralph Freshour
Trades: 0
I'm getting this ajax error msg: Ajax error: Request-URI Too Large
Does anyone know what is causing it?

I'm saving data in a textarea component to a file when this happens. I can load php files into my textarea fine and then save them back out on the server and I don't get this error. But if I try and load a .js file into my textarea and save that I get the error. I've had this appear a few times on non .js files but it mostly happens with a .js file.

Thanks for any help...
__________________
RalphF
Business Text Messaging Services

Please login or register to view this content. Registration is FREE
rfresh is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-26-2009, 02:49 PM Re: Ajax error: Request-URI Too Large
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
POST or GET?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-26-2009, 03:11 PM Re: Ajax error: Request-URI Too Large
Skilled Talker

Posts: 64
Name: Ralph Freshour
Trades: 0
In my main form my method is "post" and when I send my ajax data thru "the tunnel" to the server, I fetch the data using $_GET. I tried changing these to $_POST but then I don't get my data back (the $_POST didn't work).

But, as I said, I can load my php scripts into the textarea and save it the server just fine - if I grab a .js file I get this ajax error
__________________
RalphF
Business Text Messaging Services

Please login or register to view this content. Registration is FREE
rfresh is offline
Reply With Quote
View Public Profile
 
Old 02-27-2009, 12:12 AM Re: Ajax error: Request-URI Too Large
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
You will need to alter the AJAX to send a request via Post rather than Get
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 02-28-2009, 02:29 AM Re: Ajax error: Request-URI Too Large
Skilled Talker

Posts: 64
Name: Ralph Freshour
Trades: 0
Thanks, that solved it...
__________________
RalphF
Business Text Messaging Services

Please login or register to view this content. Registration is FREE
rfresh is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Ajax error: Request-URI Too Large
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18889 seconds with 12 queries