Open demianturner opened 11 years ago
Happens when trying to upload any file.
I tracked the error to MediaUploaderMgr.php by changing lines 68 and 70 in modules/media/www/js/Media2/Upload.js to;
success: alert('got here'),//_self.uploadCallback, error: function(r, status, e) { console.log(r);
I will try and attach the response text, which you will see seems to simply be the main content for the site, i.e. NOT a json encoded response
[shaunmza] adding the following code in the 'display' method is a hack but it works then,
echo json_encode($output->oResponse); die();
Happens when trying to upload any file.
I tracked the error to MediaUploaderMgr.php by changing lines 68 and 70 in modules/media/www/js/Media2/Upload.js to;
I will try and attach the response text, which you will see seems to simply be the main content for the site, i.e. NOT a json encoded response