I just got started in my E-commerce book and am getting this error from the author's code...
ERRNO: 8
TEXT: Undefined index: resource_name
LOCATION: /Users/user1/Documents/DEV/+htdocs/tshirtshop/libs/smarty/internals/core.assemble_plugin_filepath.php, line 21, at August 16, 2009, 12:43 am
Showing backtrace:
smarty_core_assemble_plugin_filepath(Array[2], Object: Application) # line 1368, file: /Users/user1/Documents/DEV/+htdocs/tshirtshop/libs/smarty/Smarty.class.php
Smarty._get_plugin_filepath("type", "name") # line 1143, file: /Users/user1/Documents/DEV/+htdocs/tshirtshop/libs/smarty/Smarty.class.php
Smarty.fetch("store_front.tpl", null, null, true) # line 1106, file: /Users/user1/Documents/DEV/+htdocs/tshirtshop/libs/smarty/Smarty.class.php
Smarty.display("store_front.tpl") # line 16, file: /Users/user1/Documents/DEV/+htdocs/tshirtshop/index.php
This error was thrown - ironically from an error handler he suggested using.
I am new to PHP and OOP and have no idea where to begin debugging since this is NOT MY CODE?!
I wanted to attach a ZIP of my directory structure and files, but it is 171 KB and PHP Builder says that is too big?!
I am hoping someone can help me easily figure this out.
If not, I'm stuck in Chapter 3 for eternity?! :rolleyes:
Thanks,
Amy