CA Providence: Class 'ApplicationException' not found
Posted: Fri Mar 06, 2020 9:48 pm
[PROBLEM]
Fresh CollectiveAccess providence (v1.7.
install on Debian9, PHP7.0 - getting the following error message when trying to initially access its folder for the first time:
"New Pawtucket Installation - Uncaught Error: Class 'ApplicationException' not found"
[SOLUTION]
I looked at the code in index.php at line 34:
Well, I forgot that "setup.php-dist" has to be copied to "setup.php" - and edited before anything will work!

Fresh CollectiveAccess providence (v1.7.

Found someone with the same error message on the forum (posting from 2018 by koenigZie). Seth replied, but there was no answer what caused the problem:Fatal error: Uncaught Error: Class 'ApplicationException' not found in /var/www/html/providence/index.php:34 Stack trace: #0 {main} thrown in /var/www/html/providence/index.php on line 34
"New Pawtucket Installation - Uncaught Error: Class 'ApplicationException' not found"
[SOLUTION]
I looked at the code in index.php at line 34:
Code: Select all
if (!file_exists('./setup.php')) {
caDisplayException(new ApplicationException("No setup.php found"));
exit;
}

