0.4: Can't enable comments :(

Having trouble installing serendipity?
Post Reply
ahmadster
Posts: 2
Joined: Mon Dec 22, 2003 3:21 am
Location: Issaquah, WA
Contact:

0.4: Can't enable comments :(

Post 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
______________ ___ __ _
Ahmad Baitalmal
http://ahmad.baitalmal.com
maguirer
Posts: 1
Joined: Sun Jan 11, 2004 8:21 am

Post 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:
ahmadster
Posts: 2
Joined: Mon Dec 22, 2003 3:21 am
Location: Issaquah, WA
Contact:

Yes I am

Post 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.
______________ ___ __ _
Ahmad Baitalmal
http://ahmad.baitalmal.com
Post Reply