Favicon

Chora "Log->View" problem

Hi all.
I have a problem with chora. I select file from cvs browser, 
page "Source Log for..... file" opens. In this page I 
select  link "View" and this page 
http://demon.cris.net/~alt/work/co.php.htm was opened, it's 
look nice in my mozilla firefox, but in internet explorer 
it looks ugly (all text in one line). Any body have 
problems like this? What can be done for resolving this 
problem?

-- 
Wbr, alt
Debian GNU/Linux 3.1
Linux 2.4.26
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Chuck Hagenbuch | 7 Jul 14:45
Favicon
Gravatar

Re: Chora "Log->View" problem

Quoting Alexander Solodukhin <alt <at> softwarium.net>:

> I have a problem with chora. I select file from cvs browser,
> page "Source Log for..... file" opens. In this page I
> select  link "View" and this page
> http://demon.cris.net/~alt/work/co.php.htm was opened, it's
> look nice in my mozilla firefox, but in internet explorer
> it looks ugly (all text in one line). Any body have
> problems like this? What can be done for resolving this
> problem?

Fix internet explorer's handling of white-space:pre, or find another 
CSS solution.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Favicon

Re: Chora "Log->View" problem

On Thursday 07 July 2005 15:45, Chuck Hagenbuch wrote:
> Quoting Alexander Solodukhin <alt <at> softwarium.net>:
> > I have a problem with chora. I select file from cvs
> > browser, page "Source Log for..... file" opens. In this
> > page I select  link "View" and this page
> > http://demon.cris.net/~alt/work/co.php.htm was opened,
> > it's look nice in my mozilla firefox, but in internet
> > explorer it looks ugly (all text in one line). Any body
> > have problems like this? What can be done for resolving
> > this problem?
>
> Fix internet explorer's handling of white-space:pre, or
> find another CSS solution.
>
Maybe You know in what version of M$ IE handling of  
white-space:pre was fixed (maybe patches)? Thank You for 
solution!
> -chuck
>
> --
> "But she goes not abroad in search of monsters to
> destroy." - John Quincy Adams

-- 
Wbr, alt
Debian GNU/Linux 3.1
Linux 2.4.26
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
(Continue reading)

Norbert Mocsnik | 10 Jul 15:13
Picon

popen() or SVN path problem on WinXP

Hi List,

I need some good advice. Anyone using chora on WinXP,
could you tell me please how your SVN path is spelled
when everything works properly?

In horde/lib/Horde/VC/svn.php line 302-303:

$cmd = $this->rep->getPath('svn') . ' ls ' . $Q . str_replace($Q, '\\' . $Q, $this->rep->sourceroot() .
$this->queryDir()) . $Q . ' 2>&1';
$dir = popen($cmd, 'r');

popen() returns false on my system.
According to the PHP manual,
"If an error occurs, [popen] returns FALSE."

I've tried all the possible path formats (slashes,
backslashes, quotes, paths with/without spaces)
and I can't get get it to work.

Any quick tips?

Thanks in advance.

-- 
Best Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
(Continue reading)

Norbert Mocsnik | 10 Jul 15:18
Picon

Re: popen() or SVN path problem on WinXP

More info regarding my previous post:

The error message I get is:
Warning: popen(svn.exe ls "file:///e:/_data/qlzrep01/" 2>&1,r): No error in
C:\htdocs\horde\lib\Horde\VC\svn.php on line 303

I've tried each possible path that came to mind,
i.e. replaced svn.exe to c:\svn\svn.exe, c:/svn/svn.exe,
c:\\svn\\svn.exe, "c:\Program Files\SVN\bin\svn.exe" etc.

One more thing: I run Apache 2.0.
popen() opens process file pointer.
I've heard some rumours about php4 & Apache 2.0 + processes.
What do you think?
Does it work on your WinXP + php4.3.11 + Apache 2.0 system?

-- 
Norbert Mocsnik
http://norbert.mocsnik.hu/
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Norbert Mocsnik | 10 Jul 15:26
Picon

horde/lib/Horde/VC/svn.php bug report

Hi List,

*** *** *** *** *** *** ***
This is NOT a solution to my previous problem,
I still need your help regarding that.
This is the description of a bug that I noticed
while debugging.
*** *** *** *** *** *** ***

horde/lib/Horde/VC/svn.php line 303:
$dir = popen($cmd, 'r');

If this returns false for some reason, the loop
that follows it will never exit:
while (!feof($dir)) {

This should be replaced to
while (($dir) && (!feof($dir))) {
so the execution can continue and the
user gets the appropriate warnings in the browser.

Please let me know if I should report this bug
and where. I'm not too familiar with the structure
of Horde yet. Dunno if this belongs to the core
or to some external module. If you could paste
an URL where I can directly paste this bug,
I'm glad to do it.

--

-- 
Regards,
(Continue reading)

Chuck Hagenbuch | 11 Jul 19:16
Favicon
Gravatar

Re: horde/lib/Horde/VC/svn.php bug report

Quoting Norbert Mocsnik <lists <at> norbert.mocsnik.hu>:

> horde/lib/Horde/VC/svn.php line 303:
> $dir = popen($cmd, 'r');
>
> If this returns false for some reason, the loop
> that follows it will never exit:
> while (!feof($dir)) {

Fixed in HEAD and FRAMEWORK_3.

> Please let me know if I should report this bug

Of course.

> and where. I'm not too familiar with the structure
> of Horde yet. Dunno if this belongs to the core
> or to some external module. If you could paste
> an URL where I can directly paste this bug,
> I'm glad to do it.

http://bugs.horde.org/ (in the future. no need to report this one again)

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
(Continue reading)

Chuck Hagenbuch | 11 Jul 21:17
Favicon
Gravatar

Re: popen() or SVN path problem on WinXP

Quoting Norbert Mocsnik <lists <at> norbert.mocsnik.hu>:

> The error message I get is:
> Warning: popen(svn.exe ls "file:///e:/_data/qlzrep01/" 2>&1,r): No 
> error in C:\htdocs\horde\lib\Horde\VC\svn.php on line 303

Are you sure the problem is the svn path and not the repository path? 
That file:///e:/ jumble looks suspicious to me.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Norbert Mocsnik | 11 Jul 23:02
Picon

Re: popen() or SVN path problem on WinXP

Hello Chuck,

Chuck Hagenbuch wrote:
> Are you sure the problem is the svn path and not the repository path? 
> That file:///e:/ jumble looks suspicious to me.

Yes, this is how SVN works on Windows.

C:\>svn.exe ls "file:///e:/_data/qlzrep01/"
alive/
archived/

C:\>

Now it looks like the problem is with the Apache module
or some configuration setting may be wrong.
popen($filename, 'r') returns false regardless what
the filename is. When using the CLI version,
the same code works fine.

I need to investigate this a bit more and I'll let you
know to have the answer in the list archives and/or to
add it to the documentation for Windows users.

Looking forward to use Chora on my development box.

--

-- 
Best Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/
(Continue reading)


Gmane