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

Shopping cart Error
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Kia Ora

When Ever I view the Shopping cart I get the following Error

Warning: Mage_Core_Block_Template::include(/home/stone/public_html/app/design/frontend/greenstone_theme_one/default/template/checkout/cart/shipping.phtml) [function.Mage-Core-Block-Template-include]: failed to open stream: No such file or directory in /home/stone/public_html/app/code/core/Mage/Core/Block/Template.php on line 118

It seems that the template file that the Mage_Core_Block_Template tries to call does not exsist well iknow for a fact it does not

it should read

(/home/stone/public_html/app/design/frontend/greenstone_theme_one/greenstone/template/checkout/cart/shipping.phtml)

greenstone is the folder that should be getting called not default

How can I change this and or why has this happened

Ok I hacked the problem

added a default folder with the appropriate files into my current theme folder

E.G.  /greenstone_theme_one/default/template/checkout/cart/shipping.phtml

the rest of the themes files are pulled from

E.G.  /greenstone_theme_one/greenstone/template/checkout/cart/shipping.phtml

and the problem has resolved although this makes me feel uncomfortable as it is a hack

why in the first place is the Mage_Core_Block_Template calling the folder of my custom theme and default theme see highlight below

Warning: Mage_Core_Block_Template::include(/home/stone/public_html/app/design/frontend/greenstone_theme_one/default/template/checkout/cart/shipping.phtml) [function.Mage-Core-Block-Template-include]: failed to open stream: No such file or directory in /home/stone/public_html/app/code/core/Mage/Core/Block/Template.php on line 118

it should be calling the folder marked red below

(/home/stone/public_html/app/design/frontend/greenstone_theme_one/greenstone/template/checkout/cart/shipping.phtml)

Can some one from Magento shed some light on this please wink

Regards Bill007 http://www.euphorish.com web design

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

I have resolved the problem Temporarly look above

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