Jump to content



Latest News: (loading..)

* * * * * 14 votes

Header Tags SEO


  • Please log in to reply
7137 replies to this topic

#7121 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 13 May 2013 - 01:19 PM

When you say "upload," I assume you are referring to Easy Populate. If that is the case, then you need to enable the Header Tags setting in that file and fill in the Header Tags fields before uploading.

#7122   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 13 May 2013 - 06:29 PM

Hi Jack

Thanks so much for your obvious hard work on this contribution.  I am having a problem   that I hope you can help me with.

I ran the install file which is supposed to update the database but it kept failing - it would appear I had probably tried to install this in the past
and put it off to the side and forgot about it until now.  So, I was looking for the headertags_seo.sql file in the 2nd to most recent package in
the contributions section, HeaderTags_SEO_V_3.2.9, but it appears to be missing.  I am having a problem with 1054 - Unknown column 'pd.products_head_listing_text' in 'field list'  when I click on any of the links to find info about missing products/names.  I was hoping to use the sql file to fill in whatever gaps there may be in the database.

Can you tell me where to find that file?  Thanks a lot!

#7123   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 13 May 2013 - 06:43 PM

I also just ran the test and noticed the following:
Cannot find file /home/....../public_html///...../header_tags_seo.php. Cannot find file /home/....../public_html///...../header_tags_fill_tags.php. Cannot find file /home/....../public_html///...../includes/header_tags_seo_words.txt. Cannot find file /home/....../public_html///...../includes/functions/header_tags.php. Cannot find file /home/....../public_html///...../includes/boxes/header_tags_seo.php.
Cannot find file /home/....../public_html///...../includes/languages/english/header_tags_seo.php.

It's puzzling since aside from the database error things appear to be OK, and the files are actually there.

Can you please advise?  Thanks again

#7124   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 13 May 2013 - 09:17 PM

Never mind about this as I took the info from the install file - there was 1 or two others missing and I was able to update the table.

The previous post still needs an answer if u would be so kind, and one other item that i noticed.  I am getting the following error when clicking on the link under configuration:
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'header_tags_reset_cache' not found or invalid function name in /home/....../public_html/......./includes/functions/general.php on line 1242.  

1240  function tep_call_function($function, $parameter, $object = '') {
1241 if ($object == '') {
1242 return call_user_func($function, $parameter);

I have no idea what this is about so perhaps you can help me.  my store is a 2.2 shop running on php 5.3 and as I mentioned everything else appears to be OK, AFAICT.   Thanks..

View PostAJRYAN, on 13 May 2013 - 06:29 PM, said:

Hi Jack

Thanks so much for your obvious hard work on this contribution.  I am having a problem   that I hope you can help me with.

I ran the install file which is supposed to update the database but it kept failing - it would appear I had probably tried to install this in the past
and put it off to the side and forgot about it until now.  So, I was looking for the headertags_seo.sql file in the 2nd to most recent package in
the contributions section, HeaderTags_SEO_V_3.2.9, but it appears to be missing.  I am having a problem with 1054 - Unknown column 'pd.products_head_listing_text' in 'field list'  when I click on any of the links to find info about missing products/names.  I was hoping to use the sql file to fill in whatever gaps there may be in the database.

Can you tell me where to find that file?  Thanks a lot!

Edited by AJRYAN, 13 May 2013 - 09:18 PM.


#7125 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 13 May 2013 - 11:30 PM

@AJRYAN For the database failure, the update file only works with fairly new versions. If you have an older version installed, which is sounds like you do, you have to make the database changes manually by going through all of the update docs. Or go into the database, delete all of the Header Tags tables and use the install file.

For the second problem, that usually happens when the Header Tags files have not been uploaded.

#7126   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 13 May 2013 - 11:44 PM

Thanks for responding.  I think, or I'm pretty sure that all the database table entries are complete as I added them when the errors popped up, and nore more db issues have surfaced.  I am 99.99 % certain that all of the files were uploaded correctly.  As I mentioned, everything does appear to be functioning properly except for those errors about missing files which I know are there, and the cache reset function issue I mentioned.  If I knew where that function was being called from I could probably figure it out from there.  If you could point me in that direction that would be great.

Thanks again Jack.  I cannot imagine how much effort you put into this.

AJ

#7127   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 14 May 2013 - 12:01 AM

hold the fort . i may have found the problem  will report back....

#7128   shelby72

shelby72
  • Members
  • 139 posts
  • Real Name:Shelby Melton

Posted 14 May 2013 - 07:53 AM

View PostJack_mcs, on 13 May 2013 - 01:19 PM, said:

When you say "upload," I assume you are referring to Easy Populate. If that is the case, then you need to enable the Header Tags setting in that file and fill in the Header Tags fields before uploading.

I know that I can set it in Easy Populate.  I thought that I could just set it in the Admin for the Product Header Tags and have the title and descriptions come up on the new products instead of having to mess with the header tags in the spreadsheet every time.  In the Admin I can use ITEMNAME in the place of my product name whereas in the spreadsheet I can't and I have to mess with all those formulas to get things right every time I upload new products which is aggravating.  It would be easier to just set it one time in the Admin.  Is there not a way to just be able to set the Product Titles and Descriptions in the Admin and have them apply to all the new products I upload?

#7129 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 14 May 2013 - 12:56 PM

View Postshelby72, on 14 May 2013 - 07:53 AM, said:

Is there not a way to just be able to set the Product Titles and Descriptions in the Admin and have them apply to all the new products I upload?
When you first installed Header Tags SEO, you should have ran the basic Fill Tags (bottom of the page). That pre-fills all categories, manufacturers and products. You can edit those in their edit pages. When you add a new product, the title and tags are filled in automatically if you don't enter anything. If you are adding a new product and the title and tags don't get filled in, then there is either something wrong with your code or there is some problem in the Header Tags code that I am not aware of.

#7130   shelby72

shelby72
  • Members
  • 139 posts
  • Real Name:Shelby Melton

Posted 14 May 2013 - 05:52 PM

View PostJack_mcs, on 14 May 2013 - 12:56 PM, said:

When you first installed Header Tags SEO, you should have ran the basic Fill Tags (bottom of the page). That pre-fills all categories, manufacturers and products. You can edit those in their edit pages. When you add a new product, the title and tags are filled in automatically if you don't enter anything. If you are adding a new product and the title and tags don't get filled in, then there is either something wrong with your code or there is some problem in the Header Tags code that I am not aware of.

Do you know what file or where to look for the error?  My categories fill out fine.  It's just the products when I upload new products.

Edited by shelby72, 14 May 2013 - 05:53 PM.


#7131 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 14 May 2013 - 10:08 PM

When you "upload" a new product, you either do so via Easy Populate or the products edit page in admin. At least, those are the only two ways I can guess at. Easy Populate uploads directly into the database. The Header Tags code is built-in so if you have a recent version, it should work. The products edit page is controlled by the categories.php file in admin. You can use the included one for testing.

#7132   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 15 May 2013 - 03:18 PM

Hi Jack.

OK, well, I have a number of issues which I will need your help in sorting out.  I've gone through the installation pretty thoroughly and ran into issues which are beyond my ability to solve.

First I want to say that this seems like an amazing contribution - you threw everything in there but the kitchen sink.  I hope I can get it to do everything it appears capable of, especially with google being such a snot these days.

Anyhow, the download I did is supposed to be the complete package, but I run into these errors when trying to edit a product listing in admin:


TEXT_PRODUCTS_LISTING_TEXT    Fatal error: Call to undefined function tep_get_products_head_listing_text() in /home/..../public_html/..../categories.php ....
TEXT_PRODUCTS_SUB_TEXT    Fatal error: Call to undefined function tep_get_products_head_sub_text() in /home/..../public_html/..../categories.php ....

I searched through the package to see if I could find those functions and the define text, and the only place I got results from was from the installation instruction files.

I also followed the instructions, I believe, to the letter when modifying product info, but unfortunately the right column winds up below the left column.  If I made a mistake I missed it, but I went through it twice and cannot find it.  I am hoping you have seen or heard of this before and can tell me what to look for in trying to fix it. (I am horrible with nested tables, and I hate them!!).

I am working through this the best I can and trying not to bother you as you have already put in so much effort, but I am stuck on this atm.

Your help will be greatly appreciated.  tia

AJ

#7133 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 15 May 2013 - 04:56 PM

TEXT_PRODUCTS_SUB_TEXT is defined in admin/includes/languages/english/categories.php. The error you are seeing is saying it can't find one of the Header Tags SEO functions. That function gets included with the edit to the admin/includes/functions/general.php file.

I don't offer support for layout issues in this trhead since there are too many possible problems. You can use the included file to figure it out though. Also look back a page or three and see what was said with someone that had the same, or similar, problem.

#7134   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 15 May 2013 - 05:33 PM

I'm not sure how I missed that edit - it was the first one on the page!  doh!!!

Anyhow, it seems there were functions from header_tags which were creating a php problem, so I went and deleted the old ones in general.

This is perplexing on the defines as this is what the edits are:

/*** Begin Header Tags SEO ***/
define('TEXT_PRODUCT_METTA_INFO', '<b>Meta Tag Information</b>');
define('TEXT_PRODUCTS_PAGE_TITLE', 'Product Title Tag:');
define('TEXT_PRODUCTS_HEADER_DESCRIPTION', 'Product Description Tag:');
define('TEXT_PRODUCTS_KEYWORDS', 'Product Keywords Tag:');
/*** End Header Tags SEO ***/

TEXT_PRODUCTS_LISTING_TEXT  and TEXT_PRODUCTS_SUB_TEXT are missing.  What did I miss here?  I searched the files for the edits on them but nothing comes up,,,,,,???

Other than that I think things will be alright.  I'll have a look backwards on the alignment


Thanks again Jack

#7135 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 15 May 2013 - 05:51 PM

This is what is in the english/categories.php file in the package
/*** Begin Header Tags SEO ***/
define('TEXT_PRODUCT_METTA_INFO', '<b>Meta Tag Information</b>');
define('TEXT_PRODUCTS_PAGE_TITLE', 'Product Title Tag:');
define('TEXT_PRODUCTS_HEADER_DESCRIPTION', 'Product Description Tag:');
define('TEXT_PRODUCTS_KEYWORDS', 'Product Keywords Tag:');
define('TEXT_PRODUCTS_LISTING_TEXT', 'Product Listing Text');
define('TEXT_PRODUCTS_SUB_TEXT', 'Product Page Sub Text:');
/*** End Header Tags SEO ***/


#7136   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 15 May 2013 - 06:53 PM

Thanks Jack.  I don't know why my search turned up zilch - it is in the admin install file for 2.3 but not <2.3, just so u know.

Anyhow, hopefully once I get the formatting squared away it will be smooth sailing..

#7137   AJRYAN

AJRYAN
  • Members
  • 205 posts
  • Real Name:AJ

Posted 15 May 2013 - 09:53 PM

Jack, what would cause one or more of my files to not show up in the drop-down lists?  I noticed 2 right off the bat that are missing.

Thanks again 4 this super contribution..

#7138 ONLINE   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 15 May 2013 - 10:43 PM

If you are using version less than 2.3 you have to add the Header Tags code to each file you want to use. This is mentioned in the installation instructions.