call to undefined function isError() ??
| From: | Jon Bennett | Date: | Tue, 18 Nov 2003 13:22:23 +0000 |
| Subject: | call to undefined function isError() ?? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8999@lists.php.net to get a copy of this message | ||
Hi,
If I'm getting this error all the time, what am I missing in in the PEAR setup on my machine ??
Call to undefined function: iserror() in /Library/WebServer/Documents/wrox_site/mail_test.php on line 16
abstracted code:
var $_oMail;
// implement pear mail object
$this->_oMail =& Mail::factory("mail");
if (Mail::isError($this->_oMail)) { // line 16!!
catchExc($this->_oMail->getMessage());
}
am I right in thinking that the main pear libs aren't being included ???
Thanks,
Jon
jon bennett | jon@jben.net
new media designer / developer
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
J b e n . n e t
91 Gloucester Rd, Trowbridge, Wilts, BA14 0AD
t: +44 (0) 1225 341039 w: http://www.jben.net/