Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 11 votes

Header Tags SEO


6329 replies to this topic

#4361 Greeny

  • Community Member
  • 25 posts

Posted 18 March 2010, 18:31

Hey Jack,

Hopefully this time I have a question which isn't so stupid (i.e. has already been solved on this page :P)

There's 3 things I am having trouble with when running the Header Tags Test:

1. In order to remove the Permissions Error, I have to set the permission for the includes/header_tags.php file to 777 <---- (since 755 still gives me the error, I have commented out the chmod script like it says in the troubleshoot) is setting the permision to 777 a security problem of any sort?

2. I get the STS error saying the head code in the index.php and products_info.php file has Header Tags code installed, which is a mistake. (I should be able to sort this by myself I guess but any help pointing me in the right direction would be grately appreeciated.

3. I have the Database Error where my file count is significantly higher than my database file entries (21 to 6 repectively). The troubleshoot tells me how to deal with this, however, it says I have to log into the page control to resolve this issue. Unfortunately, when I try to do this I get the error...

Quote

1054 - Unknown column 'sortorder_root_1' in 'field list'

insert into headertags (page_name, page_title, page_description, page_keywords, page_logo, page_logo_1, page_logo_2, page_logo_3, page_logo_4, append_default_title, append_default_description, append_default_keywords, append_default_logo, append_category, append_manufacturer, append_product, append_root, sortorder_title, sortorder_description, sortorder_keywords, sortorder_logo, sortorder_category, sortorder_manufacturer, sortorder_product, sortorder_root, sortorder_root_1, sortorder_root_2, sortorder_root_3, sortorder_root_4, language_id) values ('tell_a_friend.php', '', '', '', '', '', '', '', '', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '10', '1', '1', '1', '1', '1', '1')

[TEP STOP]
.

I am using
Header Tags SEO 3.2.1
STS 4.5.8

Thanks for all your hard work and great contribution

Chris

Edited by Greeny, 18 March 2010, 18:32.


#4362 Chris2000

  • Community Member
  • 9 posts
  • Real Name:Chris

Posted 18 March 2010, 19:21

Hello Jack,

I apologize for asking a question that might have been asked - but I can't find a suitable answer anywhere on this thread.

After installing Header Tags SEO - my admin section is blank. I saw another response where you told a person to re-upload the files, which I did. No success. I've re-gone over the install and just can seem to see whats wrong. Please any help would be appreciated.

Thanks,
Chris

#4363 Chris2000

  • Community Member
  • 9 posts
  • Real Name:Chris

Posted 18 March 2010, 19:44

View PostChris2000, on 18 March 2010, 19:21, said:

Hello Jack,

I apologize for asking a question that might have been asked - but I can't find a suitable answer anywhere on this thread.

After installing Header Tags SEO - my admin section is blank. I saw another response where you told a person to re-upload the files, which I did. No success. I've re-gone over the install and just can seem to see whats wrong. Please any help would be appreciated.

Thanks,
Chris

Ok- Solved - i added an extra comment to the html_output file.

#4364 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 18 March 2010, 23:33

View PostGreeny, on 18 March 2010, 18:31, said:

1. In order to remove the Permissions Error, I have to set the permission for the includes/header_tags.php file to 777 <---- (since 755 still gives me the error, I have commented out the chmod script like it says in the troubleshoot) is setting the permision to 777 a security problem of any sort?

2. I get the STS error saying the head code in the index.php and products_info.php file has Header Tags code installed, which is a mistake. (I should be able to sort this by myself I guess but any help pointing me in the right direction would be grately appreeciated.

3. I have the Database Error where my file count is significantly higher than my database file entries (21 to 6 repectively). The troubleshoot tells me how to deal with this, however, it says I have to log into the page control to resolve this issue. Unfortunately, when I try to do this I get the error...
1 - As long as your includes difrectory is protected, which it is by default, that is fine.

2 - There shouldn't be header tags code in the head section of any file when using STS.

3 - There is a mistake in the sql files of the contribution - a different mistake in each. Run these sql commands to fix the one you are having.
ALTER TABLE `headertags` ADD `sortorder_root_1` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root`;
ALTER TABLE `headertags` ADD `sortorder_root_2` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root_1`;
ALTER TABLE `headertags` ADD `sortorder_root_3` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root_2`;
ALTER TABLE `headertags` ADD `sortorder_root_4` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root_3`;


#4365 Greeny

  • Community Member
  • 25 posts

Posted 19 March 2010, 09:55

View PostJack_mcs, on 18 March 2010, 23:33, said:

2 - There shouldn't be header tags code in the head section of any file when using STS.


Thanks Jack Its all working fine now, except when you say header tags code I'm not sure what you mean :S

In my product_info.php.html file in my STS template folder the code in between my <head></head> tags reads:

Quote

<!--$headcontent-->
<link rel="stylesheet" type="text/css" href="$templatedir/stylesheet.css">
<title>Elite Shafts UK - Cutom Golf Shafts, Diamana Golf Shafts, Mitsubishi Golf Shafts, VooDoo Golf Shafts, Custom Snake Eyes Clubs</title>
<script type="text/javascript" src="../../../js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../../../js/jquery.cycle.all.min.js"></script>

<script type="text/javascript">
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
timeout: 5000
});
});
</script>

<script language="javascript" type="text/javascript">
//<![CDATA[
var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');
//]]>
</script>

Out of this is the <title></title> the header tags? or is it the <!--headcontent--> ? I have tried removing both, but it doesn't clear up the error and I can't figure out what else would be the header tags code.

Cheers

#4366 smart81bg

  • Community Member
  • 11 posts
  • Real Name:dimitar

Posted 19 March 2010, 13:02

hi all, and 10x to Jack,

i have installed Header Tags SEO V 3.2.1 and datebase sql files + update sql. Now i recived this error:


1146 - Table 'holzmann_osc4.TABLE_HEADERTAGS_DEFAULT' doesn't exist

select * from TABLE_HEADERTAGS_DEFAULT where language_id = '1'


all datebase felds are in my sql datebase


can you help me?

#4367 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 19 March 2010, 13:16

View PostGreeny, on 19 March 2010, 09:55, said:

In my product_info.php.html file in my STS template folder the code in between my <head></head> tags reads:
I was referring to root files, as the instructions state. If you follow them, then it will be correct. The file you mentioned is fine.

#4368 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 19 March 2010, 13:17

View Postsmart81bg, on 19 March 2010, 13:02, said:

1146 - Table 'holzmann_osc4.TABLE_HEADERTAGS_DEFAULT' doesn't exist
It means you missed a step in the installation. Search the installation files for changes to the database_tables.php file in regards to TABLE_HEADERTAGS_DEFAULT.

#4369 smart81bg

  • Community Member
  • 11 posts
  • Real Name:dimitar

Posted 19 March 2010, 13:54

View PostJack_mcs, on 19 March 2010, 13:17, said:

It means you missed a step in the installation. Search the installation files for changes to the database_tables.php file in regards to TABLE_HEADERTAGS_DEFAULT.


YESSSSSSSSSSSSS YOU ARE RIGHT+++++++++++++++++++++++++

:)

the problem was in database_tables. it was not in right dir


many thx

#4370 Greeny

  • Community Member
  • 25 posts

Posted 19 March 2010, 20:48

View PostJack_mcs, on 19 March 2010, 13:16, said:

I was referring to root files, as the instructions state. If you follow them, then it will be correct. The file you mentioned is fine.


Lol sorry, I don't know why, but i thought you had to make that change to index.php and products_info.php. My bad again :P

Thanks for your help :D

#4371 offie

  • Community Member
  • 200 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 20 March 2010, 11:11

Hi Jack, I must say that after all these years I am amazed that you are still available for questions.

Anyway I have had my store for a while now but have finally decided to get my header tags contribution to work correctly.

I have looked through a lot of your answers to people who have had the same problem as me but I have not yet found an answer.

Firstly I have run the test and no errors are showing.

In the section page control I have loaded the index.php file. I am trying to use the option of "Use keywords from text on the actual page" by clicking the circle option but I do not get the chance to update because the page reloads and says the message "Failed to load page from shop: http://topclassfurniture.co.uk/mystore/index.php?language=en".

I have searched the Failed to load page from shop etc in this forum but can not find a positive answer to the problem.

Also in the Fill Tags section I have tried to check both the Description Override and Keywords Override by saying "yes" and at the bottom of the page I have checked fill all tags in the Categories and Products section, (not using Manufacturers), but as soon as I update this I also get the message "Failed to load page from shop: http://topclassfurniture.co.uk/mystore/product_info.php?products_id=29&language=en".

Should I also check the Generic Override and also check the Title:, Description:, Keywords: and Description: in Categories and Products section?

I am so sorry if you have been asked these questions lots of times and it is not as though I have not bothered looking through the threads as I have but finding an answer which I can follow to my specific problem is not always apparent.

Thank you so much for taking the trouble to read this and hopefully help solve my problem.

Offie

#4372 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 20 March 2010, 11:29

View Postoffie, on 20 March 2010, 11:11, said:

The above is an invalid url. You need to fix your shop before the Header Tags code will work.

#4373 jcct31996

  • Community Member
  • 14 posts
  • Real Name:Justin Valentino
  • Gender:Male
  • Location:Malaysia

Posted 20 March 2010, 13:41

View Postjcct31996, on 13 March 2010, 03:14, said:

Hi,

I have my SEO header tag installed successfully in my local server. When I moved everything to production server (lived), I cannot login to my admin control panel anymore. I get a total blank screen and no HTML codes when login.

I did troubleshooting by uploading the updated files one by one, and finally found that once admin/include/filenames.php is uploaded, the failure begins.

Comparing the new and old filenames.php with diffMerge shows that only:

/*** Begin Header Tags SEO ***/
define('FILENAME_HEADER_TAGS_SEO', 'header_tags_seo.php');
define('FILENAME_HEADER_TAGS_SILO', 'header_tags_seo_silo.php');
define('FILENAME_HEADER_TAGS_FILL_TAGS', 'header_tags_fill_tags.php');
define('FILENAME_HEADER_TAGS_TEST', 'header_tags_test.php');
/*** End Header Tags SEO ***/

has been added.

Can someone please tell me what is probably wrong?

View PostJack_mcs, on 13 March 2010, 04:26, said:

Those changes wouldn't cause the problem you are having. But they are required for the code to link properly and once you try to do that, one of the other files is getting loaded, which is causing the problem. I suggest you upload all of the files from the contributions catalog/admin/ directory. The problem you describe is typically because a file is in the wrong place so replacing them all from the contribution is the quickest way to resolve that.

Thanks Jack for the reply and I was able to find the cause and solution for this problem.

It was caused by white spaces after the last ?> tag in some modified PHP file.

It may not be new to some people and details can be found here: http://www.oscommerce.info/kb/osCommerce/General_Information/Common_Problems/15

#4374 offie

  • Community Member
  • 200 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 22 March 2010, 09:58

View PostJack_mcs, on 20 March 2010, 11:29, said:

The above is an invalid url. You need to fix your shop before the Header Tags code will work.

Hi Jack and thanks for your reply.

I am not sure why you say that it is an invalid url because when I type it in and load the page I am taken to my products page. I currently dont have any products in this store yet as I am just building it but I have also tried it in another store I am building which does have some products and I am getting the same error message which is:

Failed to load page from shop: http://classgifts.co.uk/mystore/product_info.php?products_id=29&language=en

Do I need to have the store fully loaded for the addon to work because I would have thought it would have worked with only 1 item in the store?

Thanks again

Michael

#4375 treehugg

  • Community Member
  • 19 posts
  • Real Name:Roger OBrian

Posted 22 March 2010, 10:39

Hi Everyone.. I just installed HeaderTags_SEO_V_3.2.1 two days ago. Everything seemed to be fine until I went into my Admin account and was editing som eof my products. I clicked on a product, I selected Edit, made my change and Clicked Preview. The Products Title will not show in Preview, nor will it show on my actual webstore! I have no idea what the problem is or how to fix it. Has anyone ever had this happen?

Whats weird is i can select Edit a product, not do or make any changes, Click preview and then it wont display that products title either!!

Is there something wrong with the install I can fix? Is there a problem with this contribution? I didnt see anyone having the problem Im having, but I cant run an online store and not have the name of the product listed..


What should I do?? I really need some ides on this.

Thanks


My STORE

#4376 treehugg

  • Community Member
  • 19 posts
  • Real Name:Roger OBrian

Posted 22 March 2010, 10:39

Hi Everyone.. I just installed HeaderTags_SEO_V_3.2.1 two days ago. Everything seemed to be fine until I went into my Admin account and was editing som eof my products. I clicked on a product, I selected Edit, made my change and Clicked Preview. The Products Title will not show in Preview, nor will it show on my actual webstore! I have no idea what the problem is or how to fix it. Has anyone ever had this happen?

Whats weird is i can select Edit a product, not do or make any changes, Click preview and then it wont display that products title either!!

Is there something wrong with the install I can fix? Is there a problem with this contribution? I didnt see anyone having the problem Im having, but I cant run an online store and not have the name of the product listed..


What should I do?? I really need some ides on this.

Thanks


My STORE

#4377 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 22 March 2010, 11:08

View Postoffie, on 22 March 2010, 09:58, said:

I am not sure why you say that it is an invalid url because when I type it in and load the page I am taken to my products page. I currently dont have any products in this store yet as I am just building it but I have also tried it in another store I am building which does have some products and I am getting the same error message which is:
Go back to your original post and click on the link you provided. It says product not found. You don't have to fully populated shop to setup Header Tags but you do have to have a working product page if you are going to use the overrides, depending upon which one. Try running fill tags without any of the overrides. If it works, and if you have the latest version of Header Tags installed, then it is most likely because you are trying to use an override that loads data from the page and there isn't any data to load.

#4378 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 22 March 2010, 11:10

View Posttreehugg, on 22 March 2010, 10:39, said:

Whats weird is i can select Edit a product, not do or make any changes, Click preview and then it wont display that products title either!!
What should I do?? I really need some ides on this.
Read the instructions regarding troubleshooting. They are there for a reason.

#4379 offie

  • Community Member
  • 200 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 22 March 2010, 11:20

View PostJack_mcs, on 22 March 2010, 11:08, said:

Go back to your original post and click on the link you provided. It says product not found. You don't have to fully populated shop to setup Header Tags but you do have to have a working product page if you are going to use the overrides, depending upon which one. Try running fill tags without any of the overrides. If it works, and if you have the latest version of Header Tags installed, then it is most likely because you are trying to use an override that loads data from the page and there isn't any data to load.

Thanks for the quick reply. Your right that no product was shown as I have not added any products yet so I will load my products and try again. However in the other store there are products and I got the same message.

Anyway, thanks again and I will start the product input today as see how we go.

Michael

#4380 icon911

  • Community Member
  • 31 posts
  • Real Name:icon
  • Gender:Male

Posted 23 March 2010, 03:41

I would like to display custom text for each category. From what I can see I can do it but that will mean that my meta description for the category pages will share the same text. Is there a way to have custom category text and custom category meta description which will not be tied into the the same text box in admin? Maybe you can recommend another module that I can install along side "Header Tags SEO"? Thanks.