[horde] MySQL Error: 1046 (No Database Selected)

Dusan Djordjevic dj.dule at tradal.net
Tue Nov 6 00:56:51 PST 2001


OK, i fixed this problem, but now I have another one. test.php3 says 
everything is ok, clicking on 'Click here to test PHPLIB for Horde' says 
everything is OK. I installed imp via setup.php3, but when I point to imp 
directory i get bunch of errors like:

Database error: Invalid SQL: insert into active_sessions ( sid, name, val, 
changed ) values
('c8088cd3b45671b030b6293dd93a28e5', 'HordeSession',
'base64:JHRoaXMtPmluID0gJyc7ICR0aGlzLT5wdCA9IGFycmF5KCk7ICR0aGlzLT5wdFsncyddID0gJzEnOyAkR0xPQkFMU1sncyddID0gJzEnOyA=',
'20011106103901')
MySQL Error: 1062 (Duplicate entry 
'HordeSession-c8088cd3b45671b030b6293dd93a28e5' for key 1)
Session halted.

Any sugesstions ??
-- 
Dusan Djordjevic, system administrator
Tradal Ltd, Cypriot Branch - http://www.tradal.net


>From yavuz at w3b.nl Date: Wed,  7 Nov 2001 12:14:38 +0100
Return-Path: <yavuz at w3b.nl>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 27943 invoked from network); 7 Nov 2001 11:14:41 -0000
Received: from unknown (HELO omega.w3b.nl) (213.196.37.13)
  by clark.horde.org with SMTP; 7 Nov 2001 11:14:41 -0000
Received: (from httpd at localhost)
	by omega.w3b.nl (8.10.2/8.10.2) id fA7BEcV28902
	for horde at lists.horde.org; Wed, 7 Nov 2001 12:14:38 +0100
X-Authentication-Warning: omega.w3b.nl: httpd set sender to yavuz at w3b.nl using -f
Received: from 040d014576d.party-crashers.few.eur.nl ( [040d014576d.party-crashers.few.eur.nl])
	as user yavuz at w3b.nl@viper.w3b.nl by webmail.w3b.nl with HTTP;
	Wed,  7 Nov 2001 12:14:38 +0100
Message-ID: <1005131678.3be9179e2b8ac at webmail.w3b.nl>
Date: Wed,  7 Nov 2001 12:14:38 +0100
From: Yavuz Aydin <yavuz at w3b.nl>
To: horde at lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: gettext not working?

Horde/IMP still don't do anything with the language change I make on the login 
screen or in the prefs.

As mentioned in the file horde/imp/po/README I have started testing if gettext 
is working.

> Do you have any .mo files? Usually in /usr/share/locale/?
Yes I do.

> Does gettext even work?
> Get a string to translate,
> $ strings /bin/tar | grep Memory

Nah, does report nothing. However:
$ strings /bin/tar | grep memory
reports:
memory exhausted
Cannot allocate memory for blocking factor %d

> $ (LANG=nl; gettext tar "Memory exhausted" )
Nothing happens. So I try:
$ (LANG=nl; gettext tar "memory exhausted" )
nothing happens

I change memory exhausted in something different I have extracted from the 
file /usr/share/locale/nl/LC_MESSAGES/tar.mo, but nothing happens.

All other tests don't report the right text.

So does gettext work? No I think, but why? This is a fresh install of Mandrake 
8.1

$ rpm -qa|grep gettext
gives:
gettext-0.10.39-2mdk
gettext-base-0.10.39-2mdk
perl-gettext-1.0-9mdk
gettext-devel-0.10.39-2mdk

Help is appreciated.

Best Regards,

Yavuz Aydin
yavuz at w3b.nl




More information about the horde mailing list