fuad Posted June 29, 2006 Posted June 29, 2006 I have installed on my store STS and HTC. And right now I want to enter some articles on my site but nothing. All the contribution I install OK. The Admin is OK. But I have this errors, can anyone help me with this. I know you are good. Thanks for your help.- Problems like this: 1.- Infobox in column_right.php dont show. 2.- When you try to enter to see the new articles in http://www.rapicompra.com/tienda/articles_new.php this error appear on the screen: Fatal error: Call to undefined function: clean_html_comments() in /home/rapi/public_html/tienda/includes/article_header_tags.php on line 134 3.- Dont show articles on /tienda/articles.php (and I post 3 articles on admin) Thanks again for your help to all of us..... Fuad Hazboun www.rapicompra.com/tienda/ Quote Peace and Love for all...
Anakin Posted July 28, 2006 Posted July 28, 2006 hi, my first posting.. ;-) try this if this one is not written in your /includes/header_tags.php in the top of the file between this: <?php /* /catalog/includes/header_tags.php WebMakers.com Added: Header Tags Generator v2.0 Add META TAGS and Modify TITLE NOTE: Globally replace all fields in products table with current product name just to get things started: In phpMyAdmin use: UPDATE products_description set PRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME Shoppe Enhancement Controller - Copyright (c) 2003 WebMakers.com Linda McGrath - [email protected] */ and this require(DIR_WS_LANGUAGES . $language . '/' . 'header_tags.php'); put this code: function clean_html_comments($clean_html) { global $its_cleaned; if ( strpos($clean_html,'<!--//*')>1 ) { $the_end1= strpos($clean_html,'<!--//*')-1; $the_start2= strpos($clean_html,'*//-->')+7; $its_cleaned= substr($clean_html,0,$the_end1); $its_cleaned.= substr($clean_html,$the_start2); } else { $its_cleaned= $clean_html; } return $its_cleaned; } and in the install instruction are this comment: Add to /catalog/includes/application_top.php at the end of the file right before the last ?> // BOF: WebMakers.com Added: Header Tags Controller v2.5.7 require(DIR_WS_FUNCTIONS . 'header_tags.php'); // Clean out HTML comments from ALT tags etc. require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // EOF: WebMakers.com Added: Header Tags Controller v2.5.7 if i do this.. i got more errors before.. i don't have this code in my application_top and it works fine.. I have the ultimate SEO contrib installed.. therefor i comment out this in the application_top. good luck. regards Quote
fuad Posted July 28, 2006 Author Posted July 28, 2006 I already fix the problem. Thanks for your help. FUAD hi, my first posting.. ;-) try this if this one is not written in your /includes/header_tags.php in the top of the file between this: <?php /* /catalog/includes/header_tags.php WebMakers.com Added: Header Tags Generator v2.0 Add META TAGS and Modify TITLE NOTE: Globally replace all fields in products table with current product name just to get things started: In phpMyAdmin use: UPDATE products_description set PRODUCTS_HEAD_TITLE_TAG = PRODUCTS_NAME Shoppe Enhancement Controller - Copyright (c) 2003 WebMakers.com Linda McGrath - [email protected] */ and this require(DIR_WS_LANGUAGES . $language . '/' . 'header_tags.php'); put this code: function clean_html_comments($clean_html) { global $its_cleaned; if ( strpos($clean_html,'<!--//*')>1 ) { $the_end1= strpos($clean_html,'<!--//*')-1; $the_start2= strpos($clean_html,'*//-->')+7; $its_cleaned= substr($clean_html,0,$the_end1); $its_cleaned.= substr($clean_html,$the_start2); } else { $its_cleaned= $clean_html; } return $its_cleaned; } and in the install instruction are this comment: Add to /catalog/includes/application_top.php at the end of the file right before the last ?> // BOF: WebMakers.com Added: Header Tags Controller v2.5.7 require(DIR_WS_FUNCTIONS . 'header_tags.php'); // Clean out HTML comments from ALT tags etc. require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // EOF: WebMakers.com Added: Header Tags Controller v2.5.7 if i do this.. i got more errors before.. i don't have this code in my application_top and it works fine.. I have the ultimate SEO contrib installed.. therefor i comment out this in the application_top. good luck. regards Quote Peace and Love for all...
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.