Re: Last try on package HTML_Progress and HTML_SetupWizard proposals

From: Date: Thu, 24 Jul 2003 06:29:09 +0000
Subject: Re: Last try on package HTML_Progress and HTML_SetupWizard proposals
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18613@lists.php.net to get a copy of this message
Hi "Davey" <davey@php.net> a écrit dans le message de news: 3F1F15F7.9040005@php.net... > > 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 Á»(è > Á}oN¨ßÝw’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'll have a check on this; my error_reporting is set to E_ALL & ~E_NOTICE > > 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 Well i've not included the HTML_TreeMenu as dependency in my package because it's only use for examples presentation. But you're correct, i should notice it in my install doc/proc. Thanks ! > > 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 > I forgot this one; oops ! > 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, Have a look on all these points, when i'll be back > but from the examples I saw of > HTML_ProgressBar, thats looks pretty nifty and sans errors will get my > +1, but not till then. > Thanks a lot for this vote :o) Laurent

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