View/search.php->render() in Modul funktioniert nicht

Hallo!

Beim Versuch die render-Funktion der search.php in einem Modul zu überschreiben, taucht folgender Fehler auf:

Warning: Smarty error: unable to read resource: “” in /var/www/web2/html/db4_modules/core/smarty/Smarty.class.php on line 1092
[LEFT]Execution time :0.137846946716
Memory usage: 7.978 MB (peak: 7.984 MB)
System memory usage: 6.25 MB (peak: 6.25 MB)
[/LEFT]
cl=search

Profile start: 0.13844s100.43% 10.13844s Profile oxNew: 0.06777s49.17% 330.00205s Profile buildTree: 0.03565s25.86% 10.03565s Profile _getLangTranslationArray: 0.00598s4.34% 10.00598s Profile _sortCats: 0.0032s2.32% 10.0032s Profile parseThroughSmarty: 0.00015s0.11% 62E-05s Profile oxviewconfig::setViewConfigParam: 1E-05s0.01% 1*1E-05s /**/ ADOdb-Lite Performance Monitor for localhost, db=usr_web2_4, 5.0.32-Debian_7etch5 [B]Performance Stats[/B] [B]View SQL[/B] [B]View Tables[/B] [B]Poll Stats[/B] [B]Run SQL[/B]
Warning: fopen(EXCEPTION_LOG.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/web2/html/db4_modules/core/exception/oxexceptionhandler.php on line 148

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/web2/html/db4_modules/core/exception/oxexceptionhandler.php on line 150

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/web2/html/db4_modules/core/exception/oxexceptionhandler.php on line 151
2009-07-08 19:50:58exception ‘ADODB_Exception’ with message ‘mysql error: [1227: Access denied; you need the SUPER privilege for this operation] in EXECUTE(“show innodb status”) ’ in /var/www/web2/html/db4_modules/core/adodblite/adodb-exceptions.inc.php:84 Stack trace: #0 /var/www/web2/html/db4_modules/core/adodblite/adodbSQL_drivers/mysql/mysql_driver.inc(369): adodb_throw(‘mysql’, ‘EXECUTE’, 1227, ‘Access denied; …’, ‘show innodb sta…’, false, Object(object_ADOConnection)) #1 /var/www/web2/html/db4_modules/core/adodblite/adodb.inc.php(316): mysql_driver_ADOConnection->do_query(‘show innodb sta…’, -1, -1, false) #2 /var/www/web2/html/db4_modules/core/adodblite/adodbSQL_drivers/mysql/mysql_perfmon_module.inc(298): ADOConnection->Execute(‘show innodb sta…’) #3 /var/www/web2/html/db4_modules/core/adodblite/adodb-perf-module.inc.php(474): mysql_perfmon_ADOConnection->GetInnoDBHitRatio() #4 /var/www/web2/html/db4_modules/core/adodblite/adodb-perf-module.inc.php(707): perfmon_parent_ADOConnection->_DBParameter(’=GetInnoDBHitRa…') #5 /var/www/web2/html/db4_modules/core/adodblite/adodb-perf-module.inc.php(581): perfmon_parent_ADOConnection->HealthCheck() #6 /var/www/web2/html/db4_modules/index.php(160): perfmon_parent_ADOConnection->UI(5) #7 {main} ---------------------------------------------
Die Definfition enthält nur folgenden Code:

<?php

class mysearch_search extends mysearch_search_parent{
    public function render()
    {
         parent::render();
    }
}

alle anderen Funktionsaufrufe funktionieren einwandfrei. Im Sourcecode finde ich auch keinen mir hilfreichen Hinweis.

Gruß, SubNet

[QUOTE=SubNet-One;10296]

&lt;?php

class mysearch_search extends mysearch_search_parent{
    public function render()
    {
         parent::render();
    }
}[/QUOTE]

Nach

parent::render();

fehlt ein

return $this-&gt;_sThisTemplate;

Vielen Dank, Avenger! Das ist es.