Bug#336549: [pkg-horde] Bug#336549: turba2: turba tries to use IMSP when it is not selected

2007-07-08 Thread Ola Lundqvist
If this one is in sarge only, shouldn't we just close it?

Regards,

// Ola

On Sun, Jul 08, 2007 at 06:05:59PM +0200, Gregory Colpart wrote:
> tags 336549 +sarge
> thanks
> 
> Hello,
> 
> Bug is fixed in sarge+1 with use of
> $GLOBALS['conf']['imsp']['enabled'] variable.
> 
> You can see:
> 
> - Horde ticket 2439 "Enable/disable IMSP globally":
>   http://bugs.horde.org/ticket/?id=2439
> - First diff that introduces variable:
>   
> http://cvs.horde.org/diff.php?r1=1.123&r2=1.124&f=turba%2Fconfig%2Fsources.php.dist
> 
> Regards,
> -- 
> Gregory Colpart <[EMAIL PROTECTED]>  GnuPG:1024D/C1027A0E
> Evolix - Informatique et Logiciels Libres http://www.evolix.fr/
> 
> 
> ___
> pkg-horde-hackers mailing list
> [EMAIL PROTECTED]
> http://lists.alioth.debian.org/mailman/listinfo/pkg-horde-hackers
> 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  http://opalsys.net/ +46 (0)70-332 1551   |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#336549: turba2: turba tries to use IMSP when it is not selected

2007-07-08 Thread Gregory Colpart
tags 336549 +sarge
thanks

Hello,

Bug is fixed in sarge+1 with use of
$GLOBALS['conf']['imsp']['enabled'] variable.

You can see:

- Horde ticket 2439 "Enable/disable IMSP globally":
  http://bugs.horde.org/ticket/?id=2439
- First diff that introduces variable:
  
http://cvs.horde.org/diff.php?r1=1.123&r2=1.124&f=turba%2Fconfig%2Fsources.php.dist

Regards,
-- 
Gregory Colpart <[EMAIL PROTECTED]>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#336549: turba2: turba tries to use IMSP when it is not selected

2005-11-01 Thread Bill Denney
I'm not that good at PHP, but isn't there a way that you could just add an 
if statement around that block of code to only use it if IMSP is being 
used?  I don't know if that's the best way to do it, but it would make 
configuration simpler, and to me anything that makes the config simpler 
can only be a good thing.


Bill

On Tue, 1 Nov 2005, Ola Lundqvist wrote:


tags 336549 + wontfix
thanks

Hello

On Mon, Oct 31, 2005 at 06:35:32AM -0500, Bill Denney wrote:

On Mon, 31 Oct 2005, Ola Lundqvist wrote:


When I try to use turba, it gives an error where it tries to access the
IMSP store when I'm using an sql store (via localsql in the
configuration).


* What error message do you get?


These two show up before the top of the frame (i.e. above the Browse, Add,
Search, etc.).

Warning: Cannot modify header information - headers already sent by
(output started at /usr/share/horde3/lib/Net/IMSP.php:2) in
/usr/share/horde3/turba/templates/common-header.inc on line 4

Warning: Cannot modify header information - headers already sent by
(output started at /usr/share/horde3/lib/Net/IMSP.php:2) in
/usr/share/horde3/turba/templates/common-header.inc on line 5

Then below that, I get the red octagon with a hand in it that says

Connection to IMSP host failed.

When I change sources.php to comment out the imsp sections (see attached
diff), I no longer get the errors (sorry, I should have mentioned that
last time).


* What database are you trying to get access to?


I'm accessing the one that is built by
/usr/share/doc/turba2/examples/scripts/sql/turba_objects.pgsql.sql


* Have you created that database and checked that you can access it though
 the values you have provided to the turba configuration?


If I understand the question, yes, when I change the sources.php as
mentioned above I don't have the problems.


Ok, then this is not actually a bug just a configuration error. Or do you
have any other opinion?


* What type of database is it (mysql, postgres etc?)


postgres.


Regards,

// Ola


Thanks,

Bill


Regards,

// Ola


Bill

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages turba2 depends on:
ii  horde33.0.5-3horde web application
framework

Versions of packages turba2 recommends:
ii  php4-ldap4:4.3.10-16 LDAP module for php4
ii  php4-pgsql   3:4.3.10-5  PostgreSQL module for php4

-- no debconf information




--
- Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
---



--
"... it looks like the Care Bears threw up on it." -- Emily Ogilvie



--- sources.php 2005-10-31 06:27:02.756448768 -0500
+++ sources.php.old 2005-10-31 06:26:01.579749040 -0500
@@ -479,6 +479,7 @@
 }


+/*
 $cfgSources['imsp'] = array(
 'title' => _("IMSP"),
 'type' => 'imsp',
@@ -522,11 +523,11 @@
 'readonly' => false,
 'export' => true
 );
-
+*/
 /**
  * Get any other addressbooks this user might be privy to.
  */
-
+/*
 require_once 'Net/IMSP/Utils.php';
 $result = Net_IMSP_Utils::getAllBooks($cfgSources['imsp']);
 if (!is_a($result, 'PEAR_Error')) {
@@ -546,7 +547,7 @@
 } else {
 $notification->push($result);
 }
-
+*/

 /* Begin Kolab sources. */
 if (!empty($GLOBALS['conf']['kolab']['enabled'])) {



--
- Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
---



--
"You have not converted a man because you have silenced him."
  -- John Morley



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#336549: turba2: turba tries to use IMSP when it is not selected

2005-11-01 Thread Ola Lundqvist
tags 336549 + wontfix
thanks

Hello

On Mon, Oct 31, 2005 at 06:35:32AM -0500, Bill Denney wrote:
> On Mon, 31 Oct 2005, Ola Lundqvist wrote:
> 
> >>When I try to use turba, it gives an error where it tries to access the
> >>IMSP store when I'm using an sql store (via localsql in the
> >>configuration).
> >
> >* What error message do you get?
> 
> These two show up before the top of the frame (i.e. above the Browse, Add, 
> Search, etc.).
> 
> Warning: Cannot modify header information - headers already sent by 
> (output started at /usr/share/horde3/lib/Net/IMSP.php:2) in 
> /usr/share/horde3/turba/templates/common-header.inc on line 4
> 
> Warning: Cannot modify header information - headers already sent by 
> (output started at /usr/share/horde3/lib/Net/IMSP.php:2) in 
> /usr/share/horde3/turba/templates/common-header.inc on line 5
> 
> Then below that, I get the red octagon with a hand in it that says
> 
> Connection to IMSP host failed.
> 
> When I change sources.php to comment out the imsp sections (see attached 
> diff), I no longer get the errors (sorry, I should have mentioned that 
> last time).
> 
> >* What database are you trying to get access to?
> 
> I'm accessing the one that is built by 
> /usr/share/doc/turba2/examples/scripts/sql/turba_objects.pgsql.sql
> 
> >* Have you created that database and checked that you can access it though
> >  the values you have provided to the turba configuration?
> 
> If I understand the question, yes, when I change the sources.php as 
> mentioned above I don't have the problems.

Ok, then this is not actually a bug just a configuration error. Or do you
have any other opinion?

> >* What type of database is it (mysql, postgres etc?)
> 
> postgres.

Regards,

// Ola

> Thanks,
> 
> Bill
> 
> >Regards,
> >
> >// Ola
> >
> >>Bill
> >>
> >>-- System Information:
> >>Debian Release: testing/unstable
> >>  APT prefers testing
> >>  APT policy: (500, 'testing'), (500, 'stable')
> >>Architecture: i386 (i686)
> >>Shell:  /bin/sh linked to /bin/bash
> >>Kernel: Linux 2.6.8-2-686
> >>Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> >>
> >>Versions of packages turba2 depends on:
> >>ii  horde33.0.5-3horde web application 
> >>framework
> >>
> >>Versions of packages turba2 recommends:
> >>ii  php4-ldap4:4.3.10-16 LDAP module for php4
> >>ii  php4-pgsql   3:4.3.10-5  PostgreSQL module for php4
> >>
> >>-- no debconf information
> >>
> >>
> >
> >-- 
> >- Ola Lundqvist ---
> >/  [EMAIL PROTECTED] Annebergsslingan 37  \
> >|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
> >|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
> >|  http://www.opal.dhs.org UIN/icq: 4912500 |
> >\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
> >---
> >
> 
> -- 
> "... it looks like the Care Bears threw up on it." -- Emily Ogilvie

> --- sources.php   2005-10-31 06:27:02.756448768 -0500
> +++ sources.php.old   2005-10-31 06:26:01.579749040 -0500
> @@ -479,6 +479,7 @@
>  }
>  
>  
> +/*
>  $cfgSources['imsp'] = array(
>  'title' => _("IMSP"),
>  'type' => 'imsp',
> @@ -522,11 +523,11 @@
>  'readonly' => false,
>  'export' => true
>  );
> -
> +*/
>  /**
>   * Get any other addressbooks this user might be privy to.
>   */
> -
> +/*
>  require_once 'Net/IMSP/Utils.php';
>  $result = Net_IMSP_Utils::getAllBooks($cfgSources['imsp']);
>  if (!is_a($result, 'PEAR_Error')) {
> @@ -546,7 +547,7 @@
>  } else {
>  $notification->push($result);
>  }
> -
> +*/
>  
>  /* Begin Kolab sources. */
>  if (!empty($GLOBALS['conf']['kolab']['enabled'])) {


-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#336549: turba2: turba tries to use IMSP when it is not selected

2005-10-31 Thread Bill Denney

On Mon, 31 Oct 2005, Ola Lundqvist wrote:


When I try to use turba, it gives an error where it tries to access the
IMSP store when I'm using an sql store (via localsql in the
configuration).


* What error message do you get?


These two show up before the top of the frame (i.e. above the Browse, Add, 
Search, etc.).


Warning: Cannot modify header information - headers already sent by 
(output started at /usr/share/horde3/lib/Net/IMSP.php:2) in 
/usr/share/horde3/turba/templates/common-header.inc on line 4


Warning: Cannot modify header information - headers already sent by 
(output started at /usr/share/horde3/lib/Net/IMSP.php:2) in 
/usr/share/horde3/turba/templates/common-header.inc on line 5


Then below that, I get the red octagon with a hand in it that says

Connection to IMSP host failed.

When I change sources.php to comment out the imsp sections (see attached 
diff), I no longer get the errors (sorry, I should have mentioned that 
last time).



* What database are you trying to get access to?


I'm accessing the one that is built by 
/usr/share/doc/turba2/examples/scripts/sql/turba_objects.pgsql.sql



* Have you created that database and checked that you can access it though
  the values you have provided to the turba configuration?


If I understand the question, yes, when I change the sources.php as 
mentioned above I don't have the problems.



* What type of database is it (mysql, postgres etc?)


postgres.

Thanks,

Bill


Regards,

// Ola


Bill

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages turba2 depends on:
ii  horde33.0.5-3horde web application framework

Versions of packages turba2 recommends:
ii  php4-ldap4:4.3.10-16 LDAP module for php4
ii  php4-pgsql   3:4.3.10-5  PostgreSQL module for php4

-- no debconf information




--
- Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
---



--
"... it looks like the Care Bears threw up on it." -- Emily Ogilvie
--- sources.php 2005-10-31 06:27:02.756448768 -0500
+++ sources.php.old 2005-10-31 06:26:01.579749040 -0500
@@ -479,6 +479,7 @@
 }
 
 
+/*
 $cfgSources['imsp'] = array(
 'title' => _("IMSP"),
 'type' => 'imsp',
@@ -522,11 +523,11 @@
 'readonly' => false,
 'export' => true
 );
-
+*/
 /**
  * Get any other addressbooks this user might be privy to.
  */
-
+/*
 require_once 'Net/IMSP/Utils.php';
 $result = Net_IMSP_Utils::getAllBooks($cfgSources['imsp']);
 if (!is_a($result, 'PEAR_Error')) {
@@ -546,7 +547,7 @@
 } else {
 $notification->push($result);
 }
-
+*/
 
 /* Begin Kolab sources. */
 if (!empty($GLOBALS['conf']['kolab']['enabled'])) {


Bug#336549: turba2: turba tries to use IMSP when it is not selected

2005-10-31 Thread Ola Lundqvist
tags 336549 + moreinfo
thanks

Hello

On Mon, Oct 31, 2005 at 12:37:21AM -0500, Bill Denney wrote:
> Package: turba2
> Version: 2.0.3-1
> Severity: normal
> 
> 
> When I try to use turba, it gives an error where it tries to access the
> IMSP store when I'm using an sql store (via localsql in the
> configuration).

* What error message do you get?
* What database are you trying to get access to?
* Have you created that database and checked that you can access it though
  the values you have provided to the turba configuration?
* What type of database is it (mysql, postgres etc?)

Regards,

// Ola

> Bill
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (500, 'testing'), (500, 'stable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.8-2-686
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> 
> Versions of packages turba2 depends on:
> ii  horde33.0.5-3horde web application framework
> 
> Versions of packages turba2 recommends:
> ii  php4-ldap4:4.3.10-16 LDAP module for php4
> ii  php4-pgsql   3:4.3.10-5  PostgreSQL module for php4
> 
> -- no debconf information
> 
> 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#336549: turba2: turba tries to use IMSP when it is not selected

2005-10-30 Thread Bill Denney
Package: turba2
Version: 2.0.3-1
Severity: normal


When I try to use turba, it gives an error where it tries to access the
IMSP store when I'm using an sql store (via localsql in the
configuration).

Bill

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages turba2 depends on:
ii  horde33.0.5-3horde web application framework

Versions of packages turba2 recommends:
ii  php4-ldap4:4.3.10-16 LDAP module for php4
ii  php4-pgsql   3:4.3.10-5  PostgreSQL module for php4

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]