Magento Forum

   
Error in admin
 
rmastako
Jr. Member
 
Total Posts:  8
Joined:  2012-03-20
 

Im getting this error message when I go to Sales > Connect Affiliate to Order:

Fatal error: require_once() [function.require]: Failed opening required \’PAP/PapApi.class.php\’ (include_path=\’/ebs/dev/app/code/local:/ebs/dev/app/code/community:/ebs/dev/app/code/core:/ebs/dev/lib:.:\’) in /ebs/dev/app/code/local/Mage/Pap/Model/Config.php on line 142

Any ideas what\’s wrong?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageGuys
Guru
 
Avatar
Total Posts:  380
Joined:  2008-06-07
 

Sounds like you\’re missing the API file. Most likely this was caused by improper installation. This isn\’t a big deal because you\’ll want to update your API file anyway. See http://www.magentocommerce.com/boards/viewthread/197113/#t253614 for more instructions.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rmastako
Jr. Member
 
Total Posts:  8
Joined:  2012-03-20
 

Thanks for the quick help.

Can you give me the full directory path of where to put that api php file?  I’ve looked everywhere and can’t find it.  Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rmastako
Jr. Member
 
Total Posts:  8
Joined:  2012-03-20
 

Sorry to be a pain, really need to fix this one!

Can you give me the full directory path of where to put that api php file?  Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rmastako
Jr. Member
 
Total Posts:  8
Joined:  2012-03-20
 

Please help!  Going live soon!

 
Magento Community Magento Community
Magento Community
Magento Community
 
rmastako
Jr. Member
 
Total Posts:  8
Joined:  2012-03-20
 

Ok, I figured that part out and replaced that api php file with a new one from PAP.

Now, I can get to “Connect an affiliate to an order” but I can’t get to “affiliate orders.”

I get “There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1308468333326”

Any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
rmastako
Jr. Member
 
Total Posts:  8
Joined:  2012-03-20
 

Full error message:

RPC Execution exception: Permission denied: Pap_Merchants_Transaction_TransactionsGrid->getRows()|

Trace:
#0 /ebs/dev/lib/PAP/PapApi.class.php(746): Gpf_Rpc_MultiRequest->send()
#1 /ebs/dev/app/code/local/Mage/Pap/Model/Papapi/Collection/Abstract.php(303): Gpf_Rpc_Request->sendNow()
#2 /ebs/dev/lib/Varien/Data/Collection.php(225): Mage_Pap_Model_Papapi_Collection_Abstract->getSize()
#3 /ebs/dev/lib/Varien/Data/Collection.php(211): Varien_Data_Collection->getLastPageNumber()
#4 /ebs/dev/app/code/local/Mage/Pap/Model/Papapi/Collection/Abstract.php(577): Varien_Data_Collection->getCurPage()
#5 /ebs/dev/app/code/local/Mage/Pap/Model/Papapi/Collection/Abstract.php(192): Mage_Pap_Model_Papapi_Collection_Abstract->_renderLimit()
#6 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(526): Mage_Pap_Model_Papapi_Collection_Abstract->load()
#7 /ebs/dev/app/code/local/Mage/Pap/Block/Adminhtml/Pap/Grid.php(36): Mage_Adminhtml_Block_Widget_Grid->_prepareCollection()
#8 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(618): Mage_Pap_Block_Adminhtml_Pap_Grid->_prepareCollection()
#9 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(624): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid()
#10 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(862): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml()
#11 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#12 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml(’grid’, true)
#13 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Container.php(77): Mage_Core_Block_Abstract->getChildHtml(’grid’)
#14 /ebs/dev/app/design/adminhtml/default/default/template/widget/grid/container.phtml(36): Mage_Adminhtml_Block_Widget_Grid_Container->getGridHtml()
#15 /ebs/dev/app/code/core/Mage/Core/Block/Template.php(241): include(’/ebs/dev/app/de...’)
#16 /ebs/dev/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#17 /ebs/dev/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#18 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#19 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(308): Mage_Adminhtml_Block_Template->_toHtml()
#20 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Adminhtml_Block_Widget_Container->_toHtml()
#21 /ebs/dev/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#22 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#23 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#24 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml(’content’, true)
#25 /ebs/dev/app/design/adminhtml/default/default/template/page.phtml(74): Mage_Core_Block_Abstract->getChildHtml(’content’)
#26 /ebs/dev/app/code/core/Mage/Core/Block/Template.php(241): include(’/ebs/dev/app/de...’)
#27 /ebs/dev/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#28 /ebs/dev/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#29 /ebs/dev/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#30 /ebs/dev/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Adminhtml_Block_Template->_toHtml()
#31 /ebs/dev/app/code/core/Mage/Core/Model/Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#32 /ebs/dev/app/code/core/Mage/Core/Controller/Varien/Action.php(391): Mage_Core_Model_Layout->getOutput()
#33 /ebs/dev/app/code/local/Mage/Pap/controllers/Adminhtml/PapController.php(53): Mage_Core_Controller_Varien_Action->renderLayout()
#34 /ebs/dev/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Pap_Adminhtml_PapController->manageAction()
#35 /ebs/dev/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch(’manage’)
#36 /ebs/dev/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#37 /ebs/dev/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#38 /ebs/dev/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#39 /ebs/dev/index.php(80): Mage::run(’’, ‘store’)
#40 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top