Jack_mcs Posted April 16, 2006 Share Posted April 16, 2006 From looking at your source code for the product_info page, it appears you have not installed the Header Tags in that file. Please re-read the Install_Catalog.txt file again. By the way, this should be verified by the name of that section in admin->Header Tags->Text Control being listed in red. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
djrino Posted April 16, 2006 Share Posted April 16, 2006 Hi i have serchad on the forum but i have not resolved my problemem thereis my error Parse error: parse error, unexpected T_STRING in /home/fernan/public_html/loja/includes/header_tags.php on line 345 Any help is apreciate many tnx Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 16, 2006 Share Posted April 16, 2006 Look at that line in that file. The error is saying there is some mistake there. Probably an apostrophe without a \ before it. If you can't find it, post lines 340 - 350 here. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
djrino Posted April 16, 2006 Share Posted April 16, 2006 Hi many tnx for your reply there is mi code // about_us.PHP - was default.php case (strstr($_SERVER['PHP_SELF'],FILENAME_ABOUT_US) or strstr($PHP_SELF, FILENAME_ABOUT_US) ): $tags_array = tep_header_tag_page(HTTA_ABOUTUS_ON, HEAD_TITLE_TAG_ABOUTUS, HTDA_ABOUTUS_ON, HEAD_DESC_TAG_ABOUTUS, HTKA_ABOUTUS_ON, HEAD_KEY_TAG_ABOUTUS ); break; // 1200-efeitos-sonoros-para-edicao-frete-gratis-p-82.html.php case (strstr($_SERVER['PHP_SELF'],FILENAME_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML) or strstr($PHP_SELF, FILENAME_1200-EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML)); $tags_array = tep_header_tag_page(HTTA_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML_ON, HEAD_TITLE_TAG_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML, HTDA_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML_ON, HEAD_DESC_TAG_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML, HTKA_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML_ON, HEAD_KEY_TAG_1200- EFEITOS-SONOROS-PARA-EDICAO-FRETE-GRATIS-P-82.HTML ); break; // .php case (strstr($_SERVER['PHP_SELF'],FILENAME_) or strstr($PHP_SELF, FILENAME_)); $tags_array = tep_header_tag_page(HTTA__ON, HEAD_TITLE_TAG_, HTDA__ON, HEAD_DESC_TAG_, HTKA__ON, HEAD_KEY_TAG_ ); break; // ALL OTHER PAGES NOT DEFINED ABOVE default: $tags_array['desc'] = HEAD_DESC_TAG_ALL; $tags_array['keywords'] = HEAD_KEY_TAG_ALL; $tags_array['title'] = HEAD_TITLE_TAG_ALL; break; } now i have other error when i go to admin categori product (to ad a new product) Parse error: parse error, unexpected T_CASE in /home/fernan/public_html/loja/admin/categories.php on line 1039 if ypu want i post my categories.php Many tnx for help Quote Link to comment Share on other sites More sharing options...
ras Posted April 16, 2006 Share Posted April 16, 2006 hello Jack I am trying to instal the v 2.5.7 and in the instuction it says "In admin/includes/languages/english/manufacturers.php FIND (about line 46) for ($i=0, $n=sizeof($languages); $i<$n; $i++) { $manufacturers_url_array = $HTTP_POST_VARS['manufacturers_url']; " i only have 42 lines in my manufacturers.php lol how can it be ? here is my file : define('HEADING_TITLE', 'Manufacturers'); define('TABLE_HEADING_MANUFACTURERS', 'Manufacturers'); define('TABLE_HEADING_ACTION', 'Action'); define('TEXT_HEADING_NEW_MANUFACTURER', 'New Manufacturer'); define('TEXT_HEADING_EDIT_MANUFACTURER', 'Edit Manufacturer'); define('TEXT_HEADING_DELETE_MANUFACTURER', 'Delete Manufacturer'); define('TEXT_MANUFACTURERS', 'Manufacturers:'); define('TEXT_DATE_ADDED', 'Date Added:'); define('TEXT_LAST_MODIFIED', 'Last Modified:'); define('TEXT_PRODUCTS', 'Products:'); define('TEXT_IMAGE_NONEXISTENT', 'IMAGE DOES NOT EXIST'); define('TEXT_NEW_INTRO', 'Please fill out the following information for the new manufacturer'); define('TEXT_EDIT_INTRO', 'Please make any necessary changes'); define('TEXT_MANUFACTURERS_NAME', 'Manufacturers Name:'); define('TEXT_MANUFACTURERS_IMAGE', 'Manufacturers Image:'); define('TEXT_MANUFACTURERS_URL', 'Manufacturers URL:'); define('TEXT_DELETE_INTRO', 'Are you sure you want to delete this manufacturer?'); define('TEXT_DELETE_IMAGE', 'Delete manufacturers image?'); define('TEXT_DELETE_PRODUCTS', 'Delete products from this manufacturer? (including product reviews, products on special, upcoming products)'); define('TEXT_DELETE_WARNING_PRODUCTS', '<b>WARNING:</b> There are %s products still linked to this manufacturer!'); define('ERROR_DIRECTORY_NOT_WRITEABLE', 'Error: I can not write to this directory. Please set the right user permissions on: %s'); define('ERROR_DIRECTORY_DOES_NOT_EXIST', 'Error: Directory does not exist: %s'); ?> Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 16, 2006 Share Posted April 16, 2006 Himany tnx for your reply there is mi code now i have other error when i go to admin categori product (to ad a new product) Parse error: parse error, unexpected T_CASE in /home/fernan/public_html/loja/admin/categories.php on line 1039 if ypu want i post my categories.php Many tnx for help What version are you using? The filename you entered is "1200-efeitos-sonoros-para-edicao-frete-gratis-p-82.html.php," which I doubt is a valid name. Version 2.5.7 should have caught this. In any case, you need to remove that section of code from the includes/header_tags.php and includes/languages/english/header_tags.php files and try again. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 16, 2006 Share Posted April 16, 2006 hello JackI am trying to instal the v 2.5.7 and in the instuction it says "In admin/includes/languages/english/manufacturers.php Try admin/manufacturers.php. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
bobsi18 Posted April 17, 2006 Share Posted April 17, 2006 (edited) Hi there... #1 - Great Contrib, wasn't too hard to instal at all, and haven't had any probs so far - THANKS!!! #2 - I wanted to changed the way the title is displayed, (I wanted to change it to Site Name: Category Name), but after reading many posts about this, have decided this isn't benificial... However... I'd love to be able to put a little description (about 5 words) in the title of the main index page only. i.e. any page that doesn't have a category name or product name. Is this possible? Many Thanks ~barbara~ Edited April 17, 2006 by bobsi18 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 17, 2006 Share Posted April 17, 2006 In admin->Header Tags->Text Control is a section named index. That holds the title and meta tag information for the home page. So just change it there and click update. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
muskokee Posted April 17, 2006 Share Posted April 17, 2006 The problem isn't with Header Tags since without that code in the file, Header Tags is ignored. Jack Jack, thanks for helping me to track down the error! Found the error which had nothing to do with HTC :blush: but everything to do with my own mod :-" Sheri Quote Link to comment Share on other sites More sharing options...
bobsi18 Posted April 17, 2006 Share Posted April 17, 2006 In admin->Header Tags->Text Control is a section named index. That holds the title and meta tag information for the home page. So just change it there and click update. Jack Hi Jack, Thanks for the fast reply... Howewver, what I'm trying to do is modify the title just for the main homepage. For index.php I have: Category name - Site name. When I click on a category (eg 'DVD Movies'), the title becomes: DVD Movies - My Oscommerce site When I click on the catalog page (the top page), the title becomes: - My Oscommerce site I just wondering if there's someway that I can change it, so if the page is top level, it displays: Short Description - My Oscommerce site; otherwise (if it's not top level): Category name - Site name. Is this possible? Thanks, ~Barbara~ Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 17, 2006 Share Posted April 17, 2006 For the home page, the displayed title will be what's in the title box in the index section in Text Control. If you check the HTTA box, then the default title is appended to it. For the other two sections of the index page, the displayed title will be what's in the category title tag as set in admin->Catalog. If the HTTA box is checked, then the default title is appended to it. So if the default title is "My Site", then index title section has "This is" and a category has "Not," then the title for the home page would either be This is or This is My Site (depending upon HTTA) and the title for the category page would be either Not or Not My Site (depending upon HTTA). If you want something other than those combinations, then uncheck HTTA, and type in the full name you want for the home page in the index section and the full name you want for the category in the catalog->category section. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Tintenmann Posted April 17, 2006 Share Posted April 17, 2006 (edited) Hello! i have installed HTC 2.5.7 At the categories it works fine, for the product i have some problems: Title Tag is ok Keywords witch wil be added by the product, will be displayed as description (!!) The added description will not be displayed The displayed Keywords are only the default keywords here some screenshots: What can i have done wrong?? Thanks for any help Tintenmann Edited April 17, 2006 by Tintenmann Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 17, 2006 Share Posted April 17, 2006 Try using the categories.php file that comes with the contribution to be sure the problem is in that file. If it is, then you will need to compare the two to find the problem. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
ladybird Posted April 18, 2006 Share Posted April 18, 2006 Hello, I installed STS plus & now tring HeaderTags_V_2.5.7. I have everything installed as described in download. My Headers do not change. I have the admin side working normaly so i can add my header txt. I don't have any errors but don't have the header tags as entered in admin shown on my site. I can type and save all changes but when i open catalog nothing happens. installed contributions STS plus and header tags. PLEASE HELP SOMEONE! thank you in advance. My Site... -ladybird Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2006 Share Posted April 18, 2006 You should ask in the STS Plus support thread. Someone asked this question a page or two back and I think what was determined was that a file is required for this to work. It was apparently uploaded to the Header Tags contribution section but then deleted by the team. So you need to find out what is required and where to get it. Those answers should come from the other support thread. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
ladybird Posted April 18, 2006 Share Posted April 18, 2006 You should ask in the STS Plus support thread. Someone asked this question a page or two back and I think what was determined was that a file is required for this to work. It was apparently uploaded to the Header Tags contribution section but then deleted by the team. So you need to find out what is required and where to get it. Those answers should come from the other support thread. Jack Thanks Jack, I was able to find the answer burried in another post on the sts plus forum: In sequence and best to install fresh:1. Install STS Plus 2. Install Header Tags Controller Do not install anything else other than admin_install and sql. 3. Install STS Plus Module for HTC Follow all directions. 4. Go to \includes\header_tags.php and insert at the very top: require(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2006 Share Posted April 18, 2006 Great. Thanks for posting it here since I'm sure others will have the same problem. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
241 Posted April 18, 2006 Share Posted April 18, 2006 Hi Jack I am having the same issue as Tintenmann with version 2.5.7 As the database is being populated via the fill tags and also by using the use product description with character limit, I think that the issue is with catalog/includes/header_tags.php as this file depicts what is used in the catalog side. I notice the changes from previous versions and there does not seem to be HEAD_DESC_TAG_KEY HEAD_KEY_TAG_KEY should these be HEAD_DESC_TAG_ALL HEAD_KEY_TAG_ALL and should this line $tags_array['desc']= $the_product_info['products_head_keywords_tag']; be $tags_array['keywords']= $the_product_info['products_head_keywords_tag']; Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2006 Share Posted April 18, 2006 Thanks for pointing those out Steve. You are correct - they are mistakes. I have uploaded a changed package so future installs won't be broken. Anyone that has insalled V 2.5.7 should replace their includes/header_tags.php file with the one from the contribution. If you have altered that file, then you should compare it to make changes or just make the changes Steve mentioned. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Tintenmann Posted April 18, 2006 Share Posted April 18, 2006 Hi Jack, now it works also for me! Thanks! One idea for the future: If have a top categorie with sub categorie in some levels, it will be great if you can add the name of all higher categorie as keywords in the lowest sub categorie ans also in all products of this categorie. Sorry for my english, i hope you understand. Example: Topcategorie (Keywords: topcategorie) Subcategorie level 1 (Keywords: topcategorie, subcategorie level 1) Subcategorie level 2 (Keywords: topcategorie, subcategorie level 1, subcategorie level 2) Subcategorie level 3 (Keywords: topcategorie, subcategorie level 1, subcategorie level 2, subcategorie level 3) Product in SubCat 3 (Keywords: topcategorie, subcategorie level 1, subcategorie level 2, subcategorie level 3, Productname) and so on Thanks again Tintenmann Quote Link to comment Share on other sites More sharing options...
coxj2901 Posted April 18, 2006 Share Posted April 18, 2006 Hi All, I downloaded the install header tags file and uploaded the database_setup.php file to my root directory and typed http://www.officialvinyl.com/database_setup.php into my browser and the following error message came up. Does anyone know why this won't install ? 1146 - Table 'coxj2901_shop.PRODUCTS_DESCRIPTION' doesn't exist select * from PRODUCTS_DESCRIPTION [TEP STOP] Thanks for your help. Kind Regards, John http://www.officialvinyl.com Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2006 Share Posted April 18, 2006 Hi Jack, now it works also for me! Thanks! One idea for the future: If have a top categorie with sub categorie in some levels, it will be great if you can add the name of all higher categorie as keywords in the lowest sub categorie ans also in all products of this categorie. Sorry for my english, i hope you understand. Example: Topcategorie (Keywords: topcategorie) Subcategorie level 1 (Keywords: topcategorie, subcategorie level 1) Subcategorie level 2 (Keywords: topcategorie, subcategorie level 1, subcategorie level 2) Subcategorie level 3 (Keywords: topcategorie, subcategorie level 1, subcategorie level 2, subcategorie level 3) Product in SubCat 3 (Keywords: topcategorie, subcategorie level 1, subcategorie level 2, subcategorie level 3, Productname) and so on Thanks again Tintenmann That would generally be a bad idea. By the time the product was displayed, there would be too many non-related keywords listed. Given the stock layout, there is a category was named Hardware, a sub-category named Mice and a product named Microsoft Intellimouse Pro. So the keywords for that product would be hardware, mice, Microsoft Intellimouse Pro. The first two are not menioned anywhere on the product page so all they would do is dilute the keyword density for that page, thus lowering its ranking. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Jack_mcs Posted April 18, 2006 Share Posted April 18, 2006 Hi All, I downloaded the install header tags file and uploaded the database_setup.php file to my root directory and typed http://www.officialvinyl.com/database_setup.php into my browser and the following error message came up. Does anyone know why this won't install ? 1146 - Table 'coxj2901_shop.PRODUCTS_DESCRIPTION' doesn't exist select * from PRODUCTS_DESCRIPTION [TEP STOP] Thanks for your help. Kind Regards, John http://www.officialvinyl.com That most likely means PRODUCTS_DESCRIPTION is not defined in the incudes/database_tables.php file. You shoudl verify that it is. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
lildog Posted April 19, 2006 Share Posted April 19, 2006 Hello, I am updating from version 2.56 to 2.58. All seems to work except.... when I try to update all empty tags for manufacturers. I get an error: 1054 - Unknown column 'mi.manufacturers_htc_title_tag' in 'field list' select m.manufacturers_name, m.manufacturers_id, mi.languages_id, mi.manufacturers_htc_title_tag, mi.manufacturers_htc_desc_tag, mi.manufacturers_htc_keywords_tag from manufacturers m, manufacturers_info mi where mi.languages_id = '1' [TEP STOP] The catagories and products updates work. I am pretty sure it is my fault. It usually is. I can usually fix the problems I have but I don't know where to begin with this. Any ideas? I used the update doc. Thank you, Todd Quote Link to comment Share on other sites More sharing options...
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.