>>  That is very very very odd .... I cannot see how that query can fail.
>>
>>
>>  Forgive me for asking, but did you modify anything in that file?
>>     
>
> I edited it only to take out the @TP@ from the table names
>
>   
>>  from my best guess it should look like this on those lines ...
>>
>>  # Update whitelisting to the new details $sth = DBDo(' INSERT INTO
>>  greylisting_autowhitelist (TrackKey,Added,LastSeen,Comment) VALUES
>>  (?,?,?,?) ',
>>
>>
>>     
> $key,$sessionData->{'UnixTimestamp'},$sessionData->{'UnixTimestamp'},$whitelist
>   
>>  );
>>     
>
>                                                         } else {
>                                                                 # Update 
> whitelisting to the new details
>                                                                 $sth = 
> DBDo('
>                                                                         
> INSERT INTO greylisting_autowhitelist
>                                                                               
>   
> (TrackKey,Added,LastSeen,Comment)
>                                                                         
> VALUES
>                                                                               
>   
> (?,?,?,?)
>                                                                         ',
>                                                                         
> $key,$sessionData->{'UnixTimestamp'},$sessionData->{'UnixTimestamp'},$whitelist
>                                                                 );
>                                                                 if (!$sth) {
>                                                                         
> $server->log(LOG_ERR,"[GREYLISTING] Database insert failed: 
> ".cbp::dblayer::Error());
>                                                                         
> return $server->protocol_response(PROTO_DB_ERROR);
>                                                                 }
>   
I'm at a loss here, I cannot see how that query can fail, especially
with a syntax-like error.

-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to