Page 1 of 1

0.4: Can't enable comments :(

Posted: Mon Dec 22, 2003 3:33 am
by ahmadster
I installed 0.4 yesterday, everything went very well.
http://ahmad.baitalmal.com

I'm having a tiny problem though, my post has the words

"Comments to this entry has been disabled by the author"

I kept unchecking and checking the "Allow comments to this entry" checkbox and resaving the entry, but that didn't work. I did it manually in the database, I set "allow_comments" to true in the database. But that didn't help.

I can't enable comments :(
Help

Thanx

Posted: Sun Jan 11, 2004 8:36 am
by maguirer
Are you using Postgres by any chance?

I was getting the same thing until I noticed postgres was returning 't' or 'f' for true or false, respectively.

Once I added checks in serendipity_functions.inc.php to take 't' into account, the ability to add comments automagically appeared.

It kind of worries me. I wonder how many other places in the code have the same problem, but I just haven't noticed it, yet. :shock:

Yes I am

Posted: Fri Feb 13, 2004 7:45 pm
by ahmadster
I'm using PostgreSQL
And yes, I've had to add checks like that to get to to work in at lease one more place.