Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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());

Posted

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');

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...