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.php loops #1448

Closed
jmitchell238 opened this issue Nov 24, 2016 · 11 comments
Closed

Setup.php loops #1448

jmitchell238 opened this issue Nov 24, 2016 · 11 comments

Comments

@jmitchell238
Copy link

I'm using a LAMP service on a Raspberry pi 2. Once I finally go to the localhost/churchcrm it directs me to theSetup.php file. Everything has a checkmate and everything is filled out. Once I click continue it begins to load and then reloads the setup page again. I can't proceed to the login page. Any help would be appreciated.

@saulowulhynek
Copy link

Hi, did you see if you are running correct PHP version?

@jmitchell238
Copy link
Author

The Raspberry pi is running mysql Ver 14.14 Distrib 5.5.52 for debian-linux-gnu

PHP Version => 5.6.27-o+deb8u1

@DawoudIO
Copy link
Contributor

Setup.php needs file access to create a file on disk can you check the file perms on the Apache user and the churchcrm folder

@crossan007
Copy link
Contributor

We should add a check to setup to see of it has write permission on the dir...

@jmitchell238
Copy link
Author

I'm using phpmyadmin and the user I created is "churchcrm" and I granted it all privileges. I'm not sure how to check that setup.php has the proper write permission on the dir.

@jmitchell238
Copy link
Author

I used filezilla and updated the permissions. I then got to the Login.php page and used the "admin - changeme" and I got a error.

The localhost page isn't working
localhost redirected you too many times.

ERR_TOO_MANY_REDIRECTS

the address bar says it's going to CheckVersion.php

Different error I know, but maybe that's progress? any ideas?

@DawoudIO
Copy link
Contributor

Can you give me the url for the installed site and the sRootPath in the includes/Config.php

@jmitchell238
Copy link
Author

ok. as of this moment you would go to http://napier.ddns.net/churchcrm

This is where the folder would be located. It says "the requested url /churchcrm/login was not found on this server.

It's not adding the .php at the end. I'm completely lost as to why it's doing these things. It's also being very specific about capital letters. If you type login.php it wont be found, if you type Login.php it will go to the login screen.

I'm a beginner if you haven't noticed so i'm in over my head at this point.

Thanks for trying to help though.

@DawoudIO
Copy link
Contributor

what did you change since ERR_TOO_MANY_REDIRECTS

@jmitchell238
Copy link
Author

What I've done was actually delete all the files. And I reuploaded them to the raspberry pi. I've done that about 10 times. I've tried giving everything 755,777,757 permissions at different times. I've also double/triple checked all my php/MySQL installs and everything seems to be in working order. I can recreate the Setup loop. The only thing that stops that seems to be the Permissions.

After that I can change the permissions and it will move past Setup.php but then will stop on CheckVersion.php

I'm going to create two instances of the program
Http://Napier.ddns.net/churchcrm
Http://Napier.ddns.net/churchcrm2

On the first I won't set any permission changes.
On the second I'll put 777 permissions on the folder and all the files.

I'm using http://Napier.ddns.net/phpmyadmin
To create the databases. I'm creating churchcrm and churchcrm2 as users and databases for each respectively.

Under 'database for user' I'm checking "create database with same name and grant all privileges" I'm NOT checking "grant all privileges on wildcard name(username_%)."

On churchcrm I am giving leaving permissions stock.
On churchcrm2 I'm using FileZilla to give all files 777 permission.

I'm not even going to try to progress past the Setup page so that you can test them and see what they do.

@jmitchell238
Copy link
Author

I also imported the 'install.sql' files after permission changes respectively on each database in "phpmyadmin'

Both said 'import has been successfully finished, 60 queries executed. (Install.sql)'

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