2017-08-13, 00:01:46
Hi, I have a problem with AJAX that occurs only in GetSimple.
I have a page the URL of which in browser's address bar is (schematically): http://localhost/installation-folder/parent/page1/ and I want to insert a content in it (after click event) from the file the location of which is (schematically) installation-folder/data/pages/page2.xml. So, I address the source file with ".../.../data/pages/page2.xml" in my script. But if the click event occurs, nothing happens, only an error appears in the browser's console which reads: POST XHR http://localhost/nts/data/pages/f55.xml [HTTP/1.1 403 Forbidden 0ms]. If I tested the script with the same files on localhost ouside GetSimple or in a server in internet (also outside GetSimple) it worked fine. All files in the data/pages folder have permissions 755. I have no idea what can be the cause of this malfunction.
I have a page the URL of which in browser's address bar is (schematically): http://localhost/installation-folder/parent/page1/ and I want to insert a content in it (after click event) from the file the location of which is (schematically) installation-folder/data/pages/page2.xml. So, I address the source file with ".../.../data/pages/page2.xml" in my script. But if the click event occurs, nothing happens, only an error appears in the browser's console which reads: POST XHR http://localhost/nts/data/pages/f55.xml [HTTP/1.1 403 Forbidden 0ms]. If I tested the script with the same files on localhost ouside GetSimple or in a server in internet (also outside GetSimple) it worked fine. All files in the data/pages folder have permissions 755. I have no idea what can be the cause of this malfunction.