Howdy, Stranger!

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

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.

Providence 1.7.8

edited January 28 in Installation

Hi.

I am trying to install Providence 1.7.8 on an existing web site to see if it will be suitable for my needs.

The distribution files have been loaded to a sub-directory /Creative because I wish to keep this separate from other things on the site

The server is a Windows one. It seems whatever I do I get this error message

Fatal error: Configuration files are missing for hostname 'www.wychegnome.co.uk'! Please check the CA_BASE_DIR configuration setting in your setup.php file.

I have tried C:/Inetpub/vhosts/wychegnome.co.uk/Creative and also /httpdocs/creative but it makes no difference.

Any advice on what the I need to enter will be appreciated.

Thanks.

Comments

  • C:/Inetpub/vhosts/wychegnome.co.uk/Creative would be what I'd expect to work. Where are you setting this value? And how are you setting it?

  • Seth.
    Thank you for responding.
    setup.php is in the Creative directory and after removing comment lines reads:

    define("CA_BASE_DIR", "/httpdocs/Creative");

    define("CA_URL_ROOT", "/Creative");

    define("CA_SITE_HOSTNAME", "www.wychegnome.co.uk");

    if (!defined("CA_DB_HOST")) {
    define("CA_DB_HOST", 'localhost:3306');
    }

    if (!defined("CA_DB_USER")) {
    define("CA_DB_USER", 'CreativeTester');
    }

    if (!defined("CA_DB_PASSWORD")) {
    define("CA_DB_PASSWORD", '(removed)');
    }

    if (!defined("CA_DB_DATABASE")) {
    define("CA_DB_DATABASE", 'CreativeAccessTest');
    }

    if (!defined("CA_APP_DISPLAY_NAME")) {
    define("CA_APP_DISPLAY_NAME", "CollectiveAccess System Test");
    }

    if (!defined("CA_ADMIN_EMAIL")) {
    define("CA_ADMIN_EMAIL", 'webmaster@wychegnome.co.uk');
    }

    date_default_timezone_set('Europe/London');

    if (!defined("CA_QUEUE_ENABLED")) {
    define("CA_QUEUE_ENABLED", 0);
    }

    if (!defined("CA_DEFAULT_LOCALE")) {
    define("CA_DEFAULT_LOCALE", "en_UK");
    }

    define("CA_USE_CLEAN_URLS", 0);

    if (!defined("CA_APP_NAME")) {
    define("CA_APP_NAME", "collectiveaccess");
    }

    if (!defined("CA_GOOGLE_MAPS_KEY")) {
    define("CA_GOOGLE_MAPS_KEY", "");
    }

    if (!defined('CA_CACHE_BACKEND')) {
    define('CA_CACHE_BACKEND', 'file');
    }

    if (!defined('CA_ALLOW_INSTALLER_TO_OVERWRITE_EXISTING_INSTALLS')) {
    define('CA_ALLOW_INSTALLER_TO_OVERWRITE_EXISTING_INSTALLS', false);
    }

    if (!defined('CA_STACKTRACE_ON_EXCEPTION')) {
    define('CA_STACKTRACE_ON_EXCEPTION', false);
    }

    require(DIR."/app/helpers/post-setup.php");

    John

Sign In or Register to comment.