I'va managed, trhough several attempts to go as far as i'm capable through the installation instructions:
https://manual.collectiveaccess.org/providence/user/setup/install/Ubuntu_20.04.html#install-ubuntu-20-04
https://github.com/collectiveaccess/providence/blob/dev/php8/README.md
Once done, when visiting: http://<your server ip>/ca
I now get:
connected()) { $opa_error_messages = array("Could not connect to database. Check your database configuration in setup.php."); require_once(CA_BASE_DIR."/themes/default/views/system/configuration_error_html.php"); exit(); } // // do a sanity check on application and server configuration before servicing a request // require_once(CA_APP_DIR.'/lib/ConfigurationCheck.php'); ConfigurationCheck::performQuick(); if(ConfigurationCheck::foundErrors()){ if (defined('CA_ALLOW_AUTOMATIC_UPDATE_OF_DATABASE') && CA_ALLOW_AUTOMATIC_UPDATE_OF_DATABASE && $REQUEST['updateSchema']) { ConfigurationCheck::updateDatabaseSchema(); } else { ConfigurationCheck::renderErrorsAsHTMLOutput(); } exit(); } if(isset($REQUEST['processIndexingQueue']) && $REQUEST['processIndexingQueue']) { require_once(CA_MODELS_DIR.'/ca_search_indexing_queue.php'); ca_search_indexing_queue::process(); exit(); } // run garbage collector GarbageCollection::gc(); $app = AppController::getInstance(); $g_request = $req = $app->getRequest(); $g_response = $resp = $app->getResponse(); // Prevent caching $resp->addHeader("Cache-Control", "no-cache, no-store, must-revalidate"); $resp->addHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT"); // Security headers $resp->addHeader("X-XSS-Protection", "1; mode=block"); $resp->addHeader("X-Frame-Options", "SAMEORIGIN"); $resp->addHeader("Content-Security-Policy", "script-src 'self' maps.googleapis.com cdn.knightlab.com nominatim.openstreetmap.org ajax.googleapis.com tagmanager.google.com www.googletagmanager.com www.google-analytics.com www.google.com/recaptcha/ www.gstatic.com 'unsafe-inline' 'unsafe-eval';"); $resp->addHeader("X-Content-Security-Policy", "script-src 'self' maps.googleapis.com cdn.knightlab.com nominatim.openstreetmap.org ajax.googleapis.com tagmanager.google.com www.googletagmanager.com www.google-analytics.com www.google.com/recaptcha/ www.gstatic.com 'unsafe-inline' 'unsafe-eval';"); // // Don't try to authenticate when doing a login attempt or trying to access the 'forgot password' feature // if ((AuthenticationManager::supports(CA_AUTH_ADAPTER_FEATURE_USE_ADAPTER_LOGIN_FORM) && !preg_match("/^[\/]{0,1}system\/auth\/callback/", strtolower($req->getPathInfo()))) !preg_match("/^[\/]{0,1}system\/auth\/(dologin|login|forgot|requestpassword|initreset|doreset|callback)/", strtolower($req->getPathInfo()))) { $vb_auth_success = $req->doAuthentication(array('noPublicUsers' => true)); if(!$vb_auth_success) { $resp->sendResponse(); $req->close(); exit; } } // TODO: move this into a library so $, $g_ui_locale_id and $g_ui_locale gets set up automatically $g_ui_locale_id = $req->user->getPreferredUILocaleID(); // get current UI locale as locale_id (available as global) $g_ui_locale = $req->user->getPreferredUILocale(); // get current UI locale as locale string (available as global) $g_ui_units_pref = $req->user->getPreference('units'); // user's selected display units for measurements (available as global) if((!isset($locale)) || ($g_ui_locale != $COOKIE['CA'.CA_APP_NAME.'ui_locale'])) { if(!initializeLocale($g_ui_locale)) die("Error loading locale ".$g_ui_locale); $req->reloadAppConfig(); } // // PageFormat plug-in generates header/footer shell around page content // require_once(CA_APP_DIR.'/lib/PageFormat.php'); if (!$req->isAjax() && !$req->isDownload()) { $app->registerPlugin(new PageFormat()); } // // Dispatch the request // $app->dispatch(true); // // Send output to client // $resp->sendResponse(); $req->close(); } catch (Exception $e) { caDisplayException($e); }
When looking the setup.php file I cannot manage to find the required info: CA_BASE_DIR; CA_APP_DIR.; CA_MODELS_DIR; etc.
Once again, im struggling.
Thanks for any help and advide, Im quite new on trying to accomplish this for an artistic project, so no prior knowledge.