Re: [Seagull-general] Nestedset error
| From: | Demian Turner | Date: | Tue, 10 Aug 2004 15:14:11 +0000 |
| Subject: | Re: [Seagull-general] Nestedset error | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14052@lists.php.net to get a copy of this message | ||
Hi Daniel/All
I don't know what you changed but if I try to add new item to menu I got the error: Fatal error: Call to undefined function: _getone() in c:\inetpub\wwwroot\borzen\lib\pear\DB\NestedSet.php on line 970 I think that the probelm is in NestedSet.php where I really didn't found _getoneIt appears the getOne [1] method has been left out for the DB driver in DB_NestedSet. This is called in NestedSet.php:970, latest public release. cheers Demian Turner [1]
/**
* @param string $sql SQL query
* @return mixed
* @access private
*/
function _getOne($sql)
{
return $this->db->getOne($sql);
}