Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Failure #2980

Closed
perigeion opened this issue Aug 8, 2017 · 13 comments
Closed

Setup Failure #2980

perigeion opened this issue Aug 8, 2017 · 13 comments

Comments

@perigeion
Copy link

perigeion commented Aug 8, 2017

#602

I am trying to setup the Church CRM utilizing the MySQL database on BLUEHOST which is our hosting provider, they asked us to get back to you since they tested the environment and verified the settings are good but we keep getting the error below whenever we are trying to continue the setup...


Could not connect to MySQL on http://spspcoc.perigeion.com as perigeio_dbadmin. Please check the settings in Include/Config.php. MySQL Error:


spspcoc is a subdomain that contains the CRM directory as per the setup instructions, here is a dump of the Config.php file:

$sSERVERNAME = 'http://spspcoc.perigeion.com';
$sUSER = 'perigeio_dbadmin';
$sPASSWORD = 'XXXXXXXXXXXX;
$sDATABASE = 'perigeio_spspcoc';

// Root path of your ChurchCRM installation ( THIS MUST BE SET CORRECTLY! )
//
// Examples:
// - if you will be accessing from http://www.yourdomain.com/churchcrm then you would enter '/churchcrm' here.
// - if you will be accessing from http://www.yourdomain.com then you would enter '' ... an empty string for a top level installation.
//
// NOTE:
// - the path SHOULD Start end with slash, if not ''.
// - the path SHOULD NOT end with slash.
// - the is case sensitive.
$sRootPath = '';

// Set $bLockURL=TRUE to enforce https access by specifying exactly
// which URL's your users may use to log into ChurchCRM.
$bLockURL = FALSE;

// URL[0] is the URL that you prefer most users use when they
// log in. These are case sensitive.
$URL[0] = 'http://spspcoc.perigeion.com/';
// List as many other URL's as may be needed. Number them sequentially.
//$URL[1] = 'https://www.mychurch.org/churchcrm/';
//$URL[2] = 'https://www.mychurch.org:8080/churchcrm/';
//$URL[3] = 'https://www.mychurch.org/churchcrm/';
//$URL[4] = 'https://ssl.sharedsslserver.com/mychurch.org/churchcrm/';
//$URL[5] = 'https://crm.mychurch.org/';

// If you are using a non-standard port number be sure to include the
// port number in the URL. See example $URL[2]

// To enforce https access make sure that "https" is specified in all of the
// the allowable URLs. Safe exceptions are when you are at the local machine
// and using "localhost" or "127.0.0.1"

// When using a shared SSL certificate provided by your webhost for https access
// you may need to add the shared SSL server name as well as your host name to
// the URL. See example $URL[4]

// Sets which PHP errors are reported see http://php.net/manual/en/errorfunc.constants.php
error_reporting(E_ERROR);

//
// SETTINGS END HERE. DO NOT MODIFY BELOW THIS LINE
//
// Absolute path must be specified since this file is called
// from scripts located in other directories
require_once(dirname(FILE) . DIRECTORY_SEPARATOR . 'LoadConfigs.php');
?>


not sure if all of the PHP entries above are correct! let me know if I am doing something wrong!

@perigeion
Copy link
Author

churchcrm_error

@crossan007
Copy link
Contributor

Does this mean you fixed it? What was the problem?

@perigeion
Copy link
Author

perigeion commented Aug 8, 2017 via email

@perigeion perigeion reopened this Aug 8, 2017
@DawoudIO
Copy link
Contributor

DawoudIO commented Aug 8, 2017

Please have sSERVERNAME without the http part

sSERVERNAME = 'spspcoc.perigeion.com'

@perigeion
Copy link
Author

perigeion commented Aug 8, 2017 via email

@perigeion
Copy link
Author

perigeion commented Aug 9, 2017 via email

@crossan007
Copy link
Contributor

@perigeion I just attempted to access your URL - it appears you have not actually updated your config file to remove http:// in your $sSERVERNAME variable.

'sSERVERNAME = 'spspcoc.perigeion.com''

@crossan007 crossan007 modified the milestone: User Support Aug 11, 2017
@perigeion
Copy link
Author

perigeion commented Aug 18, 2017 via email

@crossan007
Copy link
Contributor

that's better than a failure :-)

since you're getting 404 on /login, please try typing in /Login.php (not the case and file extension)

@perigeion
Copy link
Author

perigeion commented Aug 18, 2017 via email

@perigeion
Copy link
Author

perigeion commented Aug 18, 2017 via email

@perigeion
Copy link
Author

perigeion commented Aug 18, 2017 via email

@DawoudIO DawoudIO modified the milestones: User Support, User Support - Inactive Nov 14, 2017
@lalas7
Copy link

lalas7 commented Mar 3, 2018

I have gotten the same error and my include.php files says this:


******************************************************************************/

// Database connection constants
$sSERVERNAME = 'localhost:8890';
$sUSER = 'root';
$sPASSWORD = 'mypassword';
$sDATABASE = 'ourchurchcrm';

// Root path of your ChurchCRM installation ( THIS MUST BE SET CORRECTLY! )
//
// Examples:
// - if you will be accessing from http://www.yourdomain.com/churchcrm then you would enter '/churchcrm' here.
// - if you will be accessing from http://www.yourdomain.com then you would enter '' ... an empty string for a top level installation.
//
// NOTE:
// - the path SHOULD Start end with slash, if not ''.
// - the path SHOULD NOT end with slash.
// - the is case sensitive.
$sRootPath = '/churchcrm';

My database and everything is showing I just get this:
ChurchCRM – Setup failure
Could not connect to MySQL on localhost:8890 as root. Please check the settings in Include/Config.php.
MySQL Error:

when I access: http://localhost:8887/churchcrm/index.php#
I am using MAMP. Anyone using this platform?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants