"Uninitialized string offset" at Registr

15 years 9 months ago #65947 by connell
When I have "Show login on registration page" in the configuration turned on, I get this error in the login box on the registration page:

[code:1]Notice: Uninitialized string offset: 0 in [root]\administrator\components\com_comprofiler\plugin.foundation.php on line 1189
[/code:1]

Any ideas how to fix that?
Thank you.

Post edited by: connell, at: 2008/06/17 16:39

Post edited by: connell, at: 2008/06/17 16:40

Please Log in to join the conversation.

15 years 7 months ago #71558 by dedes
Hi there,

same error here:
Notice: Uninitialized string offset: 0 in /administrator/components/com_comprofiler/plugin.foundation.php on line 1332

Thanks in advance!!

Daniela

Please Log in to join the conversation.

15 years 6 months ago #74810 by gg6954
Replied by gg6954 on topic Re:"Uninitialized string offset" at Registr
Holé!

Same problem......

Everything was ok..... I touch nothing....

ANd

Notice: Uninitialized string offset: 0 in C:\wamp\www\monsite\administrator\components\com_comprofiler\plugin.foundation.php on line 1332

Thanks....

Please Log in to join the conversation.

15 years 5 months ago #75964 by laura
Hello,

I also get this error message in 1.2 RC2. It seems to be a PHP bug
Link: bugs.php.net/bug.php?id=39018

You can suppress it by changing line 1332 in plugin.foundation.php

from
[code:1]if ( $uri[0] == '/' ) {[/code:1]

to
[code:1]if (@($uri[0] == '/') ) {[/code:1]

Hope that helps,

L

Please Log in to join the conversation.

15 years 5 months ago #75965 by gg6954
Replied by gg6954 on topic Re:"Uninitialized string offset" at Registr
I did nothing, and every thing is fine.....

Thanks for your advice, if problem come back, I'll know how do...

By and thanks again.

gg

Please Log in to join the conversation.

15 years 5 months ago #75968 by beat
Yup, confirming glitch with some SEF strings. And fix proposed above is fine.

It is fixed in shortly upcoming CB 1.2 RC 3. :)

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.252 seconds

Facebook Twitter LinkedIn