[Joomla 1.5RC3-FIX] Profile update cb.core foreach

12 years 6 months ago #56013 by macemt
Replied by macemt on topic Re:Profile update -> cb.core error
So now that Joomla 1.5 Stable is out have you guys come up with a solution on the reasons this is happening?

I also can't edit my users' accounts using CB because when I bring up a user it says the following for the drop downs.

_UE_FB_TABDESC
_UE_FB_VIEWTYPE_TITLE:
etc.

I end up using the joomla user management side to edit these users.

Please Log in to join the conversation.

12 years 6 months ago #56124 by sdwyer
I would also recommend changing line 238 of cb.core.php from:
[code:1]if ( ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {[/code:1]
to:
[code:1]if ($userParams !== false && ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {[/code:1]
since it is possible that JParameter::getParams could return false, and count(false) returns 1 for some reason.

Please Log in to join the conversation.

12 years 6 months ago #56210 by squallata
but profile update not work i change this code but not thing happend
i use
1.5 stabil
1.1 cb
php 5
godaddy server
www.pamek.net

Please Log in to join the conversation.

12 years 6 months ago #56239 by squallata
Replied by squallata on topic i fix 1.5 profile update error
in comprofiler.html.php
change this
[code:1]
//--><!]]></script>
<form action="<?php echo sefRelToAbs("index.php?option=$option".getCBprofileItemid(true)); ?>" method="post" id="adminForm" name="adminForm" onsubmit="return submitbutton(this)">
<!-- TAB -->
[/code:1]
white this
[code:1]
//--><!]]></script>
<form action="<?php echo "index.php?option=$option".getCBprofileItemid(); ?>" method="post" id="adminForm" name="adminForm" onsubmit="return submitbutton(this)">
<!-- TAB -->
[/code:1]
and i can update my profile now :D

Please Log in to join the conversation.

12 years 6 months ago #56461 by cever
Hi,

I'm using CB 1.1 and J1.5 stable

I used the quick fix described in forum.joomla.org/index.php/topic,223385.0.html

This eliminated the ".../components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 240" error but now i get a 404 error when a user logs in using CB login [going to >> ...website.com/index.php?option=com_content&amp;view=frontpage&amp;Itemid=1]

Any idea what I'm doing wrong?

Thanks!

Please Log in to join the conversation.

12 years 5 months ago #56737 by versace
Hi , I did All that you explain,
Now this work but it remains a problem ....
after updating it shows this error :

404 - Article #0 not found

but it changes the information in user list in admin.


Thank you so much for reply if you have any solutions

(i use RC4 and CB1.1 php 5.2.5)


Thnx

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.436 seconds

Facebook Twitter LinkedIn