Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 Next > End >>
Joomla! 1.0.5 and CB 1.0 RC2 Issues
Date: 2005/12/29 03:48 By: nant Status: Admin  
Karma: 452  
Admin

Posts: 5703
graph
This thread discusses the Content article: Joomla! 1.0.5 and CB 1.0 RC2 Issues

This is a partial repost from a forum reply posted by Beat.
The original JP forum thread is this one.

Ok. Had a chat earlier with Joomla! core team dev leader.

This problem is due to an API incompatibility introduced by Joomla! 1.0.5, which will be fixed in Joomla! 1.0.6, due out quickly (intended in the next 2 weeks).

If you need to run CB RC2 on Joomla! 1.0.5, you can do following instead of replacing the database.php file:

in components/com_comprofiler/comprofiler.php, search for 2 occurences of
Code:

$rowExtras = new stdClass();


and replace them with:
Code:

$rowExtras = new mosDBTable('#__comprofiler', 'id', $database);



also do same in administrator/components/com_comprofiler/admin.comprofiler.php (1 occurence)

This should normally solve your problem. Please test and confirm by replying here (I didn't check it on 1.0.5 yet, only on an older version).

Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues
Date: 2005/12/29 19:03 By: stevebor1 Status: User  
Karma: 222  
Gold Joomlapolitan

Posts: 318
graphgraph
still get an error after patching

Code:

 Warningimplode(): Bad argumentsin /home/website/public_html/community/includes/database.php on line 560 WarningInvalid argument supplied for foreach() in /home/website/public_html/community/administrator/components/com_comprofiler/comprofiler.class.php on line 3275


Karma Me Up!

FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job

Mobile Wallet and Social Lending, Anywhere!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues
Date: 2005/12/29 21:43 By: joomlales Status: User  
Karma: -1  
Fresh Joomlapolitan

Posts: 23
graphgraph
nant wrote:
This thread discusses the Content article: Joomla! 1.0.5 and CB 1.0 RC2 Issues

This is a partial repost from a forum reply posted by Beat.
The original JP forum thread is this one.

Ok. Had a chat earlier with Joomla! core team dev leader.

This problem is due to an API incompatibility introduced by Joomla! 1.0.5, which will be fixed in Joomla! 1.0.6, due out quickly (intended in the next 2 weeks).

If you need to run CB RC2 on Joomla! 1.0.5, you can do following instead of replacing the database.php file:

in components/com_comprofiler/comprofiler.php, search for 2 occurences of
Code:

$rowExtras = new stdClass();


and replace them with:
Code:

$rowExtras = new mosDBTable('#__comprofiler', 'id', $database);



also do same in administrator/components/com_comprofiler/admin.comprofiler.php (1 occurence)

This should normally solve your problem. Please test and confirm by replying here (I didn't check it on 1.0.5 yet, only on an older version).


Hi Nick ---- Bearing in mind subsequent posts (that there were other problems created), would it not be advisable to revert back to Joomla! V1.04 -- and then upgrade to V1.06 when it comes out?

Les

PS I should have checked the Forums more closely prior to upgrading to V1.05!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues
Date: 2005/12/29 23:09 By: nant Status: Admin  
Karma: 452  
Admin

Posts: 5703
graph
I see no need to force 1.0.5 upon me.
I would wait for 1.0.6 and then I would let others go through the initial pain. I usually wait one to two weeks and check the forums before installing anything on a live site.
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues
Date: 2005/12/30 16:14 By: ssherlock Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Click here to see the profile of this user The administrator has disabled public write access.

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues
Date: 2005/12/31 00:41 By: edenapple Status: User  
Karma: 1  
Senior Joomlapolitan

Posts: 69
graphgraph
EDIT: ok user registration error:

Fatal error: Call to undefined function: getpublicproperties() in /home/******/public_html/includes/database.php on line 550

Is it ok just to make those modifications you have posted in the OP, since the 1.05 has already been made now and database.php has already been overwritten?

Also, are there any other known bugs?

T.

Edit: Made those changes in OP and am getting:


Warning: implode(): Bad arguments. in /home/*****/public_html/includes/database.php on line 560
store errorB function failed with error number 1062<br /><font color="red">Duplicate entry '0' for key 1 SQL=INSERT INTO mos_comprofiler ( ) VALUES ( )</font><br />SQL = <pre>INSERT INTO mos_comprofiler ( ) VALUES ( )</pre>

EDIT: Fixed using:
http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,2787/catid,10/

Post edited by: edenapple, at: 2005/12/30 19:26
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login