Hello,
I'm pretty sure you've been asked dozen of times for this issue but I read several posts and I can't figure out why it's not working.
I'm trying to install Projeqtor on my hosted domain. I've uploaded the .zip file and unzipped it without issue and then access to PHP page using my browser: it displays the configuration page.
When I click on Save Configuration button, the spinning wheel appears for 1/2 sec and then disappear.
After looking in dev tools of Firefox, on the Console Tab, I get the following error:
Object { message: "Unable to load ../tool/configCheck.php?destinationWidth=1200.53&destinationHeight=80&isIE=&xhrPostDestination=configResultDiv&xhrPostIsResultMessage=false&xhrPostValidationType=&xhrPostTimestamp=1665433984901&csrfToken= status: 403", stack: "_4c0@ http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:128515n_31e@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:85916n_32c@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:86352nEventListener.handleEvent*_325@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:86868nxhr@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:88207ndojo/_base/xhr/</dojo.xhr@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:107514ndojo/_base/xhr/ Function:7:26n_onSubmit@ http://www.devmg.fr/projects/projeqtor/external/dojo/projeqtorDojo.js:2:459000ndojo/_base/lang/</hitch/<@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:94973n__onClick@http://www.devmg.fr/projects/projeqtor/external/dojo/projeqtorDojo.js:2:615054ndojo/_base/lang/</hitch/<@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:94973n", response: {…}, status: 403, responseText: "nn
Forbidden
n
You don't have permission to access this resource.
nn", xhr: XMLHttpRequest }
message: "Unable to load ../tool/configCheck.php?destinationWidth=1200.53&destinationHeight=80&isIE=&xhrPostDestination=configResultDiv&xhrPostIsResultMessage=false&xhrPostValidationType=&xhrPostTimestamp=1665433984901&csrfToken= status: 403"
response: Object { url: "../tool/configCheck.php?destinationWidth=1200.53&destinationHeight=80&isIE=&xhrPostDestination=configResultDiv&xhrPostIsResultMessage=false&xhrPostValidationType=&xhrPostTimestamp=1665433984901&csrfToken=", transferType: "download", loaded: 199, … }
responseText: "nn
Forbidden
n
You don't have permission to access this resource.
nn"
stack: "_4c0@ http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:128515n_31e@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:85916n_32c@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:86352nEventListener.handleEvent*_325@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:86868nxhr@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:88207ndojo/_base/xhr/</dojo.xhr@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:107514ndojo/_base/xhr/ Function:7:26n_onSubmit@ http://www.devmg.fr/projects/projeqtor/external/dojo/projeqtorDojo.js:2:459000ndojo/_base/lang/</hitch/<@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:94973n__onClick@http://www.devmg.fr/projects/projeqtor/external/dojo/projeqtorDojo.js:2:615054ndojo/_base/lang/</hitch/<@http://www.devmg.fr/projects/projeqtor/external/dojo/dojo.js?version=V10.1.2.0322:2:94973n"
status: 403
xhr: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }
: Object { name: "RequestError", constructor: _4c0(_4c1), stack: "" }
dojo.js:2:105699
I see "unable to load" bla bla "error 403" bla bla "You don't have permission to access this resource".
Therefore I make a chmod 777 -R on the directory, I confirm access is granted for everyone, but issue still happen.
I tried the chown -R apache:apache /projeqtor but operation is forbidden in my case.
Could you please give me advice to resolve the issue ?
Hello, i've resolved this issue. My webdomain is hosted at Planethoster (these guys rocks!!!) and the integrated firewall blocked the configuration save, rule of WAF ID n°340007. Once disabled, installation succeeds. For the moment, this rule is to be kept disabled otherwise further parameters won't be saved (no error is displayed).
Hello again,
last precision DO NOT USE relative paths, use absolute paths !
Avoid ../../files and prefer /home/user/files for example.
This way you can keep WAF rule enabled.
Hello again,
last precision DO NOT USE relative paths, use absolute paths !
Avoid ../../files and prefer /home/user/files for example.
This way you can keep WAF rule enabled.
This is highly advised also for security reason (see hints on configuration page)