Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this problem Gmail will not load except with a web proxy, which lead me to do some testing.

I am using latest PHProxyImproved. After testing on my web app, it appears that all AJAX pulls do not work. This appears to be because the URLs are not generated properly. There are a bunch of errors in the Javascript console that looks something like this

function onLoadTimeout(){if(ssm)return;if(pr>lp){lp=pr;npc=0;loadTimeout=setTimeout(onLoadTimeout,1E4);return}var d=document;npc++;if(npc<2 loadtimeout="setTimeout(onLoadTimeout,1E4);GLOBALS[1]=(new" am js timeout top window sc gmail sl rld ssm="1;d.getElementById(" stb style display="none" if jsl cb gm start time si jscc jsle apsl function new image src="?ui\x3d2\x26view\x3djsle\x26ik\x3d" date gettime x26zx x3ddgqpj5r7c51w apsc x3dmy9umejxfas2 i globals 9 x26imp x3d x26val pr x26random fp w focus var /script>
Uncaught SyntaxError: Unexpected identifier

basically it looks like it's messing up the URLs

Does anyone know why this is happening, and how to fix it?

share|improve this question
More detail please. What error code(s) do you get back to the AJAX requests? Are you getting any content, possibly an HTML error in the response rather than XML? – Dave C Mar 15 '13 at 1:07
updated description – wonton Mar 15 '13 at 1:24
Make your function write the entire output somewhere (into a DIV or into an alert or similar); see what the server is returning in full. – Dave C Mar 15 '13 at 1:28

You must log in to answer this question.

Browse other questions tagged .