[eluser]mast3rpyr0[/eluser]
Im using chrome, so hopefully this data is similar to what firebug would give.. but this is what is returned:
Code:
Connection:Keep-Alive
Content-Encoding:gzip
Content-Length:47
Content-Type:text/html
Date:Sat, 18 Feb 2012 18:15:17 GMT
Keep-Alive:timeout=5, max=91
Server:Apache/2.2.17 (Win32) PHP/5.3.4
Set-Cookie:ci_session=a:7:{s:10:"session_id";s:32:"b938ba43aa1df977fe47592f4d74eff2";s:10:"ip_address";s:9:"127.0.0.1";s:10:"user_agent";s:108:"Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/535.19+(KHTML,+like+Gecko)+Chrome/18.0.1025.33+Safari/535.19";s:13:"last_activity";i:1329588914;s:9:"user_data";s:0:"";s:8:"username";s:10:"mast3rpyr0";s:8:"loggedin";b:1;}5e4c17368295579b8ba6161315de04fb; expires=Sat, 18-Feb-2012 20:15:17 GMT; path=/
Vary:Accept-Encoding
X-Powered-By:PHP/5.3.4
Could the gzip be effecting it? I tried shutting it off but even doing so and clearing cookies still sent me gziped data back.
This is running on a local dev server, could that be an issue too?
Replaced returns with echos, my alert is working again but I get "Data: undefined" still.
EDIT: Removing the ajax post, im getting an error on the page which must be the reason for this issue.
Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.
So this looks related to the gzip possibly?
EDIT 2: Disabling gzip in both config.php and .htaccess fixes the issue. Now, how could i get this to work while using gzip on bigger pages at least?