Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

what am I missing?

This is a second attempt to install CA on a newer Mac running Catalina 10.15.5. As with my previous attempt I get:

Version 1.7.8 installer (XML)
Fatal error: Uncaught DatabaseException: No such file or directory in /Users/jac/Sites/app/lib/Db/mysqli.php:139 Stack trace: #0 /Users/jac/Sites/app/lib/Db.php(134): Db_mysqli->connect(Object(Db), Array) #1 /Users/jac/Sites/app/lib/Db.php(108): Db->connect(Array) #2 /Users/jac/Sites/app/lib/ConfigurationCheck.php(103): Db->__construct() #3 /Users/jac/Sites/install/inc/page1.php(44): ConfigurationCheck::performInstall() #4 /Users/jac/Sites/install/index.php(148): require_once('/Users/jac/Site...') #5 {main} thrown in /Users/jac/Sites/app/lib/Db/mysqli.php on line 139

There must be some basic issue like a file not in the correct directory. Other specifications are MySQL 5.7.31 with a new database, dependencies FFmpeg, ImageMagick, and GraphicsMagick installed via Homebrew, PHP 7.3.11, Apache 2.4.41, server running from localhost. What am I missing?

Comments

  • Try setting CA_DB_HOST in your setup.php file to 127.0.0.1

  • Thanks! That seems to have moved things forward. Now there's a PHP ZipArchive that I swore was already installed. Working on that.

  • The installation moved forward to install DarwinCore. Then, at the login step with the provided credentials, this message pops up:
    Issues with your system configuration have been detected
    General installation instructions can be found here. For more specific hints on the existing issues please have a look at the messages below.

    It looks like the CA_URL_ROOT variable in your setup.php is not set correctly. Please try to set it to "". We came up with this suggestion because you accessed this script via "/index.php". Note that paths are case sensitive.

    I found the CA_URL_ROOT in post-setup php. How is this statement to be modified?
    Almost there, thanks!

  • You shouldn't have to modify it, but if you do set it in setup.php, not post-setup.php. Somewhere in setup.php add this:

    define("CA_URL_ROOT", "");

    and see what happens.

Sign In or Register to comment.