1
donavan
Error trying to register at site:
  • 2004/12/20 0:34

  • donavan

  • Just popping in

  • Posts: 15

  • Since: 2004/10/18


Trying to register here on this site and form results in the following error: "Could not register new user." when clicking on the Finish button on the page after the submit page.

Has anyone see this before? I'm stumped. I also have a similar but different error after users actually get registered. I'm trying to use https for the user page features, registration and default login pages.

Can anyone please help? Not securing basic user login credentials and when they update them is very weak security practice.

Also, I'm in the #xoops channel on freenode.net if you'd like to chat in realtime. Or have me try something.

Thanks,

.dn

2
donavan
SOLVED: Re: Error trying to register at site:
  • 2004/12/20 2:56

  • donavan

  • Just popping in

  • Posts: 15

  • Since: 2004/10/18


the referer check was causing me to have strange behavior....

I solved that problem and maintained referer checking by replacing the function xoops_refcheck ($docheck=1) with the following implementation:

function xoops_refcheck ($docheck=1)
{
        
$ref xoops_getenv('HTTP_REFERER');
        if (
$docheck == 0)
        {
                return 
true;
        }
        
$secureUrl str_replace ('http:''https:'XOOPS_URL);
        if (
$ref == '' || (strpos($refXOOPS_URL) !== && strpos($ref$secureUrl) !== 0))
        {
                return 
false;
        }
        return 
true;
}


I'm happy now and have selected https support based on my custom menus...

3
shaggyze
Re: Error trying to register at site:
  • 2005/3/17 8:23

  • shaggyze

  • Just popping in

  • Posts: 9

  • Since: 2005/3/13


i'm also having this problem with several of my users, over 50% have had problems, most dealing with cookies and some can't upload avatars but biggest problem is not being about to register at all, i've change the ways of activation and that had no effect so i'm wondering if this code does fix the problem, what file do i replace the code in?

Login

Who's Online

312 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 312


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits