Scully
July 23, 2015, 12:56pm
1
Hallo zusammen,
ich bin neuer und vor allem stolzer OXID-Shop „Besitzer“. Die Installation und die Übersicht sind einfach Klasse. Habe schon einiges durch, auch bezahl-systeme aber das hier ist einfach genial.
Allerdings stehe ich vor einem kleinen Problem wo mir vlt jemand helfen könnte.
Wenn ich neue Artikel eingebe werden diese auch angezeigt in der Kategorie usw. Wenn ich allerdings auf Artikeldetails klicke, werde ich immer auf die Startseite (www.seitenname.de/index.php?cl=start&redirected=1 ) umgeleitet.
Weis jemand woran das liegt? Bei einigen Artikeln kann ich in die Details schauen und bei anderen nicht, bei den „neueren“ ahlt nicht mehr. Der Cache wird immer automatisch nach Abmeldung Admin geleert, dies als Info. Paypal 3.2.1 installiert und auch hier mal die Express funtion deaktiviert aber das bringt es alles nicht.
Ich hoffe es kann mir einer helfen.
log/exceptionlog.txt mal prüfen.
Nein, reinschauen und den neusten Eintrag hier Posten (ca 12-15 Zeilen jeweils zwischen “-------------------------”)
Der neueste Eintrag ist ganz unten.
Scully
July 23, 2015, 2:18pm
6
oxSystemComponentException-oxException (time: 2015-07-23 12:53:25): [0]: Function ‘getFileUrl’ does not exist or is not accessible! (oePayPalOxArticle)
Stack Trace: #0 /homepages/…/tmp/smarty/3deab012ebab619f49254c3e9efac273^%%AB^AB9^AB92D4C0%%media.tpl.php(8): oxSuperCfg->__call(‘getFileUrl’, Array)
#1 /homepages/…/tmp/smarty/3deab012ebab619f49254c3e9efac273^%%AB^AB9^AB92D4C0%%media.tpl.php(8): oePayPalOxArticle->getFileUrl()
#2 /homepages/…/core/smarty/Smarty.class.php(1870): include(’/homepages/10/d…’)
#3 /homepages/…/tmp/smarty/3deab012ebab619f49254c3e9efac273^%%F5^F50^F500F10E%%tabs.tpl.php(76): Smarty->_smarty_include(Array)
#4 /homepages/…/core/smarty/Smarty.class.php(1870): include(’/homepages/10/d…’)
#5 /homepages/…/tmp/smarty/3deab012ebab619f49254c3e9efac273^%%A5^A59^A595DDB8%%fullproductinfo.tpl.php(15): Smarty->_smarty_include(Array)
#6 /homepages/…/core/smarty/Smarty.class.php(1870): include(’/homepages/10/d…’)
#7 /homepages/…/tmp/smarty/3deab012ebab619f49254c3e9efac273^%%79^790^7907FF72%%details.tpl.php(88): Smarty->_smarty_include(Array)
#8 /homepages/…/core/smarty/Smarty.class.php(1264): include(’/homepages/10/d…’)
#9 /homepages/…/core/oxshopcontrol.php(508): Smarty->fetch(‘widget/product/…’, ‘ox|0|0|0|0’)
#10 /homepages/…/core/oxshopcontrol.php(353): oxShopControl->_render(Object(oePayPalOxwArticleDetails))
#11 /homepages/…/core/oxshopcontrol.php(126): oxShopControl->_process(‘oxwarticledetai…’, NULL, Array, Array)
#12 /homepages/…/core/oxwidgetcontrol.php(73): oxShopControl->start(‘oxwarticledetai…’, NULL, Array, Array)
#13 /homepages/…/core/smarty/plugins/function.oxid_include_widget.php(55): oxWidgetControl->start(‘oxwarticledetai…’, NULL, Array, Array)
#14 /homepages/…/tmp/smarty/3deab012ebab619f49254c3e9efac273^%%08^08A^08ABD53A%%details.tpl.php(10): smarty_function_oxid_include_widget(Array, Object(Smarty))
#15 /homepages/…/core/smarty/Smarty.class.php(1264): include(’/homepages/10/d…’)
#16 /homepages/…/core/oxshopcontrol.php(508): Smarty->fetch(‘page/details/de…’, ‘ox|0|0|0|0|cf8d…’)
#17 /homepages/…/core/oxshopcontrol.php(353): oxShopControl->_render(Object(oeThemeSwitcherDetails))
#18 /homepages/…/core/oxshopcontrol.php(126): oxShopControl->_process(‘details’, NULL, NULL, NULL)
#19 /homepages/…/oxid.php(40): oxShopControl->start()
#20 /homepages/…/index.php(26): Oxid::run()
#21 /homepages/…/oxseo.php(44): require(’/homepages/10/d…’)
#22 {main}
Faulty component
Seltsam, das sollte eigentlich bei neuen Artikeln nicht auftreten, da das Feld oxarticles/oxfile dort eigentlich leer sein sollte. Schnelle Lösung ist dennoch aus der Datei application\views\azure pl\page\details\inc\media.tpl den Teil
[{if $oDetailsProduct->oxarticles__oxfile->value}]
<a id="productFile" class="js-external" href="[{$oDetailsProduct->getFileUrl()}][{$oDetailsProduct->oxarticles__oxfile->value}]">[{$oDetailsProduct->oxarticles__oxfile->value}]</a>
[{/if}]
zu löschen.
Scully
July 23, 2015, 2:45pm
8
BOOOMBE! Vielen DANK für die Hilfe. Hat einwandfrei funktioniert.
ju3010
August 13, 2015, 10:02am
9
Ich habe das gleich Probleme und komme nicht mehr weiter, wer kann mir helfen. Hier mein Exception_LOG.txt
oxSystemComponentException-oxException (time: 2015-08-13 09:44:11): [0]: Function 'getAssignedProduktBadges' does not exist or is not accessible! (oePayPalOxwArticleDetails)
Stack Trace: #0 /www/htdocs/w013719e/tmp/smarty/ae0aa95c1880778616e8ae3ca5611d12^%%5E^5E9^5E9B9D5B%%productmain.tpl.php(7): oxSuperCfg->__call('getAssignedProd...', Array)
#1 /www/htdocs/w013719e/tmp/smarty/ae0aa95c1880778616e8ae3ca5611d12^%%5E^5E9^5E9B9D5B%%productmain.tpl.php(7): oePayPalOxwArticleDetails->getAssignedProduktBadges()
#2 /www/htdocs/w013719e/core/smarty/Smarty.class.php(1870): include('/www/htdocs/w01...')
#3 /www/htdocs/w013719e/tmp/smarty/ae0aa95c1880778616e8ae3ca5611d12^%%A5^A59^A595DDB8%%fullproductinfo.tpl.php(7): Smarty->_smarty_include(Array)
#4 /www/htdocs/w013719e/core/smarty/Smarty.class.php(1870): include('/www/htdocs/w01...')
#5 /www/htdocs/w013719e/tmp/smarty/ae0aa95c1880778616e8ae3ca5611d12^%%79^790^7907FF72%%details.tpl.php(88): Smarty->_smarty_include(Array)
#6 /www/htdocs/w013719e/core/smarty/Smarty.class.php(1264): include('/www/htdocs/w01...')
#7 /www/htdocs/w013719e/core/oxshopcontrol.php(508): Smarty->fetch('widget/product/...', 'ox|0|0|0|0')
#8 /www/htdocs/w013719e/core/oxshopcontrol.php(353): oxShopControl->_render(Object(oePayPalOxwArticleDetails))
#9 /www/htdocs/w013719e/core/oxshopcontrol.php(126): oxShopControl->_process('oxwarticledetai...', NULL, Array, Array)
#10 /www/htdocs/w013719e/core/oxwidgetcontrol.php(73): oxShopControl->start('oxwarticledetai...', NULL, Array, Array)
#11 /www/htdocs/w013719e/core/smarty/plugins/function.oxid_include_widget.php(55): oxWidgetControl->start('oxwarticledetai...', NULL, Array, Array)
#12 /www/htdocs/w013719e/tmp/smarty/ae0aa95c1880778616e8ae3ca5611d12^%%08^08A^08ABD53A%%details.tpl.php(10): smarty_function_oxid_include_widget(Array, Object(Smarty))
#13 /www/htdocs/w013719e/core/smarty/Smarty.class.php(1264): include('/www/htdocs/w01...')
#14 /www/htdocs/w013719e/core/oxshopcontrol.php(508): Smarty->fetch('page/details/de...', 'ox|0|0|0|0|0bca...')
#15 /www/htdocs/w013719e/core/oxshopcontrol.php(353): oxShopControl->_render(Object(oeThemeSwitcherDetails))
#16 /www/htdocs/w013719e/core/oxshopcontrol.php(126): oxShopControl->_process('details', NULL, NULL, NULL)
#17 /www/htdocs/w013719e/core/oxid.php(40): oxShopControl->start()
#18 /www/htdocs/w013719e/index.php(28): Oxid::run()
#19 /www/htdocs/w013719e/oxseo.php(44): require('/www/htdocs/w01...')
#20 {main}
Faulty component -->
---------------------------------------------
was für Module hast du im Shop?
ju3010
August 13, 2015, 10:45am
11
Paypal und paypalplus das aber noch nicht angezeigt wird. ich habe den shop umgezogen.
danach kamen die Probleme
da fehlt definitiv ein Modul.
Hattest du vor dem Umzug irgendwas, was jetzt nicht mehr da ist? Irgendwas mit Bewertungen oder Marketingzeugs für Produkte? Welche Shop Version ist das? Und welches Template?
Jetzt fehlt definitiv die Funktion “getAssignedProduktBadges”, das ist aber keine standard Funktion von OXID
Versuch folgendes:
Plan A:
Ordner tmp/ leeren
Seite neuladen
Plan B:
schau mal in application/views/dein theme /tpl/page/details/inc/productmain.tpl ob du dort irgendwo “getAssignedProduktBadges” findest.
Poste hier mal die Stelle, wo das ist + 5 Zeilen davor und 15 Zeilen danach
ju3010
August 13, 2015, 11:05am
13
Steht ganz oben in der Datei
<ul>
[{foreach from=$oView->getAssignedProduktBadges() item=bezeichnung}]
<li>[{$bezeichnung}]</li>
[{/foreach}]
</ul>
[{assign var=“aVariantSelections” value=$oView->getVariantSelections()}]
[{if $aVariantSelections && $aVariantSelections.rawselections}]
[{assign var="_sSelectionHashCollection" value=""}]
[{foreach from=$aVariantSelections.rawselections item=oSelectionList key=iKey}]
[{assign var="_sSelectionHash" value=""}]
[{foreach from=$oSelectionList item=oListItem key=iPos}]
[{assign var="_sSelectionHash" value=$_sSelectionHash|cat:$iPos|cat:":"|cat:$oListItem.hash|cat:"|"}]
[{/foreach}]
[{if $_sSelectionHash}]
[{if $_sSelectionHashCollection}][{assign var="_sSelectionHashCollection" value=$_sSelectionHashCollection|cat:","}][{/if}]
[{assign var="_sSelectionHashCollection" value=$_sSelectionHashCollection|cat:"’$_sSelectionHash
’"}]
[{/if}]
[{/foreach}]
[{oxscript add=“oxVariantSelections = [$_sSelectionHashCollection
];”}]
nimm das mal raus
<ul>
[{foreach from=$oView->getAssignedProduktBadges() item=bezeichnung}]
<li>[{$bezeichnung}]</li>
[{/foreach}]
</ul>
dann tmp/ leeren und neuladen
ju3010
August 13, 2015, 11:07am
15
habe die obere Zeile gelöscht.
Nun funktioniert ist…