Riedborn Posted July 24, 2003 Posted July 24, 2003 Hi, I got the following error - can anyone help me? Wolfgang ------------------------------- Fatal error: Failed opening required 'DIR_WS_FUNCTIONSheader_tags.php' (include_path='.:..') in /home/riedborn-apotheke/www/catalog/includes/application_top.php on line 19 ------------------------------- My code in applicaton_top.php: <?php /* $Id: application_top.php,v 1.264 2003/02/17 16:37:52 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // CATALOG_PRODUCTS_WITH_IMAGES_mod # START Printable Catalog V 2.3 define('FILENAME_CATALOG_PRODUCTS_WITH_IMAGES', 'catalog_products_with_images.php'); # END Printable Catalog V 2.3 // BOF: WebMakers.com Added: Header Tags Controller v1.0 require(DIR_WS_FUNCTIONS . 'header_tags.php'); // Clean out HTML comments from ALT tags etc. require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // Also used by: WebMakers.com Added: FREE-CALL FOR PRICE // EOF: WebMakers.com Added: Header Tags Controller v1.0 // start the timer for the page parse time log define('PAGE_PARSE_START_TIME', microtime()); Quote
Guest Posted July 24, 2003 Posted July 24, 2003 Try replacing: // BOF: WebMakers.com Added: Header Tags Controller v1.0 require(DIR_WS_FUNCTIONS . 'header_tags.php'); // Clean out HTML comments from ALT tags etc. require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); with: // BOF: WebMakers.com Added: Header Tags Controller v1.0 require('includes/functions/header_tags.php'); // Clean out HTML comments from ALT tags etc. require('includes/functions/clean_html_comments.php'); Quote
VJ Posted July 25, 2003 Posted July 25, 2003 Hi Wolfgang, Just make sure that you add the code, // BOF: WebMakers.com Added: Header Tags Controller v1.0 require(DIR_WS_FUNCTIONS . 'header_tags.php'); // Clean out HTML comments from ALT tags etc. require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // Also used by: WebMakers.com Added: FREE-CALL FOR PRICE // EOF: WebMakers.com Added: Header Tags Controller v1.0 anywhere after the following code (in application_top.php), // include server parameters require('includes/configure.php'); The definition, DIR_WS_FUNCTIONS is defined in configure.php, so it only makes sense when it comes after the inclusion of configure.php. Hope this helps, VJ Quote
Riedborn Posted July 25, 2003 Author Posted July 25, 2003 VJ -> Thats it! Thanks a lot!!! Wolfgang Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.