CA: Resolve error message to filename

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

CA: Resolve error message to filename

Post 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()".
Post Reply