CA Providence: Class 'ApplicationException' not found

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: 370
Joined: Tue Nov 12, 2013 2:05 am

CA Providence: Class 'ApplicationException' not found

Post by peter_b »

[PROBLEM]
Fresh CollectiveAccess providence (v1.7.8) install on Debian9, PHP7.0 - getting the following error message when trying to initially access its folder for the first time:
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
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:
"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;
    }
Well, I forgot that "setup.php-dist" has to be copied to "setup.php" - and edited before anything will work!
:? :oops:
Post Reply