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

Installation Problem #602

Closed
BoonHean opened this issue May 12, 2016 · 13 comments
Closed

Installation Problem #602

BoonHean opened this issue May 12, 2016 · 13 comments
Labels

Comments

@BoonHean
Copy link

Hi, I'm Boon from Singapore's All Saint's Church.

  1. I can't seems to find the ".tar.gz" mentioned in the docs, the file that I downloaded is "ChurchCRM-CRM-2.0.0-18-gb3a02c3.zip", is that right?
  2. I can't find the directory "churchcrm" in the zip file, I ended up copying the files under the "src" directory to the apache's document root folder, and manage to setup the database stuff. Is that the right way?
  3. It seems to be able to connect to the mysql database (I keyed in the wrong password and it complains about it before that). But I got a 404 error, saying "The requested URL /login was not found on this server.". I'm stuck with this. What should I do to get going and reach the login page?

Thanks and god bless!
Boon

@crossan007
Copy link
Contributor

Hello!

  1. You should use the 2.0.0 release located here: https://github.com/ChurchCRM/CRM/tree/2.0.0. The latest 2.0.0 build should have an MD5 hash of 0E97E7CE9D1B89D30A183A0495EB4008
  2. The "src" directory is correct. We changed "churchinfo" to "src" to more accurately reflect the project name. We'll need to see if we can identify all places in docs where this is wrong.
  3. have you modified config.php to use the correct database username / password / host, and the correct root path?

Also, How did you find out about ChurchCRM?

Blessings!

@BoonHean
Copy link
Author

BoonHean commented May 13, 2016

Thanks for the quick response!

I just downloaded the 2.0.0 release, did setup the SERVERNAME, USER, PASSWORD and DATABASE correctly. Same result, but I made some progress reaching the login page. I'm guessing it has to do with my vhosting setup, I'm trying to use the existing web server to host this. This is what I have in my vhost.conf file:

<setup for www.asc.org.sg>

<VirtualHost *:80>
    ServerAdmin [email protected]
    ServerAlias crm.asc.org.sg
    DocumentRoot /var/www/churchcrm/public_html/
    ErrorLog /var/www/churchcrm/logs/error.log
    CustomLog /var/www/churchcrm/logs/access.log combined
</VirtualHost>

So I thought of accessing the crm through crm.asc.org.sg. I've copied everyting in src into /var/www/churchcrm/public_html/. But I'll get this error:

The requested URL /login was not found on this server.

If I set $sRootPath to "churchcrm", I'll get to the login page and is able to login, but after which I'll see:

The requested URL /churchcrm/CheckVersion.php was not found on this server.

If I set $sRootPath to "churchcrm/public_htm", same thing, I'll get:

The requested URL /churchcrm/public_html/CheckVersion.php was not found on this server.

I've also tried keeping $sRootPath to "" and use $bLockURL to TRUE and use $URL[0] = 'http://crm.asc.org.sg' but that doesn't seems to work as well.

If I reload crm.asc.org.sg after logging in, I'll get a:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

I might be doing something wrong here, any advice for setting up using vhost?

Help appreciated!

@crossan007
Copy link
Contributor

We made some changes to that process right before 2.0.0 release. There may
be something going on with how the app is locating the check version fine.

I'll look at the code at about 11pm gmt-5.
On May 13, 2016 4:47 AM, "BoonHean" [email protected] wrote:

Thanks for the quick response!

I just downloaded the 2.0.0 release, did setup the SERVERNAME, USER,
PASSWORD and DATABASE correctly. Same result, but I made some progress
reaching the login page. I'm guessing it has to do with my vhosting setup,
I'm trying to use the existing web server to host this. This is what I have
in my vhost.conf file:

<VirtualHost *:80>
ServerAdmin [email protected]
ServerAlias crm.asc.org.sg
DocumentRoot /var/www/churchcrm/public_html/
ErrorLog /var/www/churchcrm/logs/error.log
CustomLog /var/www/churchcrm/logs/access.log combined

So I thought of accessing the crm through crm.asc.org.sg. I've copied
everyting in src into /var/www/churchcrm/public_html/. But I'll get this
error:

The requested URL /login was not found on this server.

If I set $sRootPath to "churchcrm", I'll get to the login page and is able
to login, but after which I'll see:

The requested URL /churchcrm/CheckVersion.php was not found on this server.

If I set $sRootPath to "churchcrm/public_htm", same thing, I'll get:

The requested URL /churchcrm/public_html/CheckVersion.php was not found on
this server.

I've also tried keeping $sRootPath to "" and use $bLockURL to TRUE and use
$URL[0] = 'http://crm.asc.org.sg' but that doesn't seems to work as well.

I might be doing something wrong here, any advice for setting up using
vhost?

Help appreciated!


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#602 (comment)

@crossan007
Copy link
Contributor

If you want to use a sub domain as your site, then $sRootPath should be blank.
$URL[0] should be "http://http://crm.asc.org.sg/"

@crossan007
Copy link
Contributor

Did you copy the contents of SRC directly into your server's document root (/var/www/churchcrm/public_html/)?

@BoonHean
Copy link
Author

Yes I did. I've also tried leaving the rootpath blank, set the URL[0] and
turn the flag on. I'm out now but I'll give another try when I get back.

Do I need to re-create the db when I move the files? Does it store any path
info in the db?
On 14 May 2016 6:40 AM, "Charles" [email protected] wrote:

Did you copy the contents of SRC directly into your server's document root
(/var/www/churchcrm/public_html/)?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#602 (comment)

@crossan007
Copy link
Contributor

There isn't any path data in the DB, so that shouldn't be it....

I'm at a meeting tonight until 9-10 PM GMT-5, but i'll be around after that for a little while. Feel free to ping on the dev chat at https://gitter.im/ChurchCRM/CRM

@BoonHean
Copy link
Author

Resolve by setting the RewriteBase directive to the absolute path to src/.htacces file.

@noriel1214
Copy link

Hello. I am getting the following error message. I am setting up ChurchCRM on a localhost:
{"code":0,"message":"An invalid configuration name has been requested: sGoogleTrackingID","file":"C:\wamp\www\churchcrm\ChurchCRM\dto\SystemConfig.php","line":274,"trace":["#0 C:\wamp\www\churchcrm\Include\analyticstracking.php(4): ChurchCRM\dto\SystemConfig::getValue('sGoogleTracking...')","#1 C:\wamp\www\churchcrm\Include\FooterNotLoggedIn.php(42): include_once('C:\\wamp\\www\\chu...')","#2 C:\wamp\www\churchcrm\setup\templates\setup-steps.php(232): require('C:\\wamp\\www\\chu...')","#3 C:\wamp\www\churchcrm\vendor\slim\php-view\src\PhpRenderer.php(180): include('C:\\wamp\\www\\chu...')","#4 C:\wamp\www\churchcrm\vendor\slim\php-view\src\PhpRenderer.php(168): Slim\Views\PhpRenderer->protectedIncludeScope('templates/setup...', Array)","#5 C:\wamp\www\churchcrm\vendor\slim\php-view\src\PhpRenderer.php(62): Slim\Views\PhpRenderer->fetch('setup-steps.php', Array)","#6 C:\wamp\www\churchcrm\setup\routes\setup.php(10): Slim\Views\PhpRenderer->render(Object(Slim\Http\Response), 'setup-steps.php', Array)","#7 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)","#8 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\Handlers\Strategies\RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)","#9 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\Route.php(325): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)","#10 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(116): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))","#11 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\Route.php(297): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))","#12 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\App.php(443): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))","#13 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\MiddlewareAwareTrait.php(116): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))","#14 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\App.php(337): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))","#15 C:\wamp\www\churchcrm\vendor\slim\slim\Slim\App.php(298): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))","#16 C:\wamp\www\churchcrm\setup\index.php(24): Slim\App->run()","#17 {main}"]}

@DawoudIO
Copy link
Contributor

DawoudIO commented Jul 1, 2017

What version of the software and how did you download it

@DawoudIO
Copy link
Contributor

DawoudIO commented Jul 1, 2017

@noriel1214 please open a new issue.. If your system is running please use the bug icon on top right of the web interface

@damaga4real
Copy link

churchcrm
i log in with username and password error

@adecentric
Copy link

I am experiencing this on my church website An appropriate representation of the requested resource /SystemSettings.php could not be found on this server, whenever I edit http://www.members.rccggreaterworks.com/SystemSettings.php via the admin page and then trying to save it

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

6 participants