Search found 5 matches

by paver
Fri Oct 06, 2006 4:07 pm
Forum: Plugins
Topic: Popfetcher entries not successfully inserted
Replies: 6
Views: 2961

I set it to false so that it would not require moderation. But, for some reason, that option doesn't make it through to the $entries['moderate_comments'] array item. It doesn't make sense because the code is identical for the allow_comments option, which does work.

Thanks!
by paver
Thu Oct 05, 2006 6:06 pm
Forum: Plugins
Topic: Popfetcher entries not successfully inserted
Replies: 6
Views: 2961

I got it working by adding this line:

$entry['moderate_comments'] = 'false';

after this line:

$entry['moderate_comments'] = serendipity_db_bool($this->get_config('default_moderate', false));

Obviously, this is a hack to work around something else that isn't working correctly.
by paver
Thu Oct 05, 2006 5:45 pm
Forum: Plugins
Topic: Popfetcher entries not successfully inserted
Replies: 6
Views: 2961

The problem seems to be with the moderate_comments field. The sql is trying to set that field to be blank, but it needs to be true or false. If I set the moderate_comments to be true, it works, but when set to false, it fails.
by paver
Thu Oct 05, 2006 5:16 pm
Forum: Plugins
Topic: Popfetcher entries not successfully inserted
Replies: 6
Views: 2961

Hi,

I turned on statement logging. Here's the relevant entries:

LOG: statement: INSERT INTO serendipity_entries (isdraft,title,body,authorid,allow_comments,moderate_comments,extended,timestamp,exflag,comments,last_modified,author) values ('false', 'test again', 'This is a test.', '1', '1 ...
by paver
Wed Oct 04, 2006 10:00 pm
Forum: Plugins
Topic: Popfetcher entries not successfully inserted
Replies: 6
Views: 2961

Popfetcher entries not successfully inserted

Hello,

I'm using Serendipity 1.0.1 with postgresql and popfetcher 1.14. I've got the mailbox setup and serendipity can log in to it, but when it extracts an email, it fails to insert it. Here's the output I get when I run the plugin manually from the admin console:

POPfetcher v1.14 @ Wed Oct 4 15 ...