数か月前に正常に動作していた私のコードは次のとおりです。
$.getJSON("php/loadSites.php", function(result){
console.log("LOADING QUERY...");
$.each(result.Sites, function(i,v){
site_list_array.push('<li class="site" id='+v.Site.plant_code+'> <b> '+v.Site.plant_code + '</b> ' + v.Site.city +'</li>'); //build small array for the sidebar
sites.push(v.Site); // build large array of all site data
});
$('#site_list').html(site_list_array.join('')); // dynamically update the webpage with the results of the query
});
...そして今日、何らかの理由で実行に失敗しただけですか? (コンソール ログに「loading query」行を表示することさえありません。) エラー メッセージはスローされません... $.getJSON 呼び出し内のすべてを単に無視しているように見えます。
唯一の変更点は、サーバーを Mac OS 10.8 にアップデートしたことです。他の誰かがこれを経験していますか?