GAE Python: Images working on localhost but not working after deploy
Tag : python , By : Piotr Balas
Date : March 29 2020, 07:55 AM
Hope that helps You are trying to upload files from the wrong folder. Try this instead: - url: /static/images/(.*\.(gif|ico|jpeg|jpg|png))
static_files: static/images/\1
upload: static/images/(.*\.(gif|ico|jpeg|jpg|png))
|
It's working in Localhost but it's not working in my Hosting? (youtube-mp3.org link)
Date : March 29 2020, 07:55 AM
around this issue According to error in your logs as you mentioned in the comments, you need to set safe_mode = Off and remove the line about open_base_dir in your php.ini file. If you can't access to your php.ini file, then ask your hosting provider to do that.
|
simple facebook graph api call not working on live server but working on localhost
Tag : php , By : Vinicios
Date : March 29 2020, 07:55 AM
Hope that helps well after doing lots of search i got to know my server does not has allow_url_fopen = On so i edited my php.ini file.. now it is working perfect... the file_get_contents method requires allow_url_fopen = On ....
|
form submission using JQuery Ajax not working in server but working in localhost codeigniter
Date : March 29 2020, 07:55 AM
it fixes the issue form submission using Jquery and Ajax not working in server but it works perfectly in localhost. Whats the reason for this. I using Codeigniter framework. $(document).ready(function(){
(function($) {
"use strict";
$(function() {
$('#form_order').validate({
rules: {
due_date: {
required: true
},
name: {
required: true
}
},
messages: {
due_date: {
required: "date required"
},
name: {
required: "name required"
}
},
submitHandler: function(form,e) {
e.preventDefault();
var formData = new FormData(form);
$('#loading').show();
$.ajax({
type:"POST",
data: formData,
url:"<?php echo base_url("ordercode"); ?>",
success: function(data) {
$('#loading').hide();
$('#success').show();
$('#success').html(data);
},
error: function() {
$('#loading').hide();
$('#success').show();
$('#success').html('Something went wrong. Tryagain later!');
}
});
}
});
})(jQuery);
});
});
|
Php Script not working on Wamp Localhost but working fine on remote server
Date : March 29 2020, 07:55 AM
|