1
dmented
Extended Profiles in 2.2.3
  • 2005/11/29 7:11

  • dmented

  • Just popping in

  • Posts: 16

  • Since: 2004/12/29


I am having a problem with the extended profiles module i can access it from the admin section but if you click on a member I get a blank page. Can i get some input on this

2
Bananadude
Re: Extended Profiles in 2.2.3
  • 2005/12/8 19:06

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


Please turn on PHPDebug and post any errors/warnings you get for the blank page.

PHPDebug can be enabled from System Preferences:
System >> Preferences, choose General Settings under System Preferences
--- censored by Bananadude ---

3
dmented
Re: Extended Profiles in 2.2.3
  • 2005/12/22 7:00

  • dmented

  • Just popping in

  • Posts: 16

  • Since: 2004/12/29


This Is the Error Code I get
Fatal error: Cannot redeclare class xoopspersistableobjecthandler in /home/content/a/l/l/allikat/html/modules/extcal/class/PersistableObjectHandler.php on line 13

4
Bananadude
Re: Extended Profiles in 2.2.3
  • 2005/12/22 10:07

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


Try with reinstall the extcal module.

Best Regards,
Bananadude
--- censored by Bananadude ---

5
Catzwolf
Re: Extended Profiles in 2.2.3
  • 2005/12/22 10:23

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


It seems that the extcal module has a class naming conflict with XOOPS core classes, you could rename the class (as noted in your error) within the module (maybe easier to do that).

6
Herko
Re: Extended Profiles in 2.2.3
  • 2005/12/22 12:50

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Quote:

John_N wrote:
It seems that the extcal module has a class naming conflict with XOOPS core classes, you could rename the class (as noted in your error) within the module (maybe easier to do that).
Christmas comes a little early this year I see... Catz posting on our forums again!

Herko

7
dmented
Re: Extended Profiles in 2.2.3
  • 2005/12/26 23:11

  • dmented

  • Just popping in

  • Posts: 16

  • Since: 2004/12/29


Thanks That Worked I was being Stupid I don't Know why i did not see the EXtcal thing oh well thats why we all need help from time to time

8
MIchaelMcA
Re: Extended Profiles in 2.2.3
  • 2006/1/26 13:11

  • MIchaelMcA

  • Just popping in

  • Posts: 13

  • Since: 2005/5/1 1


Rather than renaming the extCal class, and therefore having to edit every instantiation of it, it might be easier to check if the class is defined already before calling it. It seems pretty safe to me, and thefore should work whenever that ExtCal '(re)definition' is called throughout the site.

Near the beginning of /modules/extcal/class/PersistableObjectHandler.php add the following if statement.

change
Quote:

* @copyright copyright (c) 2000-2004 XOOPS.org
* @package Kernel
*/

class XoopsPersistableObjectHandler extends XoopsObjectHandler {

/**#@+
* Information about the class, the handler is managing


to
Quote:

* @copyright copyright (c) 2000-2004 XOOPS.org
* @package Kernel
*/
if(!class_exists('XoopsPersistableObjectHandler'))
{
class XoopsPersistableObjectHandler extends XoopsObjectHandler {

/**#@+
* Information about the class, the handler is managing
.

And you need to close the if statement with a '}'at the end of the file as well, i.e.

Change
Quote:

return $rows > 0 ? $rows : true;
}
return false;
}
}
?>


to
Quote:

return $rows > 0 ? $rows : true;
}
return false;
}
}
}
?>

Login

Who's Online

409 user(s) are online (256 user(s) are browsing Support Forums)


Members: 0


Guests: 409


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits