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

Error I am getting is "The page isn’t redirecting properly" #1209

Closed
Infinetit opened this issue Oct 25, 2016 · 12 comments
Closed

Error I am getting is "The page isn’t redirecting properly" #1209

Infinetit opened this issue Oct 25, 2016 · 12 comments

Comments

@Infinetit
Copy link

Good day,

Please assist me, I have setup the ChurchCRM on our church website. When I get to the stage to login i get the following error.

Error I am getting is "The page isn’t redirecting properly"
www.soteriabedieninge.org.za

Thank you for helping...

[email protected]

@DawoudIO
Copy link
Contributor

Can you tell us the content of includes / Config.php

@Infinetit
Copy link
Author

Good day,

I cannot get this CRM to work. The config file has usernames and password in to my server. I cannot just email to you.

Stuck on the login page..

Thanks for helping...


From: George Dawoud [email protected]
Sent: 25 October 2016 04:03:45 PM
To: ChurchCRM/CRM
Cc: Henk Hattingh; Author
Subject: Re: [ChurchCRM/CRM] Error I am getting is "The page isn’t redirecting properly" (#1209)

Can you tell us the content of includes / Config.php


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1209#issuecomment-256043754, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-4oyB7i6bntW0OZW6jQWtTEowoohBZks5q3gxBgaJpZM4KfxvK.

@DawoudIO
Copy link
Contributor

Remove the password and send us the file

@Infinetit
Copy link
Author

Good day,

Please find config file below.

Thank you

Henk


From: George Dawoud [email protected]
Sent: 25 October 2016 08:18:04 PM
To: ChurchCRM/CRM
Cc: Henk Hattingh; Author
Subject: Re: [ChurchCRM/CRM] Error I am getting is "The page isn’t redirecting properly" (#1209)

Remove the password and send us the file


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1209#issuecomment-256119788, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-4oy9RgdvKwYymCZ8VIZwcmzI0SA6zks5q3kfcgaJpZM4KfxvK.

@DawoudIO
Copy link
Contributor

$sRootPath = 'http://soteriabedieninge.org.za/admin';

Should be

$sRootPath = ''; or /churchcrm

@crossan007
Copy link
Contributor

I followed the link.... It looks like he actually installed churchcrm in the admin directory

@Infinetit
Copy link
Author

Hello everyone

I installed the CRM on my hosting server in an admin folder.

That is all I did.

So I am stuck on the login screen.

Not accepting the password.

Any ideas.

Thank you

Kind regards
Henk Hattingh
InfiNET IT
www.infinet-it.comhttp://<br/www.infinet-it.com>
031 100 1012

Sent from Outlook Mobilehttps://aka.ms/blhgte

On Wed, Oct 26, 2016 at 6:22 PM +0200, "Charles" <[email protected]mailto:[email protected]> wrote:

It also seems that he changed the default password


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1209#issuecomment-256401830, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-4oz0Qi1rfXf4sxyyucTcFpGQo6IL0ks5q335KgaJpZM4KfxvK.

@crossan007
Copy link
Contributor

Yeah - for some reason CheckVersion.php is HTTP/302'ing back to login.php:
image

@Infinetit
Copy link
Author

Should I delete everything including the db. And start all over again.

Kind regards
Henk Hattingh
InfiNET IT
www.infinet-it.comhttp://<br/www.infinet-it.com>
031 100 1012

Sent from Outlook Mobilehttps://aka.ms/blhgte

On Wed, Oct 26, 2016 at 6:58 PM +0200, "Charles" <[email protected]mailto:[email protected]> wrote:

Yeah - for some reason CheckVersion.php is HTTP/302'ing back to login.php:
[image]https://cloud.githubusercontent.com/assets/11679900/19735984/cb6172d4-9b7b-11e6-962d-3acc96919ad3.png


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1209#issuecomment-256411837, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-4o20dFKYbjkAkgqpkuxitw3v6KjH4ks5q34aTgaJpZM4KfxvK.

@crossan007
Copy link
Contributor

I think you need to make sure mod_rewrite is enabled on your host. See these similar issues:

#645
#602

See if enabling this helps

@Infinetit
Copy link
Author

Good day,

My hosting company has confirmed that mod_rewrite is enabled. I even tested it.

Turn Rewrite Engine On

RewriteEngine on

#Rewrite For /admin/index.php

RewriteRule ^admin /admin/index.php [NC,L]

But still no joy..

Any Ideas and help with be gladly appreciated..

Thank you

Henk


From: Charles [email protected]
Sent: 27 October 2016 05:09:12 AM
To: ChurchCRM/CRM
Cc: Henk Hattingh; Author
Subject: Re: [ChurchCRM/CRM] Error I am getting is "The page isn’t redirecting properly" (#1209)

I think you need to make sure mod_rewrite is enabled on your host. See these similar issues:

#645#645
#602#602

See if enabling this helps


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/1209#issuecomment-256535374, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV-4o6LkBvu0b5xwv8CWTKDGeRpxrgTLks5q4BXYgaJpZM4KfxvK.

@crossan007
Copy link
Contributor

I'm not an Apache expert, but here's the contents of my production .htaccess.

One thing I notice is that our rewrite engine flags are different - you have NC,L, and I have QSA,L. Also you don't have the RewriteCond.

Unfortunately I didn't really document how I arrived at this config, but the apache documentation gives some guidance on the flags

RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

<IfModule mod_php5.c>
    php_value short_open_tag On
</IfModule>

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

No branches or pull requests

3 participants