http 403 error when registering

15 years 6 months ago #33683 by ibrahimari
Replied by ibrahimari on topic Re:http 403 error when registering
Hello,
In English summary for our solution :
Firstly, i want to say a solution of the other problem in www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,29/id,33404/ . Because we had got this problem with it.

This problem's origin is some controls about spoofing and spamming. We mention it in below. This problem must be solved by the CB developers.

Operation :
Edited file name : comprofiler.class.php

1- It's starting from line 1942. (in cbSpoofCheck() function)
Original Code :
[code:1]
global $mainframe;
$validate = 'cbj' . md5( $mainframe->getCfg('secret')) . md5( $mainframe->getCfg( 'db' ) . date( 'dmY' ) );
$validateValue = mosGetParam( $_POST, $validate, 0 );
if (!$validateValue) {
header( 'HTTP/1.0 403 Forbidden' );
echo "<script>alert('Session expired.'); window.history.go(-1);</script> \n";
exit;
}
[/code:1]

Edited Code:
[code:1]
global $mainframe;
/*$validate = 'cbj' . md5( $mainframe->getCfg('secret')) . md5( $mainframe->getCfg( 'db' ) . date( 'dmY' ) );
$validateValue = mosGetParam( $_POST, $validate, 0 );
if (!$validateValue) {
header( 'HTTP/1.0 403 Forbidden' );
echo "<script>alert('Session expired.'); window.history.go(-1);</script> \n";
exit;
}*/
[/code:1]

2- It's starting from line 2045. (in cbRegAntiSpamCheck() function)

Original Code:
[code:1]
if ( $i == 2 ) {
header( 'HTTP/1.0 403 Forbidden' );
echo "<script>alert('Registration session expired and/or cookies are not enabled in your browser.'); window.history.go(-1);</script> \n";
exit;
}
[/code:1]

Edited Code:
[code:1]
/* if ( $i == 2 ) {
header( 'HTTP/1.0 403 Forbidden' );
echo "<script>alert('Registration session expired and/or cookies are not enabled in your browser.'); window.history.go(-1);</script> \n";
exit;
}*/
[/code:1]

Operation is completed.

I installed CB Captcha Plugin instead of this commented codes. I strongly that install this plugin.

I wish help you.
Good Jobs.

Please Log in to join the conversation.

15 years 6 months ago #33732 by tonyurso
Replied by tonyurso on topic Re:http 403 error when registering
Im still having the problem but it's only a few users, please help. a couple of people said they spoke to their hosting company but never said what the problem was...

Please Log in to join the conversation.

15 years 6 months ago #33734 by taleb
Replied by taleb on topic Re:http 403 error when registering
I am sorry, but all what i managed to pull from them is that their security software was incompatible with Joomla! which is something that I highly doubt.

tonyurso wrote:

Im still having the problem but it's only a few users, please help. a couple of people said they spoke to their hosting company but never said what the problem was...

Please Log in to join the conversation.

15 years 6 months ago #33761 by tonyurso
Replied by tonyurso on topic Re:http 403 error when registering
:sick: This is driving me crazy, Im actaully adding people manually at this point, its not all users just a few. ibrahimari's work around doesnt work in the newer version of CB cause those 2 funtions where removed.
I posted a message on ev1servers forum to see if I can get a direct answer, It may be something with the php.ini and http.conf files. I will let you guys know if you do the same for me. I have 40 people a day joining, i could just imagine how many Im loosing!!!! :sick:

Please Log in to join the conversation.

15 years 6 months ago #34658 by UliMue
Replied by UliMue on topic Re:http 403 error when registering
Still unresolved? :dry:

Dear JoomlaPolis team,
your user need assistance! Urgently!!!

Please Log in to join the conversation.

15 years 6 months ago #34662 by glassparman
Replied by glassparman on topic Re:http 403 error when registering
Not sure what version of Joomla you are using but I resolved this problem on my site by upgrading Joomla from 1.0.10 to 1.0.12

hope this helps!

:cheer:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn