Guest Posted December 9, 2003 Share Posted December 9, 2003 Q1. I am a bit confused with the instructions on which files to modify. The instructions say "Modify a line in all files ( approximately 35 files )..." Then it says "Replace the existing line in all files that you want to use the Header Tags Controller" If I only what to change the metatags for "products_new.php", and "product_info.php" do I need to change the other 35+/- files? If I do need to change the 35+/- files why are the file names not given? Q2. When I copied/pasted to the /includes/application_top.php: "// 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" <?php /* $Id: application_top.php,v 1.280 2003/07/12 09:38:07 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // 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()); I got the following error: Warning: main(DIR_WS_FUNCTIONSheader_tags.php): failed to open stream: No such file or directory in /home/cleanhit/public_html/includes/application_top.php on line 14 Fatal error: main(): Failed opening required 'DIR_WS_FUNCTIONSheader_tags.php' (include_path='.:/usr/local/lib/php') in /home/cleanhit/public_html/includes/application_top.php on line 14 Can you tell what I copy/pasted wrong? I know when instructions are given there is a certain level of ability expected and sometimes people assume others understand the implied steps. Although I have spent the majority of a month reading everything I can on OSC I pretty much can just follow steps, with no assumetions. I am helping a friend who has a video store get online. I now realize I am way over my head. :( I am doing my very best to learn and understand. But I should have bought climbing gear for the learning curve. :blink: Thanks again for your help. I would be glad to post any help you give me to the forum if you think it is a good idea. David Gillmore www.cleanhitsvideo.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.