Re: New DTD Class

From: Date: Tue, 02 Sep 2003 23:20:11 +0000
Subject: Re: New DTD Class
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21000@lists.php.net to get a copy of this message
On Tuesday, September 2, 2003 20:29, Klaus Guenther wrote: > Hi Tomas, > I'm getting a > Fatal error: Cannot redeclare class dtd in /path/to/DTD.php on line 51 > However, when I do $php -l DTD.php, it says there are no syntax errors. > Also, when installing it with the pear installer, it warns that it's an old > archive format. The class hasn't yet been pear_packaged, do not try to install it with the pear installer. This error is because you're 1) including the file twice (just change the include's in test.php with include_once's) or 2) you already have a DTD class under your include path. Regards, -- Tomas V.V.Cox mailto:cox@idecnet.com

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