FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » db_li and a postgres setup on not english language
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: db_li and a postgres setup on not english language [message #28098 is a reply to message #24183] Tue, 11 October 2005 12:49 Go to previous messageGo to previous message
ngockhoi is currently offline  ngockhoi   France
Messages: 15
Registered: July 2003
Location: Paris
Karma:
Junior Member
Sorry for my english,

This code (db_li) don't work with postgresql setup on French or other language.

if (strpos($err, 'duplicate key') !== false) {
$ef = ltrim(strrchr($err, ' '));
return null;
} else {
die(fud_sql_error_handler($q, pg_last_error(fud_sql_lnk), '', get_version()));
}

Because on french the error message of postgresql don't have the "duplicate key" words

Regards,

[Updated on: Tue, 11 October 2005 12:49]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Group Permissions inheritance issue
Next Topic: New topic E-mail notification does not work anymore
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Jul 05 18:11:39 GMT 2024

Total time taken to generate the page: 0.05148 seconds