registration problem

18 years 4 months ago #2574 by beat
Replied by beat on topic Re:registration problem
2 more suggestions in the air:
- Try emptying your site trash in the backend
- Check your single menu related to user profile

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 4 months ago #2635 by Sibling Chris
Replied by Sibling Chris on topic Re:registration problem
if your problems are exactly the same as I described mine were using mambo 4.5.3 then I would think the same fix I suggested to comprofiler.php will work, it certainly sorted things for me

in comprofiler.php look for

confirm(mosGetParameter($_REQUEST,'confirmcode','1');

and replace with

confirm( $_GET );

Please Log in to join the conversation.

18 years 4 months ago #2650 by hadrianb
Replied by hadrianb on topic Re:registration problem
Chris, great, this worked. Thanks a lot for your post.

Hadrian

Hadrian

Please Log in to join the conversation.

18 years 4 months ago #2680 by beat
Replied by beat on topic Re:registration problem
Sibling Chris wrote:

if your problems are exactly the same as I described mine were using mambo 4.5.3 then I would think the same fix I suggested to comprofiler.php will work, it certainly sorted things for me

in comprofiler.php look for

confirm(mosGetParameter($_REQUEST,'confirmcode','1');

and replace with

confirm( $_GET );


Thanks for finding the problem. I'm amazed that Mambo changed the mosGetParameter function...

But please beware that the replacement suggested above opens a hole for SQL injection attacks...
Instead, a SQL-safe replacement is:

[code:1]cbGetEscaped(isset($_GET) ? $_GET : ""«»);
[/code:1]

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 3 months ago #3325 by hfhs
Replied by hfhs on topic Re:registration problem
[code:1]cbGetEscaped(isset($_GET) ? $_GET : ""«»);[/code:1]

I tried the above code however it did not work.

this one did
[code:1]confirm( $_GET );[/code:1]


Thanks for the help. Anyone that upgrades mambo to 4.5.3 will have to do this.

eeehhhhhhhh

Don

Please Log in to join the conversation.

18 years 3 months ago #3328 by dsendecki
Replied by dsendecki on topic Re:registration problem
Note Beat's message however:

Please beware that the replacement suggested above opens a hole for SQL injection attacks...

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.245 seconds

Facebook Twitter LinkedIn