PEAR-Problem mit TikiWiki
am 09.04.2008 22:55:06 von Jan KrohnHallo,
ich habe Probleme bei der Einrichtung meines TikiWiki-Forums. Es scheint
sich um einen Bug gepaart mit einem fehlenden PEAR-Package zu handeln...
Vielleicht sieht ja einer von Euch PHP-Experten grad, was die Ursache sein
könnte.
Das Forum ist installiert auf: http://www.vic-fontaine.com/forum/
Wenn ich das Forum betreten will, erscheint:
Catchable fatal error: Object of class PEAR_Error could not be converted to
string in /home/vicfont/public_html/forum/lib/webmail/net_pop3.php on line
909
(Allerdings nur, wenn man als Admin eingeloggt ist, ansonsten wird die
Meldung ausgeblendet). Anscheinend wird dort der PEAR Fehler nicht korrekt
zur Ausgabe formatiert. Mit PEAR kenne ich mich leider noch gar nicht aus,
so dass ich nicht weiß, wie der Quellcode zu verändern ist.
Die Funktion im Original Source Code:
/*
* Sends the STAT command
*
* @return mixed Indexed array of number of messages and
* maildrop size, or false on error.
*/
function _cmdStat()
{
if ($this->_state == NET_POP3_STATE_TRANSACTION) {
if(!PEAR::isError($data = $this->_sendCmd('STAT'))){
sscanf($data, '+OK %d %d', $msg_num, $size);
$this->_maildrop['num_msg'] = $msg_num;
$this->_maildrop['size'] = $size;
return array($msg_num, $size);
}
}
return false;
}
Hat jemand eine Idee...? Im TikiWiki-Forum konnte man mir leider nicht
helfen.
Vielen Dank und Gruß,
Jan
--
Amazing love! how can it be
That Thou, my God shouldst die for me?
--
http://www.vic-fontaine.com/