Skip to Content Skip to Menu

Cannot update profile on CB

  • buzzweb
  • buzzweb
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #270367 by buzzweb
Replied by buzzweb on topic Cannot update profile on CB
Hello,

I turned on Joomla Debug.

All errors seem useless (only strict standards Non-static method I attached).
Attachments:

Please Log in or Create an account to join the conversation.

  • buzzweb
  • buzzweb
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #270656 by buzzweb
Replied by buzzweb on topic Cannot update profile on CB
Hello,

Trying to find a solution, I've checked old messages on your forum.

I finally found those ones :

www.joomlapolis.com/forum/27-cb-newbies/38021-session-expired-trying-to-edit-profile-frontend?start=18

www.joomlapolis.com/forum/29-usability/26712-registration-session-expired-andor-cookies-are-no?start=30#36419

So I wonder if the solution couldn't be on LegacyComprofilerFunctions.php (libraries/CBLib/CB/Legacy), line 1767 to 1798.

Well, I cannot really understand it. But this is my only clue.

Please Log in or Create an account to join the conversation.

  • buzzweb
  • buzzweb
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
9 years 2 months ago #270657 by buzzweb
Replied by buzzweb on topic Cannot update profile on CB
The code I'm talking about is :

function cbRegAntiSpamCheck( $mode = 1 ) {
global $_POST;

$validateValuePost = cbGetParam( $_POST, cbGetRegAntiSpamFieldName() );
$validateCookieName = cbGetRegAntiSpamCookieName();
if ( $validateCookieName === false ) {
$i = 2;
} else {
cbimport( 'cb.session' );
$validateValueCookie = CBCookie::getcookie( $validateCookieName );
$parts0 = explode( '_', $validateValuePost );
$parts1 = explode( '_', $validateValueCookie );
if ( ( count( $parts0 ) == 3 ) && ( count( $parts1 ) == 3 ) ) {
for($i = 0; $i < 2; $i++) {
$validate = cbGetRegAntiSpams( $i, $parts0[2], $parts1[2] );
if ( ( $validateValuePost == $validate[0] ) && ( $validateValueCookie == $validate[1] ) ) {
break;
}
}
} else {
$i = 2;
}
}
if ( $i == 2 ) {
if ( $mode == 2 ) {
return false;
}
_cbExpiredSessionJSterminate( 200 );
exit;
}
return true;
}

Please Log in or Create an account to join the conversation.

  • imraan
  • imraan
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
9 years 1 month ago #271885 by imraan
Replied by imraan on topic Cannot update profile on CB
Try disabling "spoof checking" in CB configuration. It seems to work

I had a similar issue and it was resolved when I disabled this.

Imraan

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum