<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?
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
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
> 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
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