Dashboard & Login Box Quandary

3 views
Skip to first unread message

Seneca The Younger

unread,
Jan 4, 2010, 2:42:20 PM1/4/10
to habari-users
When I open my dashboard previously added modules do not show up. The
photo below shows what I see every time I login, regardless of what I
added to the dashboard during previous logins.

<table style="width:auto;"><tr><td><a href="http://
picasaweb.google.com/lh/photo/kH-yERkHOoJZYc8jrvBvrQ?
feat=embedwebsite"><img src="http://lh3.ggpht.com/_IyCLvEdDl_Y/
S0JDR_H1GGI/AAAAAAAAAJM/gv6YZ41Iqx0/s400/HabriDash.JPG" /></a></td></
tr><tr><td style="font-family:arial,sans-serif; font-size:11px; text-
align:right">From <a href="http://picasaweb.google.com/marcus.koontz/
MiscPics?feat=embedwebsite">Misc. Pics</a></td></tr></table>

Also, on my home page I have a login box, I borrowed the code from
another habari site, and though it allows me to put in my username and
password, when I press login it just takes me to the habari login
page, instead of logging me into administration panel itself.

What could be the cause of this?

mikelietz

unread,
Jan 4, 2010, 4:04:11 PM1/4/10
to habari-users
The login box might be based on an old version. Which version of
habari are you using?

Seneca The Younger

unread,
Jan 4, 2010, 4:10:15 PM1/4/10
to habari-users
"Site Information
Habari Version0.6.3
Habari API Version3124
Habari DB Version3702
Active ThemePropellerHeads
Site Languageen-us"

Code from login:

<!-- loginform -->
<form method="post" action="http://propeller-heads.com/user/
login" id="loginform">
<p>
<label for="habari_username">Username:</label>
<input type="text" size="25" name="habari_username"
id="habari_username">
</p>
<p>
<label for="habari_password">Password:</label>
<input type="password" size="25" name="habari_password"
id="habari_password">
</p>
<p>
<input id="login-submit" type="submit" value="Login">
</p>
</form>
<!-- /loginform -->

Does anyone know why I can't add to my dashboard or how to reset the
dashboard to the original setup?

Thanks,
Seneca The Younger

Matt Read

unread,
Jan 14, 2010, 4:52:14 PM1/14/10
to habari...@googlegroups.com
Are you on PHP 5.2.12? it is the latest release that introduces a new
bug that breaks Habari, and this is one of the symptoms. 0.6.3 will
soon be released to fix this. You can try the 0.x branch as it has the
fixes for this and just needs some more testing before release.

0.x branch: http://habariproject.org/dist/habari_makaanga.zip

> --
> To post to this group, send email to habari...@googlegroups.com
> To unsubscribe from this group, send email to habari-users...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/habari-users
>

--
Matt Read
http://mattread.info
http://mattread.com

Matt Read

unread,
Jan 14, 2010, 4:52:48 PM1/14/10
to habari...@googlegroups.com
I meant 0.6.4 will soon be released...

Philip Olson

unread,
Jan 14, 2010, 5:09:58 PM1/14/10
to habari...@googlegroups.com

On Jan 14, 2010, at 1:52 PM, Matt Read wrote:

> Are you on PHP 5.2.12? it is the latest release that introduces a new
> bug that breaks Habari, and this is one of the symptoms. 0.6.3 will

<snip>

Curious, exactly which PHP bug is this?

Regards,
Philip

Michael C. Harris

unread,
Jan 14, 2010, 7:02:20 PM1/14/10
to habari...@googlegroups.com
2010/1/15 Philip Olson <phi...@roshambo.org>:

We've yet to raise this with anyone, but we believe that PHP's revision 290786
should not have been committed (see bug 49521). This changed the behaviour of
PDO so that an object's constructor is called before the properties from the
database fields are set.

The behaviour requested was possible already with PDO_FETCH_PROPS_LATE, and
indeed this commit renders that constant useless.

Several PHP tickets about the same issue have been closed as bogus before this
one was committed. See 43717 and 37134, especially the closing comment on the
latter, "This is expected, to allow people to access the data from the query
within the [constructor] ..."

Part of the problem is that it doesn't seem well documented (if at all) that
that's the intended and correct behaviour.

http://svn.php.net/viewvc/?view=revision&revision=290786
http://bugs.php.net/bug.php?id=49521
http://bugs.php.net/bug.php?id=43717
http://bugs.php.net/bug.php?id=37134


--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
IRC: michaeltwofish #habari

Reply all
Reply to author
Forward
0 new messages