Unable to load source

I have setup some forms which I submit via ajax. When I click on the ajaxSubmitButton all submits and calculates and data is returned fine. When I look up in FF firebug one of the POST requests under the Response tab I always get:

Failed to load source for: http://domain.com/

Anybody have any idea what is causing this and the impact is. I can see that it all works fine but don’t know why yii returns this warning message.

Cheers,

bettor

Could you share your code?

Hi Vince,

Research suggests that this is an issue with Firebug 1.5.x on some instances. I will research further and if not with Firebug I will post some code

Cheers,

bettor

I get this too sometimes, but didn’t look into in. Sometimes the ajax will just “work”, but when I look at firebug to see the details of the request, it says it failed to load the source on the ajax request.

Could it be that firebug actually sends a second request to the server to get the request when I ask it what the server returned, instead of just “remembering”? Maybe on the second attempt, the request it blocked or something because it is not “ajax” as far as Yii can tell? I really don’t know

I read some different things. Looks like this is an ongoing issue with firebug since 1.2.x The majority think this is due to cache issue. I personally don’t know how and why but as far as my ajax works all the time I am fine. Just wanted to share this observation with the yii community. If I ever find out the root cause I will post it here.

Cheers,

bettor