herghost Posted November 23, 2010 Share Posted November 23, 2010 Hi all, I have an ajax comment system that is meant to be quite simple! This works fine on localhost, but when on my vps for some reason its throwing a 500 error. I have checked the logs but nothing is mentioned. I am wondering if anyone can throw some light on where to start? Chrome shows this: Request URL:http://www.buy2earn.co.uk/submit.php Request Method:POST Status Code:500 Internal Server Error Request Headers Accept:application/json, text/javascript, */* Content-Type:application/x-www-form-urlencoded Origin:http://www.buy2earn.co.uk Referer:http://www.buy2earn.co.uk/viewm.php?m_id=1 User-Agent:Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 X-Requested-With:XMLHttpRequest Form Data name:admin merchant:1 body:gjgjkgj Response Headers Connection:close Content-Length:0 Content-Type:text/html; charset=UTF-8 Date:Tue, 23 Nov 2010 19:48:22 GMT Server:Apache/2.2.3 (CentOS) X-Powered-By:PHP/5.2.13 submit.php exists at the location shown Link to comment https://forums.phpfreaks.com/topic/219616-server-500-error/ Share on other sites More sharing options...
BlueSkyIS Posted November 23, 2010 Share Posted November 23, 2010 are permissions set properly on the script? Link to comment https://forums.phpfreaks.com/topic/219616-server-500-error/#findComment-1138660 Share on other sites More sharing options...
herghost Posted November 23, 2010 Author Share Posted November 23, 2010 Thanks for your reply, setit to 777 from 664 but still no joy, really frustrating! Link to comment https://forums.phpfreaks.com/topic/219616-server-500-error/#findComment-1138669 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.