New Users Can't Sign Up - Getting Error

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: New Users Can't Sign Up - Getting Error

Post by Brf »

You have not modded includes/functions_user.php ?
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: New Users Can't Sign Up - Getting Error

Post by thecoalman »

For Cloudflare to work properly ideally you need mod_cloudflare installed on the sever OR you need to install the phpBB extension for it. All traffic to your site is from Cloudflare IP's and this can cause problem with phpBB. Cloudflare sends unique header with original IP, with mod_cloudlfare installed that is correctly pssed onto applications like phpBB, server logs etc. The extension for phpBB only deals with this issue for phpBB.


mouthpiece wrote: Thu Nov 29, 2018 4:19 pm ....and included some redirect code to allow the site serve via https
Where did you add this? What did you add? You do not need redirect to get https working, remove it until you have https working right.

In your Cloudflare account under crypto tab what is SSL set to?
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
mouthpiece
Registered User
Posts: 40
Joined: Fri Mar 09, 2018 9:06 am

Re: New Users Can't Sign Up - Getting Error

Post by mouthpiece »

I used this code in .htacess
I had to use it because I wanted my site serve https://www.url.com ,

Code: Select all

# Redirect non-www to (ssl) www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^URL\.com [NC]
RewriteRule ^(.*)$ https://www.URL.com/$1 [L,R=301]
# Redirect non-SSL to SSL
RewriteCond %{HTTPS} !on
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
thecoalman wrote: Thu Nov 29, 2018 6:45 pm For Cloudflare to work properly ideally you need mod_cloudflare installed on the sever OR you need to install the phpBB extension for it. All traffic to your site is from Cloudflare IP's and this can cause problem with phpBB. Cloudflare sends unique header with original IP, with mod_cloudlfare installed that is correctly pssed onto applications like phpBB, server logs etc. The extension for phpBB only deals with this issue for phpBB.
mouthpiece wrote: Thu Nov 29, 2018 4:19 pm ....and included some redirect code to allow the site serve via https
Where did you add this? What did you add? You do not need redirect to get https working, remove it until you have https working right.

In your Cloudflare account under crypto tab what is SSL set to?
Ssl set to Full,
Always Use HTTPS -off
Authenticated Origin Pulls -off
Opportunistic Encryption - on
Onion Routing - On
Automatic HTTPS Rewrites - On

Are you referring to this Extension - CloudFlare IP
mouthpiece
Registered User
Posts: 40
Joined: Fri Mar 09, 2018 9:06 am

Re: New Users Can't Sign Up - Getting Error

Post by mouthpiece »

Brf wrote: Thu Nov 29, 2018 6:08 pm You have not modded includes/functions_user.php ?
Yes, I have.

Went to the file to revert the changes I made and it solved the problem.

Thanks man!

However, please help me take a look at the cloudflare setting I gave above, if that's the ideal way to go about it.

Thanks again.

Thanks to everyone who has helped so far :D :)
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26503
Joined: Fri Aug 29, 2008 9:49 am

Re: New Users Can't Sign Up - Getting Error

Post by Mick »

We have seen issues in the past with Cloudflare. You may have to work through some of these issues with your host. It is recommended that your host installs the correct Cloudflare module so that Cloudflare correctly integrates with your web server: https://www.cloudflare.com/technical-resources/
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: New Users Can't Sign Up - Getting Error

Post by thecoalman »

mouthpiece wrote: Thu Nov 29, 2018 8:16 pm I used this code in .htacess
I had to use it because I wanted my site serve https://www.url.com ,
You are going to want to do that but remove it for the time being to eliminate it as potential issue. Once you have https configure properly then you can move onto redirecting http to https.

Ssl set to Full,
For this to work minimally you need a SSL certificate installed, typically most servers are going to have default certificate but it won't match the domain. Cloudflare doesn't care about that with this setting. Ideally this setting should be full strict but you need valid cert, you can obtain valid origin cert from Cloudflare.

Are you referring to this Extension - CloudFlare IP
Ideally you install mod_cloudlfare, if you do not have root access to the server you would need to contact your host. That's an apache module and fixes the IP issue for everything. As I mentioned all the traffic to your site is from Coudflare IP's. phpBB, server log file and enything else that lists IP's will have Cloudlfare IP's listed. That module passes the real IP of the visitor to server logs and apllications like phpBB.

Alternatively there is also an extension for phpBB but that only addresses this issue for phpBB.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Post Reply

Return to “[3.2.x] Support Forum”