javascript - Openshift internal server error when loading page -


i deployed web page openshift. works fine expect when try load particular script(which not in way special).

i use script load page content:

function ajaxloadjquery(pagetoload){         var requestobject = new xmlhttprequest();         requestobject.onreadystatechange = function()         {             if (requestobject.readystate == 4 && requestobject.status == 200)             {                 document.open();                 document.write(requestobject.responsetext);                 document.close();             }             if (requestobject.readystate == 4 && requestobject.status == 404)             {                 alert('belaj');             }         };         requestobject.open("get", pagetoload, true);         requestobject.send();     } 

i pass path of page wish load. page in question contact form name kontakt.php, located in same folder index.php. other pages in folder , them there no problem, when try load page error:

get http://webtehnologijegranulo-wtgranulo.rhcloud.com/servis/struktura/kontakt.php 500 (internal server error)

this web app(not in english). link not working second on right("kontakt"):

http://webtehnologijegranulo-wtgranulo.rhcloud.com/servis/struktura/index.php

what cause?


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -