[imp] Database error (HordeDB):

Patrick Boutilier boutilpj@ednet.ns.ca
Mon, 18 Dec 2000 08:37:22 -0400


What is in the file ct_sql.inc.rej ?

I think all you have to do is replace the line that reads:

$iquery = sprintf("insert into %s ( sid, name, val, changed ) values ('%s',
'%s', '%s', '%s')",

to:

$iquery = sprintf("replace into %s ( sid, name, val, changed ) values ('%s',
'%s', '%s', '%s')",



Édwin Floriani wrote:

> The patch that you said to me use.. doesn't work properly...
>
> Could someone help me again???
>
> This is what was showed to me:
>
> [webmaster@sol phplib]$ patch < ../mysql_phplib_freeze.patch
> patching file ct_sql.inc
> Hunk #1 FAILED at 71.
> 1 out of 1 hunk FAILED -- saving rejects to file ct_sql.inc.rej
>
> Tkz..
>
> ----- Original Message -----
> From: "Patrick Boutilier" <boutilpj@ednet.ns.ca>
> To: <imp@lists.horde.org>
> Sent: Monday, December 18, 2000 9:55 AM
> Subject: Re: [imp] Database error (HordeDB):
>
> > http://www.horde.org/faq/admin/trouble/index.php#t4
> >
> >
> >