#23592 [Asn]: Go-PEAR 0.2.2 Webfrontend - broken link to Start Web Frontend

From: Date: Wed, 25 Jun 2003 09:10:56 +0000
Subject: #23592 [Asn]: Go-PEAR 0.2.2 Webfrontend - broken link to Start Web Frontend
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17693@lists.php.net to get a copy of this message
ID: 23592 User updated by: ths at 4bconsult dot de Reported By: ths at 4bconsult dot de Status: Assigned Bug Type: PEAR related Operating System: WIN32 / Apache / PHP-Modul PHP Version: 4.3.1 Assigned To: pajoye New Comment: Update. Test with go-pear,v 1.47 There is still a problem with the link: <a href="path_with_go-pear/index.php" ...> should be <a href="/path_with_go-pear/index.php" ...> or <a href="index.php" ...> The request to the index.php still fails with: Parse error: parse error, unexpected T_STRING in d:\docroots\developer\path_with_go-pear\index.php on line 76 The reason is an backslash at end of path escaping the single quote... 71: if ($env=getenv('PHP_PEAR_PHP_BIN')) { 72: define("PHP_PEAR_PHP_BIN",$env); 73: } else { 74: putenv('PHP_PEAR_PHP_BIN=d:\docroots\developer\path_with_go-pear\'); 75: } This (maybe) can be removed because there is also: 48: if ($env=getenv('PHP_PEAR_BIN_DIR')) { 49: define("PHP_PEAR_BIN_DIR",$env); 50: } else { 51: putenv('PHP_PEAR_BIN_DIR=d:\docroots\developer\path_with_go-pear'); 52: } ..and this works fine. Previous Comments: ------------------------------------------------------------------------ [2003-06-04 05:17:03] ths at 4bconsult dot de Sorry, I run the last test in a different directory (http://developer.ths/go-pear/). When I place the go-pear script in http://developer.ths/test/go-pear/ as original reported the problem is still the same: The given Link is relative: test\go-pear/index.php but should be absolut: /test/go-pear/index.php In this case I also get an Warning within "Installation in progress ...": ... Downloading package: phpUnit..........ok Extracting installer..................ok warning : bad md5sum for file d:\docroots\developer\test\go-pear\pear.bat install ok: PEAR 1.1 install ok: Archive_Tar 1.1 ... An request to the index.php fails with: Parse error: parse error, unexpected T_STRING in d:\docroots\developer\test\go-pear\index.php on line 76 ------------------------------------------------------------------------ [2003-06-04 04:48:54] ths at 4bconsult dot de I can't find go-pear in CVS. Where is it located? Ok, http://go-pear.org/ is maybe the same... $Id: go-pear,v 1.44 2003/06/03 23:57:57 pajoye Exp $ The Link is now: go-pear/index.php but should be: /go-pear/index.php ------------------------------------------------------------------------ [2003-06-03 19:21:03] pajoye@php.net Can you try with latest cvs? I cannot reproduce it now on XP and linux boxes. thank's pierre ------------------------------------------------------------------------ [2003-05-12 08:24:44] ths at 4bconsult dot de The Link [ Start Web Frontend of the PEAR Installer >> ] is on my Windows system: http://developer.ths/test/go-pear/\test\go-pear/index.php but should be: http://developer.ths/test/go-pear/index.php _SERVER["DOCUMENT_ROOT"] is d:/docroots/developer ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23592&edit=1

« previous php.pear.dev (#17693) next »