#52 php5.0 Fatal error: cb.session.php on line 168

13 years 3 weeks ago #76123 by befox
I have just installed Community Builder and I am having an issue with new registration.

Fatal error: Only variables can be passed by reference in administrator/components/com_comprofiler/library/cb/cb.session.php on line 168.

I had a similar issue with the standard Joomla registration but found a fix to it here. - forum.joomla.org/viewtopic.php?f=429&t=309286&p=1356812

System Info
Joomla 1.5.6
PHP 5.0.5

Post edited by: beat, at: 2008/10/02 21:48

Please Log in to join the conversation.

13 years 3 weeks ago #76131 by beat
Yup, good find: confirming it could be an issue.

Please try following fix:

open file:

administrator/components/com_comprofiler/plugin.foundation.php

and on line 355:

change:
[code:1]function cbStripslashes( &$value ) {[/code:1]

to:
[code:1]function cbStripslashes( $value ) {[/code:1]

(remove the &).

Please report back if the fix worked, so we can move the thread to known issues :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

13 years 3 weeks ago #76142 by befox
Replied by befox on topic Re:Fatal error: cb.session.php on line 168
That worked!

Thank you for the quick response

Please Log in to join the conversation.

13 years 3 weeks ago #76144 by beat
Thanks for reporting and confirming the fix.

Moving thread to identified issues of RC 3 as #52.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.194 seconds

Facebook Twitter LinkedIn