[Obm] [Fwd: Re: OBM-bug?]

Pierre Baudracco pierre.baudracco@aliacom.fr
Fri, 15 Sep 2006 15:00:04 +0200


This is a multi-part message in MIME format.
--------------030608090107040109060002
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


-- 
------------------------------------------------------------------------------
Pierre Baudracco - pierre.baudracco@aliacom.fr
ALIACOM - www.aliacom.fr - Toulouse : 05 62 19 24 91 - Paris : 01 48 25 53 13

--------------030608090107040109060002
Content-Type: message/rfc822;
 name="Re: OBM-bug?"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="Re: OBM-bug?"

Return-Path: <w.de.wilde@Mecon.NL>
Received: from buffle.aliacom.local ([unix socket])
	by buffle (Cyrus v2.1.18-IPv6-Debian-2.1.18-1) with LMTP; Wed, 06 Sep 2006 11:59:13 +0200
X-Sieve: CMU Sieve 2.2
Received: by buffle.aliacom.local (Postfix, from userid 65534)
	id 91DAE1BD91; Wed,  6 Sep 2006 11:59:13 +0200 (CEST)
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on 
	buffle.aliacom.local
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=no 
	version=3.1.0
Received: from mail.aliacom.fr (mygale.aliacom.local [192.168.1.254])
	by buffle.aliacom.local (Postfix) with ESMTP id E64671BDD0
	for <pierre.baudracco@aliacom.fr>; Wed,  6 Sep 2006 11:59:00 +0200 (CEST)
Received: from mail.mecon.nl (62-177-166-170.dsl.bbeyond.nl [62.177.166.170])
	by mail.aliacom.fr (Postfix) with ESMTP id AD06A7F553
	for <pierre.baudracco@aliacom.fr>; Wed,  6 Sep 2006 11:59:00 +0200 (CEST)
Received: by MAIL-SERVER with Internet Mail Service (5.5.2653.19)
	id <NHGV3SXK>; Wed, 6 Sep 2006 11:58:59 +0200
Message-ID: <91CC782A3E7DD21190E0080009B3BAB9C4A51B@MAIL-SERVER>
From: Wouter de Wilde <w.de.wilde@Mecon.NL>
To: 'Pierre Baudracco' <pierre.baudracco@aliacom.fr>
Subject: RE: OBM-bug?
Date: Wed, 6 Sep 2006 11:58:53 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6D19B.0F663390"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C6D19B.0F663390
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I just remembered somthing from when I was installing your programm in
windows.
I had to make some changes in de mysql-files (other sql-version?)

TIMESTAMP(...) must be changed to TIMESTAMP
TYPE=3DMyIsam must be changed to ENGINE=3DMyIsam

My lines in http.conf: (no spaces! replace them with %20)
(C:/Program%20Files/xampp/htdocs is the Apache server directory) I dit =
not
set errorlog and customlog.

NameVirtualHost 127.0.0.1
=20
<VirtualHost 172.0.0.1>
    ServerAdmin  <mailto:root@localhost> root@localhost
    DocumentRoot C:/Program%20Files/xampp/htdocs/obm/php
    ServerName obm-panthere
    #ErrorLog /var/log/apache/obm-error.log
    #CustomLog /var/log/apache/obm-access.log common
        DirectoryIndex obm.php
        Alias /images
C:/Program%20Files/xampp/htdocs/obm/obminclude/themes/images
</VirtualHost>
=20
SetEnv OBM_INCLUDE_VAR obminclude

And for some reason it seamed that in =
\obminclude\themes\standard\theme.inc,
not all the portal-icons where filled in. (I don't know how it is in =
the
other themes) So I changed that file to.

//Portal Icons=20
=20
$ico_agenda_portal =3D "ico_portal_agenda.gif";
$ico_time_portal =3D "ico_portal_time.gif";
$ico_deal_portal =3D "ico_portal_deal.gif";
$ico_project_portal =3D "ico_portal_project.gif";
$ico_invoice_portal =3D "ico_portal_invoice.gif";
$ico_contract_portal =3D "ico_portal_contract.gif"; =
//"../images/1px.gif";
$ico_incident_portal =3D "ico_portal_incident.gif"; =
//"../images/1px.gif";
$ico_warning =3D "ico_warning.gif";

In omb_conf.inc I changed some lines to:

$cgp_host =3D "  <http://localhost/obm/> http://localhost/obm/";
define("C_IMAGE_PATH",$cgp_host."obminclude/themes");


With these setting everything seems to work. (and of course the changes =
in
php.ini mentioned in the install-1.2.html)
Maybe an installation help file for windows would be a nice touch to =
reach a
wider public. Unless you want more users to choose for open source =
operating
systems :-)
=20
Now that I have written this out, I can believe that a lot of users =
don't
get to the point of running the application under windows. Not everyone
knows how sql, routing, php,... works.
=20
Greetings,
Wouter

=20

=20




-----Original Message-----
From: Pierre Baudracco [ mailto:pierre.baudracco@aliacom.fr
<mailto:pierre.baudracco@aliacom.fr> ]
Sent: dinsdag 5 september 2006 18:52
To: obm@list.aliacom.fr; Wouter de Wilde
Subject: Re: OBM-bug?


Hello,

thank you for the reporting

we have changed it in the developpement version so it will be in 1.2.2
(which should be released at the end of the week).
Best way to stay informed is to subscribe to the mailing list

But this bug must be related to your php version as it didn't occur =
here in
any of our dev platform neither in our clients installs.
And it has not been reported earlier !

Pierre

Wouter de Wilde a =E9crit :
> Good news. I found the bug.
>
> In agenda_display.inc in function dis_agenda_week_planning($agenda,
> $calendar_entity) the line
>
>       "$start_week_time =3D strtotime("+ $cagenda_first_hour
>       hours",$start_week_day);"
>
> needs to be changed into
>
>       "$start_week_time =3D strtotime("+$cagenda_first_hour
>       hours",$start_week_day);"
>
> It's only a difference of one whitespace, but the php-function =
strtotime
> does not accept whitespace between the +sign and the number.
>
> Could you please change this bug in the download and let me know when
> the update is ready?
>
> Thank U.



--
------------------------------------------------------------------------=
----
--
Pierre Baudracco - pierre.baudracco@aliacom.fr
ALIACOM - www.aliacom.fr - Toulouse : 05 62 19 24 91 - Paris : 01 48 25 =
53
13



------_=_NextPart_001_01C6D19B.0F663390
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<P dir=ltr style="MARGIN-RIGHT: 0px"><FONT size=2>I just remembered somthing 
from when I was installing your programm in windows.<BR>I had to make some 
changes in de mysql-files (other sql-version?)</FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT size=2>TIMESTAMP(...) must be changed to TIMESTAMP</FONT></DIV>
  <DIV><FONT size=2>TYPE=MyIsam must be changed to 
ENGINE=MyIsam</FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT size=2>My lines in http.conf: (no spaces! replace them with 
%20) (<FONT face=Arial>C:/Program%20Files/xampp/htdocs is the Apache server 
directory) I dit not set errorlog and customlog.</FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr><FONT face=Arial size=2>NameVirtualHost 127.0.0.1</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>&lt;VirtualHost 
  172.0.0.1&gt;<BR>&nbsp;&nbsp;&nbsp; ServerAdmin <A 
  href="mailto:root@localhost"><FONT 
  color=#000000>root@localhost</FONT></A><BR>&nbsp;&nbsp;&nbsp; DocumentRoot 
  C:/Program%20Files/xampp/htdocs/obm/php<BR>&nbsp;&nbsp;&nbsp; ServerName 
  obm-panthere<BR>&nbsp;&nbsp;&nbsp; #ErrorLog 
  /var/log/apache/obm-error.log<BR>&nbsp;&nbsp;&nbsp; #CustomLog 
  /var/log/apache/obm-access.log 
  common<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DirectoryIndex 
  obm.php<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Alias /images 
  C:/Program%20Files/xampp/htdocs/obm/obminclude/themes/images<BR>&lt;/VirtualHost&gt;</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>SetEnv OBM_INCLUDE_VAR 
  obminclude</FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial size=2>And for some reason it seamed that in 
\obminclude\themes\standard\theme.inc, not all the portal-icons where filled in. 
(I don't know how it is in the other themes) So I changed that file 
to.</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr><FONT face=Arial size=2>//Portal Icons </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>$ico_agenda_portal = 
  "ico_portal_agenda.gif";<BR>$ico_time_portal = 
  "ico_portal_time.gif";<BR>$ico_deal_portal = 
  "ico_portal_deal.gif";<BR>$ico_project_portal = 
  "ico_portal_project.gif";<BR>$ico_invoice_portal = 
  "ico_portal_invoice.gif";<BR>$ico_contract_portal = "ico_portal_contract.gif"; 
  //"../images/1px.gif";<BR>$ico_incident_portal = "ico_portal_incident.gif"; 
  //"../images/1px.gif";<BR>$ico_warning = 
"ico_warning.gif";</FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial size=2>In omb_conf.inc I changed some lines 
to:</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr><FONT face=Arial size=2>$cgp_host = "<A 
  href="http://localhost/obm/"><FONT 
  color=#000000>http://localhost/obm/</FONT></A>";</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial color=#0000ff size=2><FONT 
  color=#000000>define("C_IMAGE_PATH",$cgp_host."obminclude/themes");</FONT><BR></DIV></FONT></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial size=2>With these setting everything seems to 
work. (and of course the changes in php.ini mentioned in the 
install-1.2.html)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Maybe an installation help file for windows 
would be a nice touch to reach a wider public. Unless you want more users to 
choose for open source operating systems :-)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Now that I have written this out, I can 
believe that a lot of users don't get to the point of running the application 
under windows. Not everyone knows how sql, routing, php,... works.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Greetings,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Wouter</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV></BLOCKQUOTE>
<DIV><FONT size=2><FONT face=Arial color=#0000ff></FONT>&nbsp;</DIV>
<P dir=ltr style="MARGIN-RIGHT: 0px"><BR><BR><BR>-----Original 
Message-----<BR>From: Pierre Baudracco [<A 
href="mailto:pierre.baudracco@aliacom.fr">mailto:pierre.baudracco@aliacom.fr</A>]<BR>Sent: 
dinsdag 5 september 2006 18:52<BR>To: obm@list.aliacom.fr; Wouter de 
Wilde<BR>Subject: Re: OBM-bug?<BR><BR><BR>Hello,<BR><BR>thank you for the 
reporting<BR><BR>we have changed it in the developpement version so it will be 
in 1.2.2<BR>(which should be released at the end of the week).<BR>Best way to 
stay informed is to subscribe to the mailing list<BR><BR>But this bug must be 
related to your php version as it didn't occur here in<BR>any of our dev 
platform neither in our clients installs.<BR>And it has not been reported 
earlier !<BR><BR>Pierre<BR><BR>Wouter de Wilde a écrit :<BR>&gt; Good news. I 
found the bug.<BR>&gt;<BR>&gt; In agenda_display.inc in function 
dis_agenda_week_planning($agenda,<BR>&gt; $calendar_entity) the 
line<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "$start_week_time = 
strtotime("+ $cagenda_first_hour<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
hours",$start_week_day);"<BR>&gt;<BR>&gt; needs to be changed 
into<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "$start_week_time = 
strtotime("+$cagenda_first_hour<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
hours",$start_week_day);"<BR>&gt;<BR>&gt; It's only a difference of one 
whitespace, but the php-function strtotime<BR>&gt; does not accept whitespace 
between the +sign and the number.<BR>&gt;<BR>&gt; Could you please change this 
bug in the download and let me know when<BR>&gt; the update is 
ready?<BR>&gt;<BR>&gt; Thank 
U.<BR><BR><BR><BR>--<BR>------------------------------------------------------------------------------<BR>Pierre 
Baudracco - pierre.baudracco@aliacom.fr<BR>ALIACOM - www.aliacom.fr - Toulouse : 
05 62 19 24 91 - Paris : 01 48 25 53 13<BR></P></FONT></BODY></HTML>

------_=_NextPart_001_01C6D19B.0F663390--

--------------030608090107040109060002--