last day (25 days later) » 

4:07 PM
0
Q: Getting 500 Internal issue during ajax response

sanjay yadavI am struggling with this code. I am unable to send a response with ajax. Ajax script is here. <script type="text/javascript"> $(document).ready(function(){ $('#selectSize').change(function(){ var idSize=$(this).val(); //alert(idSize) $.ajax ({ type: "get", ...

 
Change - $proArr = explode("-",$data['idsize']); to $proArr = explode("-",$data['idSize']);.On the other hand please check is exist image in your database and application folder or not.
It may cause, probably $proAttr has image field and value but the image does not exist in your application.
 
Rashaed Hashan@All thing working on other place
 
What do you mean in other place? In existing application with other controller, method or another new applicatoin?
 
@in a different application with same method and same ajax call
 
okay, then it may be the application cache. Would you please run php artisan cache:clear, php artisan route:cache, php artisan view:clear from terminal inside your application.
 
4:07 PM
you there?
 
I am in struggle boss.. Unable to fixed this issue since 12 hours ...
please help me
 
hmm sure..
your code is running fine in another application. right?
 
did you clear cache?
 
4:09 PM
1 417 818 015
here is my team viwer id
here is password
8xv51w
 
okay connection
 
please help me brother..
 
let me
 
5:11 PM
you there?
please reconnect me
 
$.ajax({
url: '/brand-all',
type: 'GET',
beforeSend: function (request) {
return request.setRequestHeader('X-CSRF-Token', $("meta[name='csrf-token']").attr('content'));
},
success: function (response) {
},
error: function (err) {
console.log(err);
alert("Something Went Wrong, Please check again");
}
});
 
5:48 PM
give me your team id.. I will ping you on skype
please connect me
 

last day (25 days later) »