[dev] RE: dev Digest, Vol 474, Issue 1

andreas.moroder at tin.it andreas.moroder at tin.it
Tue Aug 19 12:04:41 PDT 2003


>-- Messaggio originale --
>From: dev-request at lists.horde.org
>Subject: dev Digest, Vol 474, Issue 1
>To: dev at lists.horde.org
>Reply-To: dev at lists.horde.org
>Date: Tue, 19 Aug 2003 12:00:35 -0700 (PDT)
>
>
>Send dev mailing list submissions to
>	dev at lists.horde.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.horde.org/mailman/listinfo/dev
>or, via email, send a message with subject or body 'help' to
>	dev-request at lists.horde.org
>
>You can reach the person managing the list at
>	dev-owner at lists.horde.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of dev digest..."
>
>
>Today's Topics:
>
>   1. Problems with ne Horde-CVS [19. Aug. 2003] (Rene Jochum)
>   2. Horde Projects allone (Rene Jochum)
>   3. Horde / BugTraq (Marko Djukic)
>   4. Re: Horde Projects allone (Rene Jochum)
>   5. Fwd: horde/lib/Data.php (Chuck Hagenbuch)
>   6. An Ad Bock for Midas (and Possibly Giapeto).. (Robert Ribnitz)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: 19 Aug 2003 03:44:05 +0200
>From: Rene Jochum <rene.jochum at cable.vol.at>
>Subject: [dev] Problems with ne Horde-CVS [19. Aug. 2003]
>To: dev at lists.horde.org
>Message-ID: <1061257445.2379.13.camel at localhost>
>Content-Type: text/plain
>
>Hi List
>
>Thirst time in this List :)
>
>I Use the CVS-Devs since 3 days every Version i now have works fine but
>not the newest [19. Aug. 2003].
>
>I updated my horde and then i gone to the start-page there i become some
>errors (i am ever logged in):
>
>Warning: Invalid argument supplied for foreach() in
>/usr/www/pc-dummy.net/html/horde-3.0/portal.php on line 40
>
>Warning: Cannot modify header information - headers already sent by
>(output started at /usr/www/pc-dummy.net/html/horde-3.0/portal.php:40)
>in /usr/www/pc-dummy.net/html/horde-3.0/templates/common-header.inc on
>line 3
>
>Warning: Cannot modify header information - headers already sent by
>(output started at /usr/www/pc-dummy.net/html/horde-3.0/portal.php:40)
>in /usr/www/pc-dummy.net/html/horde-3.0/templates/common-header.inc on
>line 4
>
>Warning: Invalid argument supplied for foreach() in
>/usr/www/pc-dummy.net/html/horde-3.0/portal.php on line 58
>
>I understand a little bit the code from Horde so i locked on the lines
>40,58 from the /horde-3.0/portal.php
>
>Now i think the error is in the /horde-3.0/config/prefs.php
>
>Here the resent lines from the prefs.php:
>
>// the layout of the portal page.
>$_prefs['portal_layout'] = array(
>    'value' => 'a:0:{}',
>    'locked' => false,
>    'shared' => false,
>    'type' => 'implicit',
>    'desc' => 'Layout of portal page'
>);
>
>Anywone here known what is the error?
>
>MFG (With kind regards)
>Jochum Rene
>
>P.s: I have only changed the config.php and registry.php from
>/horde-3.0/config/ and sry for my very poor english.
>
>
>
>
>------------------------------
>
>Message: 2
>Date: 19 Aug 2003 05:14:29 +0200
>From: Rene Jochum <rene.jochum at cable.vol.at>
>Subject: [dev] Horde Projects allone
>To: dev at lists.horde.org
>Message-ID: <1061262868.2378.54.camel at localhost>
>Content-Type: text/plain; charset="iso-8859-15"
>
>Skipped content of type multipart/mixed-------------- next part --------------
>A non-text attachment was scrubbed...
>Name: not available
>Type: application/pgp-signature
>Size: 189 bytes
>Desc: Dies ist ein digital signierter Nachrichtenteil
>Url : http://lists.horde.org/archives/dev/attachments/20030819/2493a563/attachment-0001.bin
>
>------------------------------
>
>Message: 3
>Date: Tue, 19 Aug 2003 06:32:57 +0200
>From: Marko Djukic <mdjukic at horde.org>
>Subject: [dev] Horde / BugTraq
>To: puccio at pucciolab.org
>Cc: "dev at lists.horde.org" <dev at lists.horde.org>
>Message-ID: <1061267577.31c081d347564 at my.oblo.com>
>Content-Type: text/plain; charset="ISO-8859-1"
>
>Il bug da te segnalato e' stato risolto il 18/08/03 nella versione HEAD
nel
>CVS.
>
>La prossima volta ti chiedo di mostrare un po' di rispetto verso noi, e
>sopratutto verso gli altri utenti Horde, segnalando questi tipi di bugs
secondo
>la normale prassi: **PRIMA A NOI** gli autori e poi successivamente a qualsiasi
>sito che ti pare.
>
>Non hai vinto nessun punto pubblicizzando questo prima di avvisarci (anzi
>non ci
>hai avvisato neanche dopo). Hai solo creato rischio mettendo questa
>informazione all'aperto senza darci la possibilita' di correggerlo.
>
>Inoltre, se non riesci te stesso a mettere insieme un security report in
>inglese
>comprensibile, ti invito di rivolgerti ad un tuo amico o qualcuno altro
che
>ci
>riesce.
>Come alternativa lo puoi scriverlo anche in italiano e ci pensiamo noi a
>tradurlo. Faccendo un security report che sembra tradotto da un sito tipo
>google o babelfish lo rende quasi se non totalmente inutile.
>
>Saluti,
>
>Marko Djukic
>
>=========================================
>
>The bug you reported has been fixed on 18/08/03 in the HEAD version in CVS.
>
>I would like to ask you that next time you show a bit of respect towards
>us, and
>above all towards other Horde users, reporting these types of bugs following
>the usual procedure: **FIRST TO US** the authors and then to whichever website
>you wish.
>
>You have not won any points publicising this before reporting it to us (in
>fact
>you did not even report it to us afterwards). You have only created risk
>by
>putting this information out into the open without giving us a chance to
>fix
>it.
>
>Furthermore, if you are unable yourself to put together a security report
>in
>comprehensible english, I ask you turn to a friend or anyone else who can.
>As an alternative you can write it also in italian and we'll organise ourselves
>to translate it. Submitting a security report which looks like it has been
>translated online by google or babelfish reduces it to almost if not totally
>useless.
>
>Regards,
>
>Marko Djukic
>
>
>------------------------------
>
>Message: 4
>Date: 19 Aug 2003 10:25:58 +0200
>From: Rene Jochum <rene.jochum at cable.vol.at>
>Subject: Re: [dev] Horde Projects allone
>To: dev at lists.horde.org
>Message-ID: <1061281548.2378.125.camel at localhost>
>Content-Type: text/plain; charset=ISO-8859-15
>
>Am Die, 2003-08-19 um 05.14 schrieb Rene Jochum:
>> Hi list
>> 
>> I have changed the /horde-3.0/config/registery.php a little bit so i can
>> call horde Projects allone and with the horde-framework.
>> 
>> It is very usefull for me because i call the this progs in to ways:
>> 
>> First: http://www.domain.de/horde/ <-- there login and select chora
>> Second: http://cvs.domain.de <-- Documentroot is /usr/..../horde/chora
>> 				 Alias for /horde is /usr/..../horde
>> 
>> With the orginal version i get an error if want to call both versions
>> 
>> Then i hase a little idea a small if-directive and an array in the
>> registery.php
>> 
>> Here in the attachment is my diff, it is only an idee not a very good
>> code :(
>> 
>> Mit freundlichen Gr?ssen (is german an means: With kind regards)
>> Jochum Rene
>> 
>
>Little error in my patch :(
>
>If have changed only the webroot of the "project" but i must change the
>webroot and the pointer to the icon of the project.
>
>In the attachment you can find the new Version :)
>
>Second sry, for my very poor english (Where i can learn to speak better
>english, in my school (i am 13 and go to the ground school) i dont learn
>any english.
>
>So long
>Jochum Rene
>-- 
>Rene Jochum <rene.jochum at cable.vol.at>
>Pc-Dummy.net
>
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 19 Aug 2003 08:35:48 -0400
>From: Chuck Hagenbuch <chuck at horde.org>
>Subject: [dev] Fwd: horde/lib/Data.php
>To: dev at lists.horde.org
>Message-ID: <1061296548.22cbfbe5182fe at marina.horde.org>
>Content-Type: text/plain; charset="ISO-8859-1"
>
>
>
>----- Forwarded message from lembke at lcc.ch -----
>    Date: Tue, 19 Aug 2003 14:39:36 +0200
>    From: Dietmar Lembke <lembke at lcc.ch>
>Reply-To: Dietmar Lembke <lembke at lcc.ch>
> Subject: horde/lib/Data.php
>      To: chuck at horde.org
>
>Hi Chuck,
>
>sorry for writing directly to you. Could not get into bug track!
>
>I probably found a bug im horde/lib/Data.php which caused some problem
>importing tsv data from a windows client. The original result with the
>un patched version was  that you got a double line count when importing
>MS-DOS text files. Since the lines where splited into an array on \n &
>\r but should actually only split on \r\n. By reversing regex as below
>the problem should be fixed.
>
>Hope you can use it.
>
>Best regards,
>didi
>
>
>--------------diff -rcs Data.php Data.php-orig------------------------
>*** Data.php    Tue Aug 19 14:19:41 2003
>--- Data.php-orig       Tue Aug 19 14:12:09 2003
>***************
>*** 372,378 ****
>               return false;
>           }
>
>!         $contents = preg_split( "/(\r\n|\n|\r)/", rtrim(fread($fp,
>filesize($filename))));
>
>           fclose($fp);
>
>--- 372,378 ----
>               return false;
>           }
>
>!         $contents = preg_split( "/(\n|\r|\r\n)/", rtrim(fread($fp,
>filesize($filename))));
>
>           fclose($fp);
>-------------end -diff -rcs Data.php
>Data.php-orig------------------------
>
>
>Lembke Computer Consulting GmbH
>Dietmar Lembke
>R?mslistrasse 94
>CH-6315 Ober?geri
>Tel: +41417508952
>
>-----BEGIN PGP PUBLIC KEY BLOCK-----
>Version: PGP 8.0 (Build 288) Beta
>
>mQGiBD2p1+0RBAD7nsCLBGzGJ0hHv6JbWdTMC/n8kW4A2+W3R0QDryp+JAzmQHoE
>T3umg6GC/TvSmT7Qs3Vc9SIzUGFsj5pZshwqTJxZ8Ch6VTMtUP+oBmREVmQeezNc
>u+0KMtGeOB34bwVog7TAL7NaMomFM1VNghVfG6VcdBCG95TJ9NAn3QFzowCg/9xl
>4g7bWP7zyjVFdf4TDnUaCAUEAKfOIcKI48pBGlAIyg6J+bvTiPuoxArkmxrMl+yt
>2pcR/mqNmdZrPzvXakDOKsVnJ45qblmDe918/zalTYj5uZ2FajyFgT/t5nnICPui
>nl7T1yO/glxKXHnyk3bGYS4w2TWuFHGr0/5SVHX8O+DoVxPf00/rVK7nXsCamoNa
>RhMoA/wNxHJepxt700PK33CROlecPkbNGircqX/AYcqXQ+93RXKV2ppepzz0q/W7
>BO9Z+chyffGXEJ+3/t+nhc4wtGr23IOvgIqPJUb+2Fhm2y7dZh9K+wwqQN/I2Py5
>wlVK6/F/m9I0ylX4bUuxIEwcPZiwkcY5MHj9mcd6HlemGpKF57QfRGlldG1hciBM
>ZW1ia2UgPGxlbWJrZUBsY2NjLmNoPokAWAQQEQIAGAUCPanX7QgLCQgHAwIBCgIZ
>AQUbAwAAAAAKCRDmW3Bl0ifotIB0AKCzZRveTVGQwIOD2Zl6kGMcCAYlJwCdHJDO
>8FL7xQMEAND5VU0/5xVtOPC5Ag0EPanX7RAIAPZCV7cIfwgXcqK61qlC8wXo+VMR
>OU+28W65Szgg2gGnVqMU6Y9AVfPQB8bLQ6mUrfdMZIZJ+AyDvWXpF9Sh01D49Vlf
>3HZSTz09jdvOmeFXklnN/biudE/F/Ha8g8VHMGHOfMlm/xX5u/2RXscBqtNbno2g
>pXI61Brwv0YAWCvl9Ij9WE5J280gtJ3kkQc2azNsOA1FHQ98iLMcfFstjvbzySPA
>Q/ClWxiNjrtVjLhdONM0/XwXV0OjHRhs3jMhLLUq/zzhsSlAGBGNfISnCnLWhsQD
>GcgHKXrKlQzZlp+r0ApQmwJG0wg9ZqRdQZ+cfL2JSyIZJrqrol7DVekyCzsAAgIH
>/0kM4y9yoxUFWVEbGDiPjCOZGR4q57H/LWYVqM7oYyf9rb8UkNVPixNNYVHd8soj
>a05Xjjde6jY72bkJBo89WP1XETBtShoJrlmBlrhdgm/6fVqxwWCUc2sIPd25k4hB
>AbYP0LCe887dVcg4U1aqV+OYplCGDdnD6tTMig1BCsLwu65u4xXXi3nvfrRvMK4p
>VtNBA2Vxp41v+FG/yNaf8nBc/MQ5pSBDMlc+rzhhwyXOOpfiG0pWRBQiiHKVSSE5
>LnBIbEGuzsk0Ku5PkqzZv1qCMQouOL0RjVWIeK9ri07737ZosFI8sVXwFnzTcEB0
>XWaIPGbdx5K+u8sRFEkUF8+JAEwEGBECAAwFAj2p1+0FGwwAAAAACgkQ5ltwZdIn
>6LQYkwCg3/gN4hj1LDOeDqIMfKohmq3V6oIAn1C7mDb6URXhO+Tls80VWvqMjalt
>=C0Cp
>-----END PGP PUBLIC KEY BLOCK-----
>
>
>
>----- End forwarded message -----
>
>
>-chuck
>
>--
>Charles Hagenbuch, <chuck at horde.org>
>They're just looking at a wall of meat.
>
>
>------------------------------
>
>Message: 6
>Date: Tue, 19 Aug 2003 18:37:39 +0200
>From: Robert Ribnitz <ribnitz at linuxbourg.ch>
>Subject: [dev] An Ad Bock for Midas (and Possibly Giapeto)..
>To: dev at lists.horde.org
>Message-ID: <3F425253.6050903 at linuxbourg.ch>
>Content-Type: text/plain; charset="us-ascii"
>
>This is still untested as I havent gotten it ot show up in the block 
>choice yet.
>
>However here it is (goes to midas/lib/Block)
>
>Robert
>-------------- next part --------------
><?php
>/**
> * $Horde: midas/lib/Block/summary.php,v 1.1 2003/02/22 01:58:51 chuck Exp
>$
> *
> * @package horde.block
> */
>class midas_ad_Block extends Horde_Block {
>
>    function midas_ad_Block($params = array()) 
>    {
>        $this->_params = $params;
>        $this->_app = 'midas';
>        $this->_type = 'ad';
>    }
>
>    function isEditable() 
>    {
>        return false;
>    }
>
>    function _title() 
>    {
>    	return _("Advertisment");
>    }
>
>    function _content()
>    {
>        global $registry;
>
>        $midas = &Midas::singleton();
>	$ad=$midas->viewAdByJs(null);
>	return $ad;
>    }
>
>}
>
>------------------------------
>
>
>-- 
>Horde developers mailing list
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
>
>End of dev Digest, Vol 474, Issue 1
>***********************************



More information about the dev mailing list