Re: Re: New organisation for QuickForm installation

From: Date: Mon, 22 Jul 2002 15:13:55 +0000
Subject: Re: Re: New organisation for QuickForm installation
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1955@lists.php.net to get a copy of this message
le 22/07/02 16:43, Rainer Kuhn à kuhn@punkt.de a écrit : > Hi, > > I'm quite new to PEAR and this newsgroup. This morning I tried to install > HTML_Quickform 2.3 and encountered some problems. > > Bertrand Mansion wrote: >> I have made some changes in the organisation of HTML_QuickForm. >> Now, QuickForm should be in HTML/QuickForm.php instead of >> HTML/QuickForm/QuickForm.php and elements should be in HTML/QuickForm/ >> instead of HTML/QuickForm/Elements/ >> >> I hope this is OK. I have modified the package.xml consequently. >> I can't test the installer now, if someone has time to test it, I would be >> glad to hear if it works. Thanks. > > I'm not sure if the following meets your question from March, but I wanted to > tell you: > > After installing HTML_Quickform 2.3 via PEAR command line installer (I'm > running > PEAR and PHP 4.2.1 on FreeBSD 4.5) I tried to run the two example scripts from > the docs directory, but got some errors. > > All QuickForms files have been installed into /usr/local/share/pear/HTML > instead > of /usr/local/share/pear/HTML/QuickForm, so they have not been found. I had to > create the 'QuickForm' directory and move the files there manually. After that > this problem was solved and I could have a look at the first example. > > The second provided example (QuickForm_example2.php) still does not work > because > of the call of an undefined function: > > Fatal error: Call to undefined function: _formizearray() in > /usr/local/share/pear/HTML/QuickForm/advcheckbox.php on line 196 > > Die I do something wrong or is this a hint for an error with QuickForm ? Hi Rainer, This is a problem the pear installer had a few weeks ago. You should use the latest version of the pear installer and files will normally go in the right directories. About the _formizeArray(), this is handled by Mr. Jason Rust ;-) and I suggest you get rid of every call to this method as it is not available in QuickForm for the moment... Maybe some day if Jason or Dan manage to make it work with grouped elements. Anyway, this will be fixed in the next release and should be already fixed in the cvs. Good luck and thanks for your feedback. Bertrand Mansion Mamasam

« previous php.pear.general (#1955) next »