Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Header Tags Controller for Admin MS 2.2


Farrukh

Recommended Posts

The files in that Update_docs folder were written as needed for various updates. They will not work for the latest updates and should be labeled as such but they are not.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • Replies 4.6k
  • Created
  • Last Reply

Top Posters In This Topic

Halo dani, thx for ur reply

the instruction under install_admin is only to install header tag

but if u wanna install category description u must edit the instruction under update_doc

and really it was included in header tag 2.5.6

 

this is the content of the file i use:

---------------------------------------------------------------------------------------------------------------

Update instructions to add the categories decription option to an existing

installation of Header Tags by Jack_mcs (http://www.oscommerce-solution.com)

 

=============================================

The following instructions assumes a working shop with version V2.4 or higher

of Header Tags Controller already installed.

 

=============================================

1) BACKUP FIRST - NO RESPONIBILITY HELD

 

=============================================

2) Upload the header_categories_description.sql file first using phpmyadmin

 

=============================================

3) Edit admin/categories.php as follows:

 

=============================================

FIND the followling around line 48:

 

$htc_keywords_data = array('category_head_keywords_tag' => $htc_keywords);

 

ADD under it

 

$htc_descritpion_data = array('category_head_desciption' => $htc_description);

 

=============================================

FIND the following areound line 62:

 

$sql_data_array = array_merge($sql_data_array, $htc_keywords_data);

 

ADD under it

 

$sql_data_array = array_merge($sql_data_array, $htc_description_data);

 

=============================================

FIND the following around line 104

 

tep_db_query("update " . TABLE_CATEGORIES . " set category_head_keywords_tag = '" . $htc_keywords . "' where categories_id = '" . (int)$categories_id . "'");

 

ADD under it

 

tep_db_query("update " . TABLE_CATEGORIES . " set category_head_description = '" . $htc_description . "' where categories_id = '" . (int)$categories_id . "'");

 

=============================================

FIND the following around line 865

 

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and cd.categories_name like '%" . tep_db_input($search) . "%' order by c.sort_order, cd.categories_name");

} else {

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");

 

REPLACE with

 

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag, c.category_head_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and cd.categories_name like '%" . tep_db_input($search) . "%' order by c.sort_order, cd.categories_name");

} else {

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id, c.sort_order, c.date_added, c.last_modified, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag, c.category_head_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by c.sort_order, cd.categories_name");

 

=============================================

FIND the following around line 985

 

$contents[] = array('text' => '<br>' . 'Header Tags Category Keywords' . '<br>' . tep_draw_input_field('htc_keywords', '', 'size="30"'));

 

ADD under it

 

$contents[] = array('text' => '<br>' . 'Header Tags Categories Description' . '<br>' . tep_draw_input_field('htc_description', '', 'size="30"'));

 

=============================================

FIND the following around line 1007

 

$contents[] = array('text' => '<br>' . 'Header Tags Category Keywords' . '<br>' . tep_draw_input_field('htc_keywords', $cInfo->category_head_keywords_tag, 'size="30"'));

 

ADD under it

 

$contents[] = array('text' => '<br>' . 'Header Tags Categories Description' . '<br>' . tep_draw_textarea_field('htc_description', 'hard', 30, 5, $cInfo->category_head_description));

 

=============================================

4) In stylesheet.css

 

ADD

 

h2 {

font-family: Verdana, Arial, sans-serif;

font-size: 14px;

}

 

=============================================

5) In index.php

 

=============================================

FIND the following around line 71

 

$category_query = tep_db_query("select cd.categories_name, c.categories_image, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag, from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

 

REPLACE with

 

$category_query = tep_db_query("select cd.categories_name, c.categories_image, c.category_head_title_tag, c.category_head_desc_tag, c.category_head_keywords_tag, c.category_head_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

 

=============================================

FIND the following around line 77

 

<tr>

<td><h1><?php echo $category['category_head_title_tag']; ?></h1></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

 

ADD under it

 

<?php if (tep_not_null($category['category_head_description'])) { ?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><h2><?php echo $category['category_head_description']; ?></h2></td>

</tr>

<?php } ?>

 

=============================================

FIND the following around line 245

 

$category_query = tep_db_query("select c.category_head_title_tag from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

 

REPLACE with

 

$category_query = tep_db_query("select c.category_head_title_tag, c.category_head_description from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

 

=============================================

FIND the following around line 295

 

<td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

</tr>

 

ADD under it

 

<?php if (tep_not_null($category['category_head_description'])) { ?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><h2><?php echo $category['category_head_description']; ?></h2></td>

</tr>

<?php } ?>

 

That should do it!

---------------------------------------------------------------------------------------------------------

 

the problem happened when i make the instruction at line 865 at admin\categories.php

 

waiting ur opinion

 

 

I don't believe the files in the Update_Docs folder are current, as they still use the category_head_title_tag field. Instead, I used the instructions in the Install_Admin doc, and it worked fine.

 

- Dani

Link to comment
Share on other sites

halo jack, thx alot

i think there is missing ring....

i installed header tag controller correctly and it is working but it adds title, description & key words for ((pages))

 

but i wanna add a description to each parent category, when u click the parent category this description appear in the middle of the page and may have a big image too

 

this is my next target

how can i do this

is this target far from header tag contrler abilities

 

please advice

thx agian

 

 

 

The files in that Update_docs folder were written as needed for various updates. They will not work for the latest updates and should be labeled as such but they are not.

 

Jack

Link to comment
Share on other sites

It is because you are using the Categories Description contribution. You need to go to admin->Confgiuration and turn off Categories Description. When you do that and click on a category to edit, the Header Tags fields will be displayed. When you are done, go back and enable the option again.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hi jack, thx for reply

i do not have categories option in my admin\configuration panel.

i installed only one contribution (header tag controller).

is categories description an independant contribution? and i have to downloadand install it ?

or what can i do to get this feature, i am realy confused

 

please advice

 

thx

 

 

It is because you are using the Categories Description contribution. You need to go to admin->Confgiuration and turn off Categories Description. When you do that and click on a category to edit, the Header Tags fields will be displayed. When you are done, go back and enable the option again.

 

Jack

Link to comment
Share on other sites

Oh, I assumed you were using the other contribution since your previous post was about it. If you don't have that installed, then you don't need to as Header Tags has it built-in. As for your problem, it sounds like the code for the categories.php file was not installed correctly. Try using the file from the contribuiton to see if it works.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Oh, I assumed you were using the other contribution since your previous post was about it. If you don't have that installed, then you don't need to as Header Tags has it built-in. As for your problem, it sounds like the code for the categories.php file was not installed correctly. Try using the file from the contribuiton to see if it works.

 

Jack

 

thx jack, i know i exhaust u

now i have no error and header tag is working

but still i do not have the option of categories description on/of in the admin\configuration

what do u think is missing to let this option appear ?

 

regards

Link to comment
Share on other sites

There shouldn't be such an option unless you have the Categories Description contribution installed. That is unrelated to Header Tags and serves a dual purpose so if you don't already have it, you shouldn't install it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

hi all have instaled this contibition and it workes fine for english.

 

i have problem with my second language (Hebrew).

everything is fine exept it puts in to the database nubmers and not words. the nubrers are because the contribution use wrong encoding. Where do i change the encoding used to insetr meta to the database?

 

Thanks in advance.

 

this is realy big problem because i also use ultimate url by chemo and it usesthose numbers in the url as well.

Link to comment
Share on other sites

hi all have instaled this contibition and it workes fine for english.

 

i have problem with my second language (Hebrew).

everything is fine exept it puts in to the database nubmers and not words. the nubrers are because the contribution use wrong encoding. Where do i change the encoding used to insetr meta to the database?

 

Thanks in advance.

 

this is realy big problem because i also use ultimate url by chemo and it usesthose numbers in the url as well.

 

if i use the fill tags.php the hebrew inserted is it should. so whaere is the problem? is it header_tags_controller.php ?

Link to comment
Share on other sites

I need some help with HTC. I have a HEAD_TITLE_TAG_ALL, HEAD_DESC_TAG_ALL, HEAD_KEY_TAG_ALL specified but, on catagory pages it still displays the default titles, keywords, and meta tags even though i have added specific information for each. On the product page it displays the product title, kw, and desc, but the title has the global title added to the end.

 

Can anyone shed some light on the problem?

 

My langauge file is:

 

<?php

// /catalog/includes/languages/english/header_tags.php

// WebMakers.com Added: Header Tags Generator v2.0

// Add META TAGS and Modify TITLE

//

// DEFINITIONS FOR /includes/languages/english/header_tags.php

 

// Define your email address to appear on all pages

define('HEAD_REPLY_TAG_ALL', STORE_OWNER_EMAIL_ADDRESS);

 

// For all pages not defined or left blank, and for products not defined

// These are included unless you set the toggle switch in each section below to OFF ( '0' )

// The HEAD_TITLE_TAG_ALL is included BEFORE the specific one for the page

// The HEAD_DESC_TAG_ALL is included AFTER the specific one for the page

// The HEAD_KEY_TAG_ALL is included BEFORE the specific one for the page

define('HEAD_TITLE_TAG_ALL','Glow Necklaces - Body Lights - Glow Sticks - ' . STORE_NAME);

define('HEAD_DESC_TAG_ALL','A wholesaler of glow necklaces, body lights, glow sticks, light sticks, glow bracelets.');

define('HEAD_KEY_TAG_ALL','body lights, glow necklaces, glow sticks, light sticks, blinking body lights, glow bracelets, glowsticks, flashing body lights, flashing pacifiers, magnetic body lights');

 

// DEFINE TAGS FOR INDIVIDUAL PAGES

 

// default.php

define('HTTA_DEFAULT_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title

define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords

define('HTDA_DEFAULT_ON','1'); // Include HEAD_DESC_TAG_ALL in Description

define('HEAD_TITLE_TAG_DEFAULT','');

define('HEAD_DESC_TAG_DEFAULT','');

define('HEAD_KEY_TAG_DEFAULT','');

 

// product_info.php - if left blank in products_description table these values will be used

define('HTTA_PRODUCT_INFO_ON','1');

define('HTKA_PRODUCT_INFO_ON','1');

define('HTDA_PRODUCT_INFO_ON','1');

define('HEAD_TITLE_TAG_PRODUCT_INFO','');

define('HEAD_DESC_TAG_PRODUCT_INFO','');

define('HEAD_KEY_TAG_PRODUCT_INFO','');

 

// products_new.php - whats_new

define('HTTA_WHATS_NEW_ON','1');

define('HTKA_WHATS_NEW_ON','1');

define('HTDA_WHATS_NEW_ON','1');

define('HEAD_TITLE_TAG_WHATS_NEW','New Products');

define('HEAD_DESC_TAG_WHATS_NEW','');

define('HEAD_KEY_TAG_WHATS_NEW','');

 

// specials.php

// If HEAD_KEY_TAG_SPECIALS is left blank, it will build the keywords from the products_names of all products on special

define('HTTA_SPECIALS_ON','1');

define('HTKA_SPECIALS_ON','1');

define('HTDA_SPECIALS_ON','1');

define('HEAD_TITLE_TAG_SPECIALS','Specials');

define('HEAD_DESC_TAG_SPECIALS','');

define('HEAD_KEY_TAG_SPECIALS','');

 

// product_reviews_info.php and product_reviews.php - if left blank in products_description table these values will be used

define('HTTA_PRODUCT_REVIEWS_INFO_ON','1');

define('HTKA_PRODUCT_REVIEWS_INFO_ON','1');

define('HTDA_PRODUCT_REVIEWS_INFO_ON','1');

define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO','');

define('HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO','');

define('HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO','');

 

?>

Link to comment
Share on other sites

if i use the fill tags.php the hebrew inserted is it should. so whaere is the problem? is it header_tags_controller.php ?
There are header_tags files in both english directories. You need to copy those to your hebrew directories and edit them to change the english to hebrew.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I need some help with HTC. I have a HEAD_TITLE_TAG_ALL, HEAD_DESC_TAG_ALL, HEAD_KEY_TAG_ALL specified but, on catagory pages it still displays the default titles, keywords, and meta tags even though i have added specific information for each. On the product page it displays the product title, kw, and desc, but the title has the global title added to the end.

 

Can anyone shed some light on the problem?

I'm not sure I understand what you mean about the categories page. Are you saying when you click on a categories page in your shop, only the default title is displayed? If so, if you go to admin->catalog and click edit for a category, are the Header Tags fields filled in? For the product page, try unchecking the HT.. boxes for that section in Text Control.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I am using HTC 2.5.6

 

The catagories page is not correctly formatted (tables are misaligned) when the new install is completed. This is obviously in the changes in approx. line 552 replacing the table information. It seems to be a table data, table row, etc off somewhere. Does anyone know what correction is needed? If this is answered previously in the forum, please accept my appologies, I could not find it.

 

Thanks

Mike

Edited by mforey
Link to comment
Share on other sites

The problem is in your installaltion. Try replacing your categories file with the one from the contribution. If it looks OK, then you need to compare the two. Odds are, it is with the instructions that start off with "Around line 552, find this section of code ."

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

There are header_tags files in both english directories. You need to copy those to your hebrew directories and edit them to change the english to hebrew.

 

Jack

 

 

what do you mean by "edit them to change the english to hebrew"

Link to comment
Share on other sites

Hi everyone,

 

First, thanks to everyone who has contributed, helped or added in some way to this contribution. :thumbsup:

 

I have installed HTC 2.5.6 and all is working well. The issue I have is with a strange behavior that points directly to these lines of the HTC:

 

<?php
// BOF: WebMakers.com Changed: Header Tag Controller v2.5.2
// Replaced by header_tags.php
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
 require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?>
 <title><?php echo TITLE; ?></title>
<?php
}
// EOF: WebMakers.com Changed: Header Tag Controller v2.5.2
?>

 

On the surface, my site is absolutely perfect....no errors, cart working like a charm, meta tags filled and page headings visable....

 

BUT when I test my site with SE simulators they ALWAYS come up with this error and NEVER get to the content on my pages.

 

Warning: Cannot modify header information - headers already sent by

 

I have removed all the white space in the suspect files but still no go.

 

As I said, surfing my site I NEVER see this problem.... it seems to only be a spider who sees the error.

 

Thanks for any help you might be able to offer :) :)

Sheri

Link to comment
Share on other sites

Are you sure it is Header Tags that is causing it? Try removing the title code you mentioned (change it back to what it was) for your index.php file and test it again. Does it still fail? What is the whole message it gives you when it fails? Can you provide a link to the simulator and your site name?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Version 2.5.7 has been uploaded. Here are the changes made:

 

-> Added code to add title and meta tags to the manufacturers pages. This includes a manufacturers description option like that used for categories.

-> Added code to auto fill the categories title and meta tags when inserting or updating a category if they are left empty.

-> Added code to auto fill the products title and meta tags when inserting or updating a product if they are left empty.

-> Added code to prevent the deletion of the product_info.php entry in Page Control.

-> Added code to verify the page name entered in Page Control does not contain invalid characters.

-> Added code in Fill Tags to indicate that the operation has finished.

-> Added a comma separator to includes/header_tags.php for instances where keywords are joined with the default keywords.

-> Added missing All Products code in includes/languages/english/header_tags.php. This is only needed if you have the All Products with Images contribution installed. It can be removed but it won't hurt to have it in. The code for the includes/header_tags.php file has always been there so this was needed to complete that.

-> Added an option to allow the products meta description tags to be filled in with all or part of the products description, or with the products name, as it has always been done.

-> Added code to highlight the title of a section in Text Control if the file for that section is missing the required Header Tags code.

-> Added code to allow the text (title and meta tags) in the product_info section of Text Control to be added to the appropriate places on the product_info page. Previously, these items were ignored.

-> Fixed bug in code that cause the AllProds code to be confused with the default tags.

-> Fixed problem with HTTA_CAT switch not setting properly for index.php.

-> Changed the code for admin/categories.php to be compatible with the oscommerce security update patch.

-> Changed text that displays in product edit to indicate tag information.

-> Change code in database_setup.php to use defined constants for table names.

-> Changed code in Fill Tags to use the defined table names instead of hard-coded names.

-> Removed references to non-existent header_tags_includes.php file.

-> Rewrote code that handled the default title and meta tags to try and fix on-going bug.

-> Removed redundant code for switch boxes in header_tags_controller.php.

-> Cleaned up and made corrections of text in instruction files.

 

I looked into the problem that some people reported about the admin section not working if only one non-english language was available but could not get it to fail But I did that after most of the above changes were made so I may have fixed the problem inadvertently. If anyone still has this problem, please post it here.

 

Also, please post any mistakes, problems or questions regarding this update here.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Are you sure it is Header Tags that is causing it? Try removing the title code you mentioned (change it back to what it was) for your index.php file and test it again. Does it still fail? What is the whole message it gives you when it fails? Can you provide a link to the simulator and your site name?

 

Jack

 

 

Thanks for your reply Jack :D I set the lines back to stock and the problem still occurred :( Here is the full error message

 

Warning: Cannot modify header information - headers already sent by (output started at ..../catalog/index.php:34) in ...../catalog/includes/functions/general.php on line 31

 

Here is the line in index it is pointing too:

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
***LINE 34*** <html <?php echo HTML_PARAMS; ?>>
<head>

 

And in general.php

 

////
// Redirect to another page or site
 function tep_redirect($url) {
if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
  if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
	$url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL
  }
}
header('Location: ' . $url);
tep_exit();
 }

 

Line 31 in general is actually blank(just after the last curley bracket).

 

The simulators I have used are:

http://www.hashemian.com/tools/browser-simulator.htm

and

http://tools.summitmedia.co.uk/spider/

and

http://mesoimpact.com/spider/

and

http://www.axandra-web-site-promotion-soft...om/download.htm

and

http://www.spannerworks.com/spidersimulator.0.html

.

 

I have never tested my site against a simulator until today so I cannot say with certainty that header tag is the issue. I also installed ultimate SEO today but that is not the issue(I switched it to false with the same spider results). But one can never be certain of anything!!

 

If you have any ideas I would be grateful.

 

Thanks :)

Sheri

My Webpage

Link to comment
Share on other sites

The problem isn't with Header Tags since without that code in the file, Header Tags is ignored. The error is saying the index.php file is at fault. The line usually doesn't matter in a case like this. It is usually at the beginning or end of the file, although it can be elsewhere in it. If you have a backup of your index file, give that a try. If not, try a different editor. Not all will remove the space properly.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The problem isn't with Header Tags since without that code in the file, Header Tags is ignored. The error is saying the index.php file is at fault. The line usually doesn't matter in a case like this. It is usually at the beginning or end of the file, although it can be elsewhere in it. If you have a backup of your index file, give that a try. If not, try a different editor. Not all will remove the space properly.

 

Jack

 

Thanks Jack. I'll keep looking into it. It actually happens with each of my files as I have required a small blurb that controls the first part of the head section ( I did this in case I ever had to modify this part...installing the HTC was a cinch as I only had to change this one file and not the other 20+).

 

What really has me pulling my hair out is the fact that the error ONLY happens with spiders. You can browse all over the site using firefox or IE without a single error. I wonder what the difference is in the browsing style of the spiders as opposed to a regular browser?

 

Anyway, thanks again.

 

Have a good Easter.

Sheri

Link to comment
Share on other sites

Hello,

 

first, sorry for my bad english :-"

 

But i have a problem with Header Tags Controller v2.5.7.

 

Which file controls the meta tag for the keyword for the products?

 

On all productpages are no keywords displayed (<meta name="Keywords" content=""/>)

 

In the Adminarea by the Products i have keywords entered.

 

Here my shop:

http://web1.cyberwebserver-17.de/catalog/p...&products_id=28

 

Thanks for help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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