I have a 'perfect' install of autotagging working but if I submit a very large post/blog/story whatever I get malformed request errors from all three modules.

Im just going to have a play with cropping the submitted post to get around the problem but needs fixing.

Cheers.

Comments

f3speech’s picture

Assigned: f3speech » Unassigned
f3speech’s picture

Changing
urlencode($text)
TO
urlencode(substr($text,0,1500))
in each of the module files will fix the problem for the majority of cases but isnt 100% proof, the max HTTP POST lenght is 2035 chars I believe so lowering the submitted text to 1500 chars allows a % increase due to encoding and space to send your api key.