View Full Version : Uncaught TypeError: Object [object Object] has no method 'callback2'

24 Apr 2012, 2:12 PM
Hi all, I need major help! Please help!

I have 2 JsonP request and both of them have no callbackkey. I leave it to sencha to auto generate it. The first one I built was successful without any problem.

My second one has the error as the title. It is trying to get the list of busstops and plot it on the map. I checked my json from the php and it is good and valid. What is the error??


url: 'lib/php/getbusstops.php?routeid=123',

success: function(result) {
var stops = result.data.stops;
for (var i = 0; i < stops.length; i++) {

var position = new google.maps.LatLng(stops[i].stop_lat, stops[i].stop_lon);
var marker = new google.maps.Marker({
position: position,
map: mapp,
icon: 'resources/images/school-bus-icon.png'
failure: function() {
Ext.Msg.alert('Error', 'Unable to plot busstops.');
callback: function(result) {



24 Apr 2012, 2:16 PM
Sorry, I posted it at the wrong place. Can the admin please delete this? Thank you.