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....

CA Providence: Class 'ApplicationException' not found

Postby peter_b » Fri Mar 06, 2020 9:48 pm

[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:
  • 0

User avatar
peter_b
Chatterbox
 
Posts: 316
Joined: Tue Nov 12, 2013 2:05 am
Reputation: 3

Return to Knowledge Base

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot], Google [Bot] and 23 guests

Reputation System ©'