For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > August 2004 > Re: [Seagull-general] Nestedset error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [Seagull-general] Nestedset error
Demian Turner

2004-08-10, 3:57 pm

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\Ne
stedSet.php on line 970
>
> I think that the probelm is in NestedSet.php where I really didn't found _getone


It 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);
}
Daniel Khan

2004-08-10, 3:57 pm

Hi,

Demian Turner wrote:

> It 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.


Yes - this has been fixed in CVS some days ago.
New public release will come out tonight.

Greetings

--
Daniel Khan
Technische Leitung
Geschäftsführender Gesellschafter

Ventigo
Werbung . IT . Marketing GmbH

Kornstrasse 10 4060 Leonding
T. +43 (0) 732 37 09 60 | F. +43 (0) 732 37 09 60 10
http://www.ventigo.com | office@ventigo.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com