Quantcast
Channel: OXID Community Forum
Viewing all articles
Browse latest Browse all 6951

Function not found

$
0
0
Hey people, it is me again.
Quick question:
in my template (theme), which I currently migrated from 4.6 -> 4.8 i have a function to add articles to my noticelist / wishlist.

If i call this function, the exception log throws this:

PHP Code:

oxSystemComponentException-oxException (time2014-08-01 18:11:22): [0]: ERROR_MESSAGE_SYSTEMCOMPONENT_FUNCTIONNOTFOUND 
 Stack Trace
#0 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/core/oxutilsobject.php(184): oxUtilsObject->_getObject('oxsystemcompone...', 0, Array)
#1 [internal function]: oxUtilsObject->oxNew('oxSystemCompone...')
#2 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/core/oxfunctions.php(374): call_user_func_array(Array, Array)
#3 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/core/oxview.php(540): oxNew('oxSystemCompone...')
#4 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/core/oxshopcontrol.php(336): oxView->executeFunction('tonoticelist')
#5 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/core/oxshopcontrol.php(115): oxShopControl->_process('oxwarticledetai...', 'tonoticelist', NULL, NULL)
#6 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/core/oxid.php(30): oxShopControl->start()
#7 /var/www/tronet0106/data/www/bestof47.dev12.tro.net/index.php(19): Oxid::run()
#8 {main}

 
Faulty component --> tonoticelist
--------------------------------------------- 

so, i figured out it has something to do with the noticelist, but i can't compare it to the azure theme, since this theme has no option like this in the detail-view :/

Is it even a native oxid-function?

// here is the smarty-part of it

PHP Code:

[{if $oxcmp_user }]
                <
class="merkzettel" id="linkToNoticeList" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl="|cat:$oViewConf->getActiveClassName() params="aid=`$oDetailsProduct->oxarticles__oxnid->value`&amp;anid=`$oDetailsProduct->oxarticles__oxnid->value`&amp;fnc=tonoticelist&amp;am=1"|cat:$oViewConf->getNavUrlParams() }]" rel="nofollow"><span>[{ oxmultilang ident="TRO_DETAILS_ADDTONOTICELIST" }]</span></a>
              [{else}]
                <
class="merkzettel" id="loginToNotice" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account" params="anid=`$oDetailsProduct->oxarticles__oxnid->value`"|cat:"&amp;sourcecl="|cat:$oViewConf->getActiveClassName()|cat:$oViewConf->getNavUrlParams() }]" rel="nofollow"><span>[{ oxmultilang ident="TRO_DETAILS_ADDTONOTICELIST" }]</span></a>
              [{/if}] 


Viewing all articles
Browse latest Browse all 6951

Trending Articles