xoops forums

chefry

Home away from home
Posted on: 2013/5/17 11:56
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#1

Problem with new user registration

People clicking on the "Register" link get an error saying they don't have permission to access this area

XOOPS Version XOOPS 2.4.5
PHP Version 5.2.14
mySQL Version 5.0.77-log
Server API apache2handler
OS Linux

any fix? anyone know what the problem might be?

Mamba

Moderator
Posted on: 2013/5/17 12:10
Mamba
Mamba (Show more)
Moderator
Posts: 10749
Since: 2004/4/23
#2

Re: Problem with new user registration

Things don't happen out of the blue, so you need to check what has changed, or what you've changed, so now suddenly the user cannot access the area.

You might also repair the database, in case something got corrupted, and empty the sessions table.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

chefry

Home away from home
Posted on: 2013/5/17 12:24
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#3

Re: Problem with new user registration

while trying to fix this i accidentally banned myself in protector.

how do i delete my ip from the mysql?

I can read it using phpmyadmin, but i can't edit it

Mamba

Moderator
Posted on: 2013/5/17 12:56
Mamba
Mamba (Show more)
Moderator
Posts: 10749
Since: 2004/4/23
#4

Re: Problem with new user registration

Quote:
how do i delete my ip from the mysql?

there is a file called badipXXX in your directory:

xoops_lib/modules/protector/configs

You'll need to modify it.

If you cannot modify it, just delete it, but you'll lose all the other bad IP that you've added to Protector, and they will have access again to your Website.

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

chefry

Home away from home
Posted on: 2013/5/17 13:06
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#5

Re: Problem with new user registration

Thanks, that fixed my banned problem but I still have the new user registration problem

I followed your directions from here
Quote:

Mamba wrote:

2) In the Profile module, go to the Basic step:

modules/profile/admin/step.php?id=1

and set the "Save after stop" to "No"

3) go to the Protector module in Admin, go to Preferences, and then at the bottom, at this option:

Quote:
Stop Forum Spam
Checks POST data against spammers registered on www.stopforumspam.com database. Requires php CURL lib

set it to "Ban the IP (no limit)"


I've reversed the settings but new users still can't register

not sure how to repair the database or clear session tables in 2.4.5

chefry

Home away from home
Posted on: 2013/5/21 8:26
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#6

Re: Problem with new user registration

bump!

redheadedrod

Home away from home
Posted on: 2013/5/21 8:45
redheadedrod
redheadedrod (Show more)
Home away from home
Posts: 1296
Since: 2008/2/26
#7

Re: Problem with new user registration

Check to make sure your anonymous user permissions allow them to access registration. A user that is currently not registered would be considered to be anonymous and thus the permissions related to the anonymous group would apply. I suspect you probably recently went through and "updated" your anonymous user permissions at some point recently and accidentally modified this permission.

chefry

Home away from home
Posted on: 2013/5/21 8:50
chefry
chefry (Show more)
Home away from home
Posts: 1005
Since: 2006/10/14
#8

Re: Problem with new user registration

Yep, that fixed it

Thanks Rod