Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing Header Tags Controller v2.2


richard978

Recommended Posts

Posted

Tried installing Header Tags Controller V2.2...getting this error on the home page:

 

Notice: Use of undefined constant DIR_WS_FUNCTIONS - assumed 'DIR_WS_FUNCTIONS' in c:\program files\apache group\apache\htdocs\catalog\includes\application_top.php on line 15

 

Warning: main(DIR_WS_FUNCTIONSheader_tags.php): failed to open stream: No such file or directory in c:\program files\apache group\apache\htdocs\catalog\includes\application_top.php on line 15

 

Fatal error: main(): Failed opening required 'DIR_WS_FUNCTIONSheader_tags.php' (include_path='.;c:\php4\pear') in c:\program files\apache group\apache\htdocs\catalog\includes\application_top.php on line 15

 

 

Anyone have any ideas????

 

 

I'm stuck.

Posted

// 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

 

 

When you add the code above to /catalog/includes/application_top.php, don't add it at the top of the page. Instead, add it at the bottom.

 

I got a similar error as you, but it was fixed when I moved this code to the bottom.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...