CB Registration

15 years 4 months ago #82406 by trlbldr
CB Registration was created by trlbldr
This is the third issue I've found with CB 1.2RC4 run on Joomla 1.0; when one clicks the Register link, CB returns these error messages:

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mysite/public_html/administrator/components/com_comprofiler/plugin.class.php on line 407

Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/administrator/components/com_comprofiler/plugin.class.php on line 407

So, what's to be done? The code beginning at line 407 of plugin.class.php is:

[code:1]function callTemplate( $element, $subClass, $method, $args, $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 );[/code:1]

Thanks.

Post edited by: trlbldr, at: 2008/12/15 07:29

Post edited by: trlbldr, at: 2008/12/15 07:33

Don White

Please Log in to join the conversation.

15 years 4 months ago #82426 by Beany
Replied by Beany on topic Re:CB Registration
I am also getting the same problem.
After installing CB 1.2 RC4 on Joomla 1.012 with AEC I get a blank registration screen.

Debug shows the exact same errors as described in this blog.
However, I also get a notice of undefined Index: templates

Since line 407 refers to the templates array, i assume that this may be related.

Post edited by: Beany, at: 2008/12/15 16:14

Please Log in to join the conversation.

15 years 4 months ago #82449 by nant
Replied by nant on topic Re:CB Registration
Pretty sure a read about this before along with a solution.

Make sure all your cb template plugins are published for public.

Please Log in to join the conversation.

15 years 4 months ago #82468 by trlbldr
Replied by trlbldr on topic Re:CB Registration
I'm not certain what I was to read before publication. As for plug-ins, all CB plug-ins are, and were, published for "public" access; I restrict the tabs to "all registered users."

My guess is that RC4 works fine with j15; I haven't upgraded by CB installations on the two j15 sites I maintain, yet. As for the j1.0 site, it looks like I must back out and reinstall RC3. Everything worked fine with that upgrade.

Don White

Please Log in to join the conversation.

15 years 4 months ago #82469 by nant
Replied by nant on topic Re:CB Registration
Are all template plugins published for public?

Please Log in to join the conversation.

15 years 4 months ago #82470 by trlbldr
Replied by trlbldr on topic Re:CB Registration
All plugins are published for "public" access. I am confused, I admit: I know that there's a template, but there's no choice of templates and the CB area isn't labeled "template" plugins, but Plugin Manager. There, I have left all plugins set for public access.

Cheers,

Don White

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.253 seconds