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

Can't Log in after initial installation #645

Closed
deltariot opened this issue May 31, 2016 · 19 comments
Closed

Can't Log in after initial installation #645

deltariot opened this issue May 31, 2016 · 19 comments
Labels
Milestone

Comments

@deltariot
Copy link

Hi.
I have installed ChurchCRM on my live server. I downloaded it from: https://github.com/ChurchCRM/CRM/releases/tag/2.0.1. I tried to use the Admin username and the changeme as well as changeme1 password, i still cannot log in. i believe i have changed the config file correctly because i am getting the log in screen.

@DawoudIO
Copy link
Contributor

DawoudIO commented May 31, 2016

Please answer the following questions :

  • are you just getting a error message or just can't login?
  • what is the configuration of the Live Server.
  • are running the php 5.6 with php mbstring installed.
  • which version of version of mySQL
  • did you run the install.sql file
  • does the mysql db user have perms to add/alter/delete tables

@DawoudIO DawoudIO self-assigned this May 31, 2016
@DawoudIO DawoudIO added this to the 2.0.1 milestone May 31, 2016
@deltariot
Copy link
Author

Hi sir.
I am not getting any error message when i use admin and changeme. this is the url of the crm: http://www.sellortrade.co.za//churchcrm/churchcrm/Login.php. I have isntalled it in this folder /public_html/churchcrm/churchcrm/. The screenshot of the page it returns when i try to log in:
image. This is the php configuration of my live server.
php configuration.I did import the install.sql file. When i go into the database i see there is one user: Admin with the hash256 password code that decrypts to: changeme1. but if i use changeme one as the password it returns an invalid log in details. I am not sure how to chack the mysql version on the live server. The priviledges link is disabled on my host.

@deltariot
Copy link
Author

This is how i changed my settings for the config.php file:

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 1, 2016

ok.. for starters i think you are one dir too deep but that should not effect things...

try this out... note that there is an extra / in the following path

$sRootPath = 'http://www.sellortrade.co.za//churchcrm/churchcrm';

try replacing it with just

$sRootPath = 'http://www.sellortrade.co.za/churchcrm/churchcrm';

and see if that fixes the issue...

I also tried to login with an invalid password and it showed an error so i think you system / db are setup but it might be the path issue...

@deltariot
Copy link
Author

Hi sir
Thank you for your response. I have changed the path, i still got the same result. I have also changed the directory and put all the files up one directory and also changed my root path in config.php but I still have the same problem. The new root path is now: 'http://www.sellortrade.co.za/churchcrm.
Once again thanks for your response, your assistance is greatly appreciated.

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 1, 2016

hmm... who is the hosting provider, i would like to review there php config.

@deltariot
Copy link
Author

I am hosting with hertzner, www.hertzner.co.za. I am based in South Africa.

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 2, 2016

do you have shell access to the server, ie, can you run an yum update...

@deltariot
Copy link
Author

I can find out. What do I need to do exactly. Sometimes they require details on what I would like to do before they can assist

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 3, 2016

they should have way to get logs from the php server... I'm going to work on creating a php file that does some basic system checks

@crossan007
Copy link
Contributor

This should go in the system service in my opinion. Then we can capture it
also with bug reports
On Jun 3, 2016 12:32 PM, "George Dawoud" [email protected] wrote:

they should have way to get logs from the php server... I'm going to work
on creating a php file that does some basic system checks


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#645 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ALI4nPeIoE54KJ1nuskvYs3cszmHDSZcks5qIFckgaJpZM4IqbKs
.

@deltariot
Copy link
Author

I will call them in the morning and ask for the logs. They are closed now. I will send as soon as I get them

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 6, 2016

Hi @deltariot give https://github.com/ChurchCRM/Check a try to see if it comes back with all checks..

@mwendwa5
Copy link

mwendwa5 commented Jun 8, 2016

Hi @deltariot

Try changing this code in the Config.php file

$sRootPath = 'churchcrm/churchcrm';

@deltariot
Copy link
Author

Hi @DawoudIO It says the server is ChurchCRM Ready, but i see there is one crosson Mod Rewrite : http://www.sellortrade.co.za/churchcrm/check.php
image
@mwendwa5 I have changed the root pah as per your instruction but I still get the same result

@mwendwa5
Copy link

mwendwa5 commented Jun 8, 2016

@deltariot It seems like you have 2 instances of churchcrm. There is

http://www.sellortrade.co.za/churchcrm/

and

http://www.sellortrade.co.za/churchcrm/churchcrm/

You need to delete one. I suggest the 2nd folder.
If this is your option, then change

$sRootPath = 'churchcrm/churchcrm';

to

$sRootPath = 'churchcrm';

Change also the lines below to look something like

error_reporting(E_ALL); ini_set('log_errors', 1);
i.e remove the comments.
See if any error is reported.

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 8, 2016

also Mod Rewrite is important, i'll update the check software to make it a requirement

@DawoudIO
Copy link
Contributor

also check out our that your short tags are enabled

@DawoudIO
Copy link
Contributor

can we close this?

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

No branches or pull requests

4 participants