Re: testing pear part one
| From: | Vincent Blavet | Date: | Sat, 01 Jun 2002 13:34:29 +0000 |
| Subject: | Re: testing pear part one | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6696@lists.php.net to get a copy of this message | ||
"robert janeczek" <rashid@ds.pg.gda.pl> wrote in message news:20020531214141.35891.qmail@pb1.pair.com...
> hi
> i have an exam tomorrow, so i wanted to find myself something else to do :)
> i tried to use all (?) the pear classes. now you can see how it looks from
> begginers look. i`ll point all the traps i encountered on my way. this can
> be useful for future doc releases. i use win2k, so there will be some hints
> and bugs showing up only on this platform. sorry for the length of this
> message i hope you know how to cut posts while answering ;) i`m sure there
> are many my mistakes, i hope that thanks to them you`ll know what are the
> usual problems and what tips are needed in documentation. so - don`t be mad
> at me :) i`m not using advanced features - i just wanted to make classes
> work on my mashine. today - part one - two first classes (i choose classes
> alphabeticaly). stay tuned for next parts...
>
> test platform:
> System Windows NT 5.0 build 2195
> SERVER_SOFTWARE Apache/1.3.22 (Win32) PHP/4.2.1
> php 'from the box' with some changes in php.ini:
> - register_globals = on (yes, i know...)
> - changed include path and extensions path
> - apopriate extensions loaded (more information with classes using them)
>
> pear downloaded from cvs today, about 16.00 cet. installed manually.
>
> 1. Archive/Tar.php
> Tar.php,v 1.1 2002/05/27 21:48:36
>
> extensions:
> ZLib Support enabled
> Compiled Version 1.1.4
> Linked Version 1.1.4
>
> docs:
> ok, i`ve read docs/archive_tar.txt and it was enough to start playing with
> the class. unfortunetly i wasn`t able to test if the features work.
The doc was not updated since some times, I should do a refresh. Please refer to the manual
(pear.php.net) for the most recent doc
>
> test:
> unable to use class in any logical way - serious errors with creating
> archive. more detailed information is sent to author, so its no reason to
> place it here again. as i see it now - this class is unusable under w2k for
> now, i
m not sure why, maybe its zlibs fault?
I did receive your detailed tests, thanks. I retry your test on my Windows 2000 system and did not
have any problems.
I use the last file : Tar.php,v 1.12 2002/05/28 00:35:16, my zlib is 1.1.3
I just simulate your two files with dummy char, but I don't think it can be the content of the
files ....
>
> 2. Auth/Auth.php
> Auth.php,v 1.33 2002/05/04 09:42:31
>
> strange things:
> why does Auth/Container.php return AUTH_METHOD_NOT_SUPPORTED in some methods
> instead of generating PEAR_Error?
>
> docs:
> - should add a note that windows users need to change default
> session.save_path setting in php.ini - its quite confusing first time you
> see a message about it :)
> - should add basic sql code creating table for default Auth/Container/DB.php
> settings - especially minimum field lenght for password column needs to be
> said, i created 20 chars long field and nothing worked well because encoded
> password didn`t fit
>
> test:
> DB: i used mysql, created database and table and everything worked well
> after i realized that password field needs more space :) there should be
> also an information about creating username field with unique parameter
> file: hmmmm i couldn`t find File/Passwd.php in newest cvs contents and the
> file that came with php [Passwd.php,v 1.9 2002/02/28 08:27:12] didn`t have
> isLocked method which was called from inside of container [line 122], i made
> few small changes to make it all to work, but it got even worse :) is this
> container still usable?
> LDAP: unable to check - i have no access to ldap server
>
>
> rash
>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>