Re: Last try on package HTML_Progress and HTML_SetupWizard proposals
| From: | Davey | Date: | Wed, 23 Jul 2003 23:10:47 +0000 |
| Subject: | Re: Last try on package HTML_Progress and HTML_SetupWizard proposals | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18608@lists.php.net to get a copy of this message | ||
Laurent Laville wrote:
Hi all! I do not really think that you'd like to have my classes on PEAR, because so few people took a vote or gave me a feedback in past. But I'll have a last try... I've put online for both class HTML_Progress and HTML_SetupWizard : - all source code online - API doc (generated by phpDocumentor 1.2.1) - my own doc/tutorial (even if not yet completly finished for HTML_SetupWizard: demos guides are missing) and of course : - tarball with package.xml file (easy to install on PEAR) - all others ressources as tarball too You've only one URL to remember now and perharps for next days : http://farell.free.fr/en/pear/sources/<snip /> OK, I did the following: Downloaded http://farell.free.fr/en/pear/bin/SW4P_demos-1.0.tgz unpacked to c:\web\sw4p pear install http://farell.free.fr/en/pear/bin/HTML_SetupWizard-1.0.tgz Then I ran the script and first I notice errors such as: Notice: Use of undefined constant node1_ - assumed 'node1_' in c:\web\sw4p\index.php on line 41 Call Stack # Function Location 1 {main}() c:\web\sw4p\index.php:0 Must be about 50-100 errors with the constant being node1_ upto node5_ - I assume this was coded with error_reporting NOT set to E_ALL I ignore these warnings and try out one of the tests and it dies saying HTML_TreeMenu can't be required, which means you've not got the dependency in the package.xml for that so I did: pear install HTML_TreeMenu and run the test again, this time it needs Net_UserAgent_Detect - again you've missed that dependency in the package.xml Now after all dependencies are fixed, I get this errors: Fatal error: Cannot redeclare class html_setupwizard_config in C:\php4\pear\HTML\SetupWizard\Config.php on line 32 Call Stack # Function Location 1 {main}() c:\web\sw4p\5\run.php:0 2 require_once() c:\web\sw4p\5\run.php:13 3 require_once() C:\php4\pear\HTML\SetupWizard.php:24 4 require_once() C:\php4\pear\HTML\SetupWizard\config.php:20 You will need to fix all these bugs, but from the examples I saw of HTML_ProgressBar, thats looks pretty nifty and sans errors will get my +1, but not till then. - Davey p.s. I'm using Dericks xdebug extension which is whats generating these nifty errors with call stacks - an unexpected (but much welcome!) side-effect of installing it :D