| 
Welcome, Guest

[Joomla 1.5RC3-FIX] Profile update cb.core foreach
(1 viewing) (1) Guest

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

Re:Profile update -> cb.core error 4 years, 3 months ago #56013

  • macemt
  • macemt
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 1
  • Karma: -
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.
The topic has been locked.

Re:[Joomla 1.5RC3-FIX] Profile update cb.core fore 4 years, 3 months ago #56124

  • sdwyer
  • sdwyer
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 1
  • Karma: -
I would also recommend changing line 238 of cb.core.php from:
if ( ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {

to:
if ($userParams !== false && ( count( $userParams ) > 0 ) && in_array( $_CB_framework->getCfg( "frontend_userparams" ), array( '1', null) ) ) {

since it is possible that JParameter::getParams could return false, and count(false) returns 1 for some reason.
The topic has been locked.

Re:[Joomla 1.5RC3-FIX] Profile update cb.core fore 4 years, 3 months ago #56210

  • squallata
  • squallata
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 5
  • Karma: 2
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
The topic has been locked.

i fix 1.5 profile update error 4 years, 3 months ago #56239

  • squallata
  • squallata
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 5
  • Karma: 2
in comprofiler.html.php
change this
 
//--><!]]></script>
<form action="<?php echo sefRelToAbs("index.php?option=$option".getCBprofileItemid(true)); ?>" method="post" id="adminForm" name="adminForm" onsubmit="return submitbutton(this)">
<!-- TAB -->
 

white this
 
//--><!]]></script>
<form action="<?php echo "index.php?option=$option".getCBprofileItemid(); ?>" method="post" id="adminForm" name="adminForm" onsubmit="return submitbutton(this)">
<!-- TAB -->
 

and i can update my profile now
The topic has been locked.

Re:[Joomla 1.5RC3-FIX] Profile update cb.core fore 4 years, 3 months ago #56461

  • cever
  • cever
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 3
  • Karma: -
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!
The topic has been locked.

Re:[Joomla 1.5RC3-FIX] Profile update cb.core fore 4 years, 3 months ago #56737

  • versace
  • versace
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 5
  • Karma: -
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
The topic has been locked.
Time to create page: 1.13 seconds