Suche funktioniert nicht? 4.6.3

Habe die Suche kurzfristig auskommentiert und jetzt wieder eingebunden in dem Template.

Jedoch komme ich immer auf die Startseite:
index.php?cl=start&redirected=1
statt auf eine Ergebnisseite

Woran kann es liegen?

Und was steht im exception log?

Wo genau findet man den?

im log Ordner

Da kommt folgende viel sagende Meldung:

Faulty component –>

oxSystemComponentException-oxException (time: 2012-11-21 16:18:17): [0]: Function ‘getAttributes’ does not exist or is not accessible! (Search)

Stack Trace: #0 [internal function]: oxSuperCfg->__call(‘getAttributes’, Array)
#1/tmp/4d52324cddf22c0f1bbf53849cf7cef0^%%98^98C^98C98449%%listitem_line.tpl.php(261): Search->getAttributes()
#2/core/smarty/Smarty.class.php(1869): include(‘/www/htdocs/w00…’)
#3/tmp/4d52324cddf22c0f1bbf53849cf7cef0^%%FC^FCA^FCA347E9%%list.tpl.php(46): Smarty->_smarty_include(Array)
#4/core/smarty/Smarty.class.php(1869): include(‘/www/htdocs/w00…’)
#5/tmp/4d52324cddf22c0f1bbf53849cf7cef0^%%B0^B04^B042919B%%search.tpl.php(43): Smarty->_smarty_include(Array)
#6/core/smarty/Smarty.class.php(1263): include(‘/www/htdocs/w00…’)
#7/views/oxshopcontrol.php(446): Smarty->fetch(‘page/search/sea…’, ‘ox|0|0|0|0’)
#8/views/oxshopcontrol.php(317): oxShopControl->_render(Object(Search))
#9/views/oxshopcontrol.php(114): oxShopControl->_process(‘search’, NULL)
#10/index.php(105): oxShopControl->start()
#11 {main}

Function ‘getAttributes’ does not exist or is not accessible! (Search)

Hast Du vielleicht an den Atrributen irgendwas gedreht?

Inwiefern? Ich selber nicht. Die werden per Mercator (Schnittstelle) vom Kunden automatisch eingepflegt, habe also keinen direkten Einfluss darauf. An PHP Dateien habe ich nichts geändert von Oxid

nicht in der PHP Datei. Hast du den Log Eintrag durchgelesen und nur hierher kopiert?
da stehts doch: "listitem_line.tpl … Search->getAttributes()"
öffne mal die listitem_line.tpl und suche dort nach getAttributes().

vermutlich steht da sowas wie $oView->getAttributes(), was verständlicherweise nicht funktionieren kann, weil (wie die Exception schon sagt) search keine Funktion getAttributes() hat.

da steht folgendes (ist es die richtige Stelle?)

[{block name=“widget_product_listitem_line_tobasket”}]
<div class=“tobasketFunction clear”>
[{if $blShowToBasket }]
[{oxhasrights ident=“TOBASKET”}]
[{foreach from=$oView->getAttributes() item=oAttr name=attribute}]
[{ if $oAttr->title == “Preis pro Liter” }]
<li><b>[{ $oAttr->title }]:</b> [{ $oAttr->value }] [{ $currency->sign}]</li>
[{/if}]
[{ if $oAttr->title == “Verpackungseinheit”
|| $oAttr->title == “Herkunft Kategorie”}]
<li><b>[{ $oAttr->title }]:</b> [{ $oAttr->value }]</li>
[{/if}]
[{/foreach}]

habe es jetzt zu

$product->getAttributes()
geändert und jetzt geht es, danke für den hinweis =)