Skip to Content Skip to Menu

Last Chance: Lock in 20% Savings on Pro & Dev Memberships with code EASTER-2025

New CB-Profile issue

  • WALRI01
  • WALRI01
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
1 week 3 days ago #340920 by WALRI01
New CB-Profile issue was created by WALRI01
Hi, All features of CB working well but I have one last issue in that the "sign up" button on the CB Login page takes me to a page not found.
To try and work out what was going on, I created a menu item directly linked to the CB Registration form (Menu Item Type->Community Builder->Registration Form) and this created a "Link" of "index.php?option=com_comprofiler&view=registers" but this relative URL ends up in the browser as "/index.php?option=com_comprofiler&view=registers&Itemid=124" (where Item id 124 is the item id for the CB Registration menu item) but this still results in a page not found. 

Looking at my last issue I am starting to think that there is something wrong with com_profiler logic?

Any ideas what is going on here please? 

FYI - this is a few weeks old new installation of Joomla and CB all at the very latest levels and other extensions except jevents disabled. 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49087
  • Thanks: 8390
  • Karma: 1460
1 week 1 day ago #340927 by krileon
Replied by krileon on topic New CB-Profile issue
They should be taken to the below page on registration being complete.

index.php?option=com_comprofiler&view=saveregisters

Is the user being registered despite going to the wrong page? If not then something maybe acting on Joomla user store and redirecting away. Usually 3rd party System or User plugins would be responsible for something like that happening.


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.

  • WALRI01
  • WALRI01
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
1 week 11 hours ago #340932 by WALRI01
Replied by WALRI01 on topic New CB-Profile issue
FYI - I unpublished CB login and CB Register and published core login and core register and I seem to have a similar issue so it looks like CB is out of scope.

For the benefit of others, the user does not see a registration screen after clicking "sign up" on the log-in screen they go strait to a "The requested page can't be found." and a "0 array_keys(): Argument #1 ($array) must be of type array, null given" error in the browser. 

If logged out and manually entering ../index.php?option=com_comprofiler&view=saveregisters then I get a "The most recent request was denied because it had an invalid security token. Please go back or refresh the page and try again." error.

What is puzzling me is that if I manually create a new menu item and select type "Registration Form" from the Community Builder type group, the it automatically plugs in a Link of "index.php?option=com_comprofiler&view=registers" which I can not change (field greyed and locked) and as I understand it this is the wrong syntax but of course a mute point if core is not working?

Research continues....  
 


 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49087
  • Thanks: 8390
  • Karma: 1460
1 week 10 hours ago #340933 by krileon
Replied by krileon on topic New CB-Profile issue

For the benefit of others, the user does not see a registration screen after clicking "sign up" on the log-in screen they go strait to a "The requested page can't be found." and a "0 array_keys(): Argument #1 ($array) must be of type array, null given" error in the browser.

Ok, your issue is a fatal error ending the process then. You don't have a routing issue, but an error issue. Enable debug mode and maximum error reporting in Joomla global configuration then retry. This should output the full error. Next provide the full error stack so we can see where the error is coming from.


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.

  • WALRI01
  • WALRI01
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
4 days 12 hours ago #340939 by WALRI01
Replied by WALRI01 on topic New CB-Profile issue
The error stack was:
1 () JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:1168
2 array_keys() JROOT/libraries/CBLib/CB/Legacy/cbPluginHandler.php:1168
3 cbPluginHandler->callTemplate() JROOT/components/com_comprofiler/comprofiler.html.php:1141
4 HTML_comprofiler::registerForm() JROOT/components/com_comprofiler/comprofiler.php:994

And the code in this area is (error line in red font and indent messed up by copy/paste):

public function callTemplate( $element, $subClass, $method, $args, $output = 'html' )
{
if ( $output == 'htmledit' ) {
$output = 'html';
}

foreach ( array_keys( $this->_pluginGroups ) as $pluginId ) {
if ( $this->_pluginGroups[$pluginId]->element == $element ) {
return $this->call( $pluginId, $method, ( 'CB' . $subClass . 'View_' . $output . '_' . $element ), $args );
}
}

return null;
}

Does this help at all?

Regards

Ricky

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49087
  • Thanks: 8390
  • Karma: 1460
4 days 12 hours ago #340940 by krileon
Replied by krileon on topic New CB-Profile issue
You don't have a CB template available. Within CB > Plugin Management ensure the default CB template is public access and published. If it isn't please edit it and change it so it's public and published.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum