Closed amergelCGI closed 1 week ago
If an error related to ca_users occurs on CA 2.0, instead of displaying the error, CA will generate an exception because caLogError() is not defined.
This is due to calls being made to the function caLogError() in app/models/ca_users.php while this function hasn't been defined anywhere.
Example:
Fatal error: Uncaught Error: Call to undefined function caLogError() in /var/www/html/collectiveaccess/app/models/ca_users.php:3257 Stack trace: #0 /var/www/html/collectiveaccess/app/lib/Controller/Request/RequestHTTP.php(926): ca_users->authenticate() #1 /var/www/html/collectiveaccess/app/controllers/system/AuthController.php(65): RequestHTTP->doAuthentication() #2 /var/www/html/collectiveaccess/app/lib/Controller/RequestDispatcher.php(289): AuthController->DoLogin() #3 /var/www/html/collectiveaccess/app/lib/Controller/AppController.php(108): RequestDispatcher->dispatch() #4 /var/www/html/collectiveaccess/index.php(128): AppController->dispatch() #5 {main} thrown in /var/www/html/collectiveaccess/app/models/ca_users.php on line 3257
If an error related to ca_users occurs on CA 2.0, instead of displaying the error, CA will generate an exception because caLogError() is not defined.
This is due to calls being made to the function caLogError() in app/models/ca_users.php while this function hasn't been defined anywhere.
Example:
Fatal error: Uncaught Error: Call to undefined function caLogError() in /var/www/html/collectiveaccess/app/models/ca_users.php:3257 Stack trace: #0 /var/www/html/collectiveaccess/app/lib/Controller/Request/RequestHTTP.php(926): ca_users->authenticate() #1 /var/www/html/collectiveaccess/app/controllers/system/AuthController.php(65): RequestHTTP->doAuthentication() #2 /var/www/html/collectiveaccess/app/lib/Controller/RequestDispatcher.php(289): AuthController->DoLogin() #3 /var/www/html/collectiveaccess/app/lib/Controller/AppController.php(108): RequestDispatcher->dispatch() #4 /var/www/html/collectiveaccess/index.php(128): AppController->dispatch() #5 {main} thrown in /var/www/html/collectiveaccess/app/models/ca_users.php on line 3257