"Session expired"when registering, changeing profi

16 years 8 months ago #42202 by KvartFella
This is what my hosting provider said:

"The error that is present now appears to be from a lack of the mod_rewrite rules that come with the application when it is firstly installed. It looks like it may have been replaced with the frontpage .htaccess file. Please place the correct mod_rewrite rules into the .htaccess file in your public_html directory to resolve this issue."

I had same problem with session expired on CB, and ppl from my hosting support got it fixed, now i got some problems with paths on my web site, but we are working on it ... Most important problem with "session expired" is fixed through .htaccess and php.ini.

Please Log in to join the conversation.

16 years 8 months ago #42212 by Lee2007
Hi, If you have time can you explain some exact details so I know what to do or if it's super technical I can forward the info to my admin.
I would really appreciate it.

Cheers Lee

Greetings from New Zealand.

Please Log in to join the conversation.

16 years 5 months ago #49151 by buyanaal81
Hi. I'm from Mongolian. I have solved the problem. Joomla 1.12 with CB 1.1.
This is code
[code:1]function cbRegAntiSpamCheck() {
global $_POST, $_COOKIE;

$validateValuePost = cbGetParam( $_POST, cbGetRegAntiSpamFieldName() );
$validateValueCookie = cbGetParam( $_COOKIE, "cbrvs" );
$parts = explode( '_', $validateValuePost );
if ( count( $parts ) == 3 ) {
for($i = 0; $i < 2; $i++) {
$validate = cbGetRegAntiSpams( $i, $parts[2] );
if ( ( $validateValuePost == $validate[0] ) && ( $validateValueCookie == $validate[1] ) ) {
break;
}
}
} else {
$i = 2;
}
if ( $i == 2 ) {
echo "<script>alert(\"" . _UE_SESSION_EXPIRED . "\"«»); window.history.go(-1);</script> \n";
exit;
}
}[/code:1]

change it
[code:1]if ( $i == 2 )[/code:1]
to what you want
[code:1]if ( $i == 21 )[/code:1]

Then try it.

Please Log in to join the conversation.

16 years 2 months ago #57517 by corovida
Replied by corovida on topic Re:"Session expired"when registering, ch
hi,

buyanaal81 what file we modified about this change


tks
best regards
corovida

Post edited by: corovida, at: 2008/02/26 13:08

Coro Vida Abundante

Please Log in to join the conversation.

16 years 1 month ago #58113 by vamundse
Replied by vamundse on topic Re:"Session expired"when registering, ch
i also get this error mesasge in 1.1

what file or can someone put out the edited file?

i also hope the next cb will be easier to update..

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn