[#7997] Some Communiy Builder Running which does not clear
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9108
- Karma: 1434
4 years 1 week ago #318393
by krileon
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Replied by krileon on topic Some Communiy Builder Running which does not clear
Yes.Is is this file right: pkg_communitybuilder_2.4.5+build.2020.05.07.21.35.06.e8f8a6125.zip
Nope, issue with that query was entirely in core CB.Does the other plugins require updates as well?
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Please Log in or Create an account to join the conversation.
- edmundcheong
- OFFLINE
- Posts: 313
- Thanks: 10
- Karma: 1
4 years 1 week ago #318408
by edmundcheong
Just checked comprofiler.php, it seems that this look like the original. This one doesn't require to be changed? Near line 1126..
Replied by edmundcheong on topic Some Communiy Builder Running which does not clear
Code:
if ( $_CB_database->isDbCollationCaseInsensitive() ) {
$query .= "\n WHERE ( u." . $_CB_database->NameQuote( 'username' ) . " = " . $_CB_database->Quote( trim( $username ) )
. ' OR c.' . $_CB_database->NameQuote( 'alias' ) . ' = ' . $_CB_database->Quote( trim( $username ) ) . ' )';
Just checked comprofiler.php, it seems that this look like the original. This one doesn't require to be changed? Near line 1126..
Please Log in or Create an account to join the conversation.
- krileon
- ONLINE
- Posts: 68605
- Thanks: 9108
- Karma: 1434
4 years 1 week ago #318410
by krileon
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Replied by krileon on topic Some Communiy Builder Running which does not clear
The check in performCheckUsername within comprofiler.php was changed. Are you sure your install has the latest build installed? I've manually downloaded it and reviewed its files and appears fine.
Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Please Log in or Create an account to join the conversation.
- edmundcheong
- OFFLINE
- Posts: 313
- Thanks: 10
- Karma: 1
4 years 1 week ago - 4 years 1 week ago #318415
by edmundcheong
Replied by edmundcheong on topic Some Communiy Builder Running which does not clear
I have checked the mysql process list and the following code is still stacking up in the queue.
My CB is 2.4.5+build.2020.05.07.21.35.06.e8f8a6125
Code:
SELECT u.`id` FROM `#_comprofiler` AS c INNER JOIN `#_users` AS u ON u.`id` = c.`id` WHERE ( u.`username` = 'xxxxx' OR c.`alias` = 'xxxxx' ) LIMIT 0, 1
My CB is 2.4.5+build.2020.05.07.21.35.06.e8f8a6125
Last edit: 4 years 1 week ago by edmundcheong.
Please Log in or Create an account to join the conversation.
- edmundcheong
- OFFLINE
- Posts: 313
- Thanks: 10
- Karma: 1
4 years 1 week ago - 4 years 1 week ago #318423
by edmundcheong
Below is the where statement from comprofiler.php at performCheckUsername
when you say manually download it, meaning you downloaded the pkg_communitybuilder_2.4.5+build.2020.05.07.21.35.06.e8f8a6125.zip?
There's no comprofiler.php in that zip file.
Replied by edmundcheong on topic Some Communiy Builder Running which does not clear
krileon wrote: The check in performCheckUsername within comprofiler.php was changed. Are you sure your install has the latest build installed? I've manually downloaded it and reviewed its files and appears fine.
Below is the where statement from comprofiler.php at performCheckUsername
Code:
if ( $function == 'testexists' ) {
if ( $_CB_database->isDbCollationCaseInsensitive() ) {
$query .= "\n WHERE u." . $_CB_database->NameQuote( 'username' ) . " = " . $_CB_database->Quote( trim( $username ) );
} else {
$query .= "\n WHERE LOWER( u." . $_CB_database->NameQuote( 'username' ) . " ) = " . $_CB_database->Quote( strtolower( trim( $username ) ) );
}
} else {
if ( $_CB_database->isDbCollationCaseInsensitive() ) {
$query .= "\n WHERE ( u." . $_CB_database->NameQuote( 'username' ) . " = " . $_CB_database->Quote( trim( $username ) )
. ' OR c.' . $_CB_database->NameQuote( 'alias' ) . ' = ' . $_CB_database->Quote( trim( $username ) ) . ' )';
} else {
$query .= "\n WHERE ( LOWER( u." . $_CB_database->NameQuote( 'username' ) . " ) = " . $_CB_database->Quote( strtolower( trim( $username ) ) )
. ' OR LOWER( c.' . $_CB_database->NameQuote( 'alias' ) . ' ) = ' . $_CB_database->Quote( strtolower( trim( $username ) ) ) . ' )';
}
}
$_CB_database->setQuery( $query, 0, 1 );
when you say manually download it, meaning you downloaded the pkg_communitybuilder_2.4.5+build.2020.05.07.21.35.06.e8f8a6125.zip?
There's no comprofiler.php in that zip file.
Last edit: 4 years 1 week ago by edmundcheong.
Please Log in or Create an account to join the conversation.
- beat
- ONLINE
- Posts: 8176
- Thanks: 528
- Karma: 352
4 years 1 week ago #318425
by beat
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
Replied by beat on topic Some Communiy Builder Running which does not clear
Just install the latest CB package and it will upgrade your CB including that file, which is in a folder inside a zip inside a folder of the zip (standard disclaimer: backup before as usual).
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
The following user(s) said Thank You: edmundcheong
Please Log in or Create an account to join the conversation.
Moderators: beat, nant, krileon