| 
Welcome, Guest

Joomla! 1.0.5 and CB 1.0 RC2 Issues
(1 viewing) (1) Guest

TOPIC: Joomla! 1.0.5 and CB 1.0 RC2 Issues

Joomla! 1.0.5 and CB 1.0 RC2 Issues 6 years, 4 months ago #2896

  • nant
  • nant
  • OFFLINE
  • Administrator
    Administrator
  • Posts: 17305
  • Karma: 717
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).

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues 6 years, 4 months ago #2930

  • stevebor1
  • stevebor1
  • OFFLINE
  • Gold Boarder
    Gold Boarder
  • Posts: 311
  • Karma: 235
still get an error after patching

Warning: implode(): Bad arguments. in /home/website/public_html/community/includes/database.php on line 560
 
Warning: Invalid 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!

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues 6 years, 4 months ago #2933

  • joomlales
  • joomlales
  • OFFLINE
  • Junior Boarder
    Junior Boarder
  • Posts: 23
  • Karma: -1
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!

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues 6 years, 4 months ago #2936

  • nant
  • nant
  • OFFLINE
  • Administrator
    Administrator
  • Posts: 17305
  • Karma: 717
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.

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues 6 years, 4 months ago #2987

  • ssherlock
  • ssherlock
  • OFFLINE
  • Fresh Boarder
    Fresh Boarder
  • Posts: 1
  • Karma: -

Re:Joomla! 1.0.5 and CB 1.0 RC2 Issues 6 years, 4 months ago #3003

  • edenapple
  • edenapple
  • OFFLINE
  • Senior Boarder
    Senior Boarder
  • Posts: 73
  • Karma: 1
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 error:DB 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:
www.joomlapolis.com/component/option,com...ew/id,2787/catid,10/

Post edited by: edenapple, at: 2005/12/30 19:26
Time to create page: 0.86 seconds