Reporting Problems "Windows 2000" PHP4

Arturo Portilla Henao arturo@puj.edu.co
Wed, 19 Dec 2001 00:41:14 -0000


hello, im newbie in chora, and i found this problems when is installed in 
windows 20000 win php"four".

remember...
$conf['options']['use_path_info'] = false;


i found follow problems for "win32" configuration.


1) problem---------------------------
LOGIC PROBLEM OK.

replace this code in chora base.php line 115

if (!isset($HTTP_SERVER_VARS['PATH_INFO']) && !$conf['options' 
['use_path_info']) {
    $where = $f;
} else if (isset($HTTP_SERVER_VARS['PATH_INFO'])) {
    $where = $HTTP_SERVER_VARS['PATH_INFO'];
}

whith
                                             **
>>if (!isset($HTTP_SERVER_VARS['PATH_INFO']) || !$conf['options']
['use_path_info']) {
    $where = $f;
} else if (isset($HTTP_SERVER_VARS['PATH_INFO'])) {
    $where = $HTTP_SERVER_VARS['PATH_INFO'];
}

this is a problem when  $conf['options']['use_path_info'] = false;  in chora 
conf.php file. "win32".

2) problem---------------------------

the button  "Get Difs" gets difs with this URL... (win32)

http://cvs.horde.com/horde/chora/diff.php?f=h&r1=0&tr1=1.1&r2=0&tr2=1.24

instead of:

http://cvs.horde.com/horde/chora/diff.php?
f=/cvsroot/horde/file.cpp&r1=0&tr1=1.1&r2=0&tr2=1.24

note this, parameter  "f=h"... cause conflict with browsed fileName.   this 
is the problem.

a) solution replace "f" parameter for "filename" with "fn"
b) solution replace "f" parameter for diff, with another letter. ?? 

i prefer (a) solution.  
be sure "fn" is not parameter for another command.

This problem cause all "file not Found's" in difs.

HERE ALL CHANGES---------------------------
HERE ALL CHANGES---------------------------
HERE ALL CHANGES---------------------------
MODULE   file       line
chora   base.php    112

$fn = Horde::getFormData('fn', '');
$where = '';

>>if (!isset($HTTP_SERVER_VARS['PATH_INFO']) || !$conf['options']
['use_path_info']) {
    $where = $fn;
} else if (isset($HTTP_SERVER_VARS['PATH_INFO'])) {
    $where = $HTTP_SERVER_VARS['PATH_INFO'];
}

MODULE    file       line
Chora   chora.php    105

        if ($conf['options']['use_path_info']) {
            $url .= '/' . $uri;
        } else {
>>          $arglist['fn'] = $uri;
        }

END ALL CHANGES---------------------------
END ALL CHANGES---------------------------
END ALL CHANGES---------------------------

3) problem -----------------------
i have more problems in win32,  Anotate fails

MOUDLE           FILE                       LINE
hora       chora/lib/CvsLib/Annotate.php     49

the command is called wrong,  

$pipe = popen($conf['paths']['cvs'] . ' -n -l server > ' . $this-
>tmpfile, 'w');

server is not a member of cvs commands

this file will be in mantanience by others i think.

4) problem -------------------------------

diffs not function in my system
must be the same in (3)


Tanks,


Arturo.