RE: [PEAR-DEV] HTML_SetupWizard and more ....

From: Date: Thu, 31 Jul 2003 12:00:15 +0000
Subject: RE: [PEAR-DEV] HTML_SetupWizard and more ....
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19033@lists.php.net to get a copy of this message
I'm testing the class so here is the report: - install is a breeze C:\>pear install http://farell.free.fr/en/pear/bin/HTML_SetupWizard-1.0RC1.tgz downloading HTML_SetupWizard-1.0RC1.tgz ... ...done: 195,864 bytes install ok: HTML_SetupWizard 1.0RC1 - You might want to add the dependencies in the package.xml file. - Link to HTML_CSS is wrong in release file it should be http://farell.free.fr/en/pear/bin/HTML_CSS-0.1.0.tgz, you forgot the bin/ - it also applies to Progress_Bar C:\>pear install http://farell.free.fr/en/pear/bin/HTML_CSS-0.1.0.tgz downloading HTML_CSS-0.1.0.tgz ... ...done: 3,387 bytes install ok: HTML_CSS 0.1.0 - i uncompressed the examples archive. running http://localhost/HTML_SetupWizard/examples/ ends up with Fatal error: Maximum execution time of 60 seconds exceeded in c:\php\pear\HTML\TreeMenu.php on line 465 - in quick launch on your site (http://farell.free.fr/en/pear/sources/HTML_SetupWizard/) browse to the web page HTML_SetupWizard/examples/index.html as you would to any other web page should be index.php - i gave up run index.php, it times out every time. accessing examples directly. - http://tests/HTML_SetupWizard/examples/1/run.php I added a error_reporting(E_ALL &~E_NOTICE); it works great (i had to look for 10 minutes why i had an empty page and found that File_Passwd was not installed, thus the @include statement in registerElement was making the error !). I noticed a css glitch, on example 1, when i reach the last screen where it asks to install or hit previous, the box in which appears the info is too wide and comes out of the wizard general box. The installation screen with progress bar produded two boxes, only one had the progress bar moving. I guess the second one is a bug. In the end the log says that the file was written to 2003-07-31 13:53:02 SW4P [debug] [127.0.0.1] WRITE CONFIG FILE (/tmp/myappconf.php) TYPE (phparray) [on line 145 of "c:\php\pear\HTML\SetupWizard\config.php"] which will not work on win. I guess i missed an option somewhere :) this rather long email as i wrote it as i was using the examples. Conclusion: - it is a really great package, i'm +1 - the amount of documentation and examples should be followed by every package Things to do: - use DIRECTORY_SEPARATOR as lorenzo suggest for better platform portability - modify package.xml to have the dependencies registered, it really is painful to find that you missed a dependency ;) Arnaud. ps: i noted that all temporary files are still on the hard disk like for html_setup_wizard after doing pear install SetupWizard.php .tmpSetupWizard.php etc. Not sure if this is due to the package or the pear installer.

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