Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Meta Tag problems since upgrading to 1.3.8

Meta Tag problems since upgrading to 1.3.8

Locked

Views: 4,130

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
18 Feb 2008, 6:31 PM
#1
labob246 avatar

labob246

New Zenner

Join Date:
Sep 2007
Posts:
3
Plugin Contributions:
0

Meta Tag problems since upgrading to 1.3.8

I have the HOME_PAGE_TITLE appearing as the browser title. I have read a few threads regarding this, but still to no avail. In fact, line #s are mentioned that don't even exist in my meta_tags.php file. I have the current meta_tags file shown below in both the includes/languages/english and the includes/languages/english/custom folders and I still have the problem.
Please any help would appreciated as I still have no idea what the heck is going on. My site is https://www.chicagolandslotcars.com

<?php /** * @package languageDefines * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: meta_tags.php 4273 2006-08-26 03:13:52Z drbyte $ */ // page title define('TITLE', 'Chicagoland Slot Cars'); // Site Tagline define('SITE_TAGLINE', 'Specialists for the slot car hobbiest'); // Custom Keywords define('CUSTOM_KEYWORDS', 'slot cars, scalextric, slot it, fly'); // Review Page can have a lead in: define('META_TAGS_REVIEW', 'Reviews: '); // separators for meta tag definitions // Define Primary Section Output define('PRIMARY_SECTION', ' : '); // Define Secondary Section Output define('SECONDARY_SECTION', ' - '); // Define Tertiary Section Output define('TERTIARY_SECTION', ', '); // Define divider ... usually just a space or a comma plus a space define('METATAGS_DIVIDER', ' '); // Define which pages to tell robots/spiders not to index // This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched. define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe'); // favicon setting // There is usually NO need to enable this unless you wish to specify a path and/or a different filename define('FAVICON','favicon.ico'); ?>

Thanks in advance.

Bob

18 Feb 2008, 7:40 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Meta Tag problems since upgrading to 1.3.8

The language file content you just posted is not based on v1.3.8. It's from an older version.
You need to merge your changes with the v1.3.8 version of that file, and upload the modified new version to your server.

This suggests to me that you've not merged all your customized files' changes during your upgrade ... so you may also be missing other updated features.

20 Feb 2008, 2:46 PM
#3
labob246 avatar

labob246

New Zenner

Join Date:
Sep 2007
Posts:
3
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

Yes you were absolutely right. Thank you very much. I have found multiple areas where I must have overwritten new code with old version code. Sorry about posting this questions multiple times, I goofed and couldn't see how to delete my second post.

Thanks again.

bob

12 Mar 2008, 6:06 PM
#4
skyedali avatar

skyedali

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

Hi

I have EXACTLY the same problem. I recently upgraded and also have the HOME_PAGE_TITLE.

Please can you tell me how to 'merge' these files?? I dont know where to start.

Many many thanks in advance

S

12 Mar 2008, 6:29 PM
#5
skyedali avatar

skyedali

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

Yay!!!!
It took hours but i've done. Pheww:clap:

12 Mar 2008, 6:30 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Meta Tag problems since upgrading to 1.3.8

Download and install WinMerge (a Windows file-comparison tool).
Drag your customized file into one side of the program, and the correct original Zen Cart version of the file into the other side.
Then reconcile the differences.

12 Mar 2008, 6:42 PM
#7
skyedali avatar

skyedali

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

If there is an easier way to merge files or indeed identify files in need of merging please advise. It would be really great to correct errors before i fall over them :)

Many thanks:D

1 Jun 2008, 6:07 AM
#8
acme_baby_co avatar

acme_baby_co

New Zenner

Join Date:
May 2008
Location:
Seattle, WA
Posts:
29
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

Yikes. Maybe there *isn't * an easier way.

I find the task a bit daunting myself.

12 Jun 2008, 11:50 PM
#9
moebiusenterprises avatar

moebiusenterprises

Zen Follower

Join Date:
May 2005
Location:
Phoenix Arizona (whew!)
Posts:
167
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

Ok, I've followed all the steps above, and still have the "HOME_PAGE_TITLE" issue (and it's completely isolated to the home page, the others seem to be fine.

grumble

any clue what I've missed?

13 Jun 2008, 1:27 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Meta Tag problems since upgrading to 1.3.8

Moebiusenterprises:

Ok, I've followed all the steps above, and still have the "HOME_PAGE_TITLE" issue (and it's completely isolated to the home page, the others seem to be fine.

grumble

any clue what I've missed?

How many files do you have named "meta_tags.php"? (check using developers toolkit). What are their names/paths?
Which file did you make the changes to?
What's the name of the template you've currently got active?

13 Jun 2008, 2:54 AM
#11
moebiusenterprises avatar

moebiusenterprises

Zen Follower

Join Date:
May 2005
Location:
Phoenix Arizona (whew!)
Posts:
167
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

DrByte:

How many files do you have named "meta_tags.php"? (check using developers toolkit). What are their names/paths?
Which file did you make the changes to?
What's the name of the template you've currently got active?

**found it... file didn't copy correctly.

**

17 Jun 2008, 3:53 AM
#12
tracyselena avatar

tracyselena

New Zenner

Join Date:
Mar 2005
Posts:
86
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

To fix this problem copy this (everything between ***):


// Home Page Only:
define('HOME_PAGE_META_DESCRIPTION', '');
define('HOME_PAGE_META_KEYWORDS', '');

// NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead.
define('HOME_PAGE_TITLE', ''); // usually best left blank

// EZ-Pages meta-tags. Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
// If you wish to use defaults for any of the 3 items for a given page, simply do not define it.
// (ie: the Title tag is best not set, so that site-wide defaults can be used.)
// repeat pattern as necessary
define('META_TAG_DESCRIPTION_EZPAGE_#','');
define('META_TAG_KEYWORDS_EZPAGE_#','');
define('META_TAG_TITLE_EZPAGE_#', '');

// Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.
// replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.
// repeat pattern as necessary
define('META_TAG_DESCRIPTION_page_name','');
define('META_TAG_KEYWORDS_PAGE_page_name','');
define('META_TAG_TITLE_PAGE_page_name', '');


into your includes/languages/english/meta_tags.php

I believe you can just paste it into the bottom of the file.

Then be sure to set any of the values you need.

Also remember to do any other language files you have as well. IE:
includes/languages/french/meta_tags.php

17 Jun 2008, 10:32 PM
#13
scott_see avatar

scott_see

New Zenner

Join Date:
Apr 2005
Location:
White Salmon, WA
Posts:
60
Plugin Contributions:
0

Re: Meta Tag problems since upgrading to 1.3.8

Wow, that worked. I'm been trying to fix this for a LONG time. :clap:

If it weren't for this form, I'd ditch Zen Cart.

But how were mere mortals like me supposed to figure this out???

Scott