A question about learning to interpret error messages:
How can I tell that the error message below is telling me that I'm missing a define? Is there something specific in there that points me in that direction, or does it just come with time and learning?
Code:[31-Mar-2012 22:09:27] PHP Warning: include(includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /***/***/public_html/***/includes/templates/atestcustom/templates/tpl_modules_recent_products.php on line 12 [31-Mar-2012 22:09:27] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /***/***/public_html/***/includes/templates/atestcustom/templates/tpl_modules_recent_products.php on line 12
Note that I've already made the following changes, yet the error remains the same:
Changed includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php
to
includes/modules/FILENAME_RECENT_PRODUCTS.php
and
Changed line 12 of /includes/templates/atestcustom/templates/tpl_modules_recent_products.php from
toPHP Code:include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_RECENT_PRODUCTS_MODULE));
PHP Code:include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_RECENT_PRODUCTS));


Reply With Quote
