Page 1 of 1

CA: Resolve error message to filename

Posted: Tue Jun 23, 2015 3:28 am
by peter_b
[PROBLEM]
In CollectiveAccess Providence, I ran into an error like this:
Errors occurred when trying to access /index.php/manage/SearchForm/ListForms:
* Access denied
It looked like a file path, but it wasn't (since it starts with "index.php").
Hm. :?

Where's the file that the access-restriction is referring to?


[SOLUTION]
According to the path I found for the referred PHP file, the error-message path seems to be built up like this (written with bash-style variables):

Code: Select all

/index.php/manage/${CONTROLLER}/${FUNCTION}
That resolves to:

Code: Select all

app/controllers/manage/${CONTROLLER}Controller.php
Inside that file, I found the ${FUNCTION} name "ListForms()".