Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error adding products to home page? 
 
AFemaleProdigy
Jr. Member
 
Total Posts:  13
Joined:  2009-02-18
 

Hello.  I am trying to add products to my home page using this tutorial....

http://www.vimeo.com/1070986

But, I am getting the following error message.  Can someone tell me what is causing this error?

Warning: include(/home/content/s/s/h/sshost9/html/app/design/frontend/sspackage/default/template/catalog/category/list.phtml[function.include]failed to open streamNo such file or directory  in /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php on line 144
Trace
:
#0 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(144): mageCoreErrorHandler(2, 'include(/home/c...', '/home/content/s...', 144, Array)
#1 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(144): Mage_Core_Block_Template::fetchView()
#2 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/sspack...')
#3 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#4 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#5 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Model/Email/Template/Filter.php(74): Mage_Core_Block_Abstract->toHtml()
#6 [internal function]: Mage_Core_Model_Email_Template_Filter->blockDirective(Array)
#7 /home/content/s/s/h/sshost9/html/lib/Varien/Filter/Template.php(128): call_user_func(Array, Array)
#8 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Cms/Block/Page.php(80): Varien_Filter_Template->filter('
Under Const...') #9 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Cms_Block_Page->_toHtml() #10 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #11 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml() #12 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml() #13 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true) #14 /home/content/s/s/h/sshost9/html/app/design/frontend/sspackage/default/template/page/2columns-right.phtml(56): Mage_Core_Block_Abstract->getChildHtml('content') #15 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/content/s...') #16 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('frontend/sspack...') #17 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #18 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #19 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml() #20 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Controller/Varien/Action.php(339): Mage_Core_Model_Layout->getOutput() #21 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Cms/Helper/Page.php(86): Mage_Core_Controller_Varien_Action->renderLayout() #22 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Cms/controllers/IndexController.php(32): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home') #23 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Controller/Varien/Action.php(367): Mage_Cms_IndexController->indexAction() #24 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(247): Mage_Core_Controller_Varien_Action->dispatch('index') #25 /home/content/s/s/h/sshost9/html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #26 /home/content/s/s/h/sshost9/html/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch() #27 /home/content/s/s/h/sshost9/html/index.php(52): Mage::run() #28 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
AFemaleProdigy
Jr. Member
 
Total Posts:  13
Joined:  2009-02-18
 

anyone? help please?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ckosny
Guru
 
Total Posts:  349
Joined:  2009-02-28
Luxembourg
 

Hi there

The folder name ‘sspackage’ mentioned in the error message indicates that you played around with the default theme. So most likely you deleted some important files (in this case the list.phtml, which is responsible for the product listing) in your theme. Grab yourself a fresh copy of magento and unzip it somewhere. Then go to the folder
app/design/frontend/default/default/template/catalog/category/
and copy the list.phtml into the same folder in your design package.

You might also want to read the designer guide to learn how you can have your own design, but still use the magento files as backup (default) design

Good luck

Claudia

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