[#1458] CB & vBulletin unhtmlspecialchars crash

14 years 2 months ago #124197 by fofwisdom
I used CB 1.2.1 & vB 3.8.4 by JFusion.

CB's unhtmlspecialchars of 'administrator/components/com_comprofiler/comprofiler.class.php' crashed for vB function unhtmlspecialchars.

new user attempt joined to a failure. Because, If them clicked the Register, the Joomla! printed to unhtmlspecialchars error message.


I tried removing vB function. But, I can't active vB.

I tired removing CB function. But, I can't active CB

How can I do? please help.

This thread cannot be help. - www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,104236/catid,96/

Post edited by: fofwisdom, at: 2010/02/12 11:57

Post edited by: krileon, at: 2010/02/15 17:33

Please Log in to join the conversation.

14 years 2 months ago #124199 by fofwisdom
Replied by fofwisdom on topic Re:CB & vBulletin unhtmlspecialchars crash
Joomla! joining Error message.

[code:1]Fatal error: Cannot redeclare unhtmlspecialchars() (previously declared in /home/user009/public_html/xbt/administrator/components/com_comprofiler/comprofiler.class.php:1568) in /home/user009/public_html/xbt/vB/includes/functions.php on line 3781[/code:1]


www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,104236/catid,96/ thread applied it.

[code:1]/**
* Legacy function: use cbUnHtmlspecialchars instead !
*/
if ( ! is_callable( 'unHtmlspecialchars' ) ) {
function unHtmlspecialchars( $text ) {
// if (strpos($text, "<"«») !== false) {
return cbUnHtmlspecialchars( $text );
// } else {
// return $text;
// }
}
}[/code:1]

Post edited by: fofwisdom, at: 2010/02/12 11:59

Please Log in to join the conversation.

14 years 2 months ago #124380 by krileon
Replied by krileon on topic Re:CB & vBulletin unhtmlspecialchars crash
Thank you for reporting issue; yes is confirmed and has been replaced with a less generic function. Will need further investigation for safe removal.

#1458


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 to join the conversation.

14 years 2 months ago #124454 by fofwisdom
Replied by fofwisdom on topic Re:CB & vBulletin unhtmlspecialchars crash
I deeply appreciate you kindness. :side:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.185 seconds

Facebook Twitter LinkedIn