Forums / General Questions / HOME_PAGE_TITLE won't go away

HOME_PAGE_TITLE won't go away

Locked

Views: 1,978

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
7 Jun 2009, 5:30 PM
#1
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

HOME_PAGE_TITLE won't go away

Hi.

I've just upgraded (by copying a working upgrade from one directory to the home directory)

I have HOME_PAGE_TITLE back in the browser. I've updated my meta tag file in INCLUDES>LANGUAGES>ENGLISH>CUSTOM but its still showing up. Am baffled. I've double checked that I've gone into english folder before someone says it!

What else could it be? Oh and its fine on all other pages on the website. The only one showing HOME_PAGE_TITLE is the index.php page.

Thanks in advance!

7 Jun 2009, 5:33 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HOME_PAGE_TITLE won't go away

Can't see anything???

Where is your site?

Zen-Venom Get Bitten

7 Jun 2009, 5:34 PM
#3
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Ooops sorry. www.icklebits.co.uk

7 Jun 2009, 5:38 PM
#4
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

What I did was installed the new version in www.icklebits.co.uk/icklebits_store and then copied the folders and files over on top of the original in the main directory.

When I click on index.php in the home directory I get the original front page of my shop rather than the front page I edited in icklebits_store. (I.e when you go in to the admin and define main page). (Other pages are changed but I bet you're going to tell me that they're stored in the database right?)

The whole thing is something to do with the index.php file right?

P.S Is there any particular file that I can check to make sure its the new version and not the old one?

7 Jun 2009, 5:49 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HOME_PAGE_TITLE won't go away

Post these lines from your meta_tags.php file

<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2007 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 6668 2007-08-16 10:05:09Z drbyte $
 */

// page title
define('TITLE', 'Zen Cart!');

// Site Tagline
define('SITE_TAGLINE', 'The Art of E-commerce');

// Custom Keywords
define('CUSTOM_KEYWORDS', 'ecommerce, open source, shop, online shopping');

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

Zen-Venom Get Bitten

7 Jun 2009, 5:52 PM
#6
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Another clue to what I might have done. The define_main_page.php is showing up the way it did before i copied all files over. Now I've checked includes>languages>english>html_includes>define_main_page and its not the one that is showing.

Something somewhere is pointing in the wrong direction

Blimey I hope this makes sense!

7 Jun 2009, 5:55 PM
#7
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

I haven't got half of that in my meta tag file?! None of the stuff with the word HOME in:

This is what I've got

<?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', 'icklebits!'); // Site Tagline define('SITE_TAGLINE', '- 12th scale dolls house miniatures'); // Custom Keywords define('CUSTOM_KEYWORDS', 'ickle, icklebits, bits, paper plates, miniature, miniatures, dolls, dollhouse, dollshouse, 12th scale, twelth scale, ecommerce, open source, shop, online shopping'); // 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'); ?>
7 Jun 2009, 5:56 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HOME_PAGE_TITLE won't go away

includes>languages>english>html_includes>define_main_page and its not the one that is showing.
Check to see if you have an override folder as you should at
includes>languages>english>html_includes>lavender>define_main_page
https://www.zen-cart.com/tutorials/index.php?article=230

Zen-Venom Get Bitten

7 Jun 2009, 5:57 PM
#9
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

kobra:

Check to see if you have an override folder as you should at
includes>languages>english>html_includes>lavender>define_main_page
https://www.zen-cart.com/tutorials/index.php?article=230

Ah right...yes I do have an override and that makes more sense. That's that bit sorted...now just the HOME bit. (Thanks for sorting that bit!)

7 Jun 2009, 6:00 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HOME_PAGE_TITLE won't go away

@version $Id: meta_tags.php 4273 2006-08-26 03:13:52Z drbyte $

versus

@version $Id: meta_tags.php 6668 2007-08-16 10:05:09Z drbyte $

You are not using the changed and current meta file and maybe others....using old files that have changed with new code is fatal.

Look in your docs folder and find the change log

Zen-Venom Get Bitten

7 Jun 2009, 6:02 PM
#11
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Oh this doesn't sound good. I've gone to docs. I've found the changelog files. What do you want to know?

7 Jun 2009, 6:05 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HOME_PAGE_TITLE won't go away

Oh this doesn't sound good. I've gone to docs. I've found the changelog files. What do you want to know?
Compare all of your overriden files against the changelog to see if you need to update them

Zen-Venom Get Bitten

7 Jun 2009, 6:06 PM
#13
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

I have no idea if this means anything to you but the files that you find in the lavender (i.e custom) are the ones that were in the version previous and I just copied them over. (Because they were custom).

Oh I wish I was a technowhizz and could explain this better. :dontgetit:(

7 Jun 2009, 6:07 PM
#14
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Thats the bit thats lost me. I copied the files from the new install over the top of the old install. The only ones that are still the old install is the ones int he lavender file.

Oh I'm sorry for being hopeless at this!

Do I just need to update the custom files?!

7 Jun 2009, 6:09 PM
#15
drbyte avatar

drbyte

Sensei

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

Re: HOME_PAGE_TITLE won't go away

If you've got 2 stores in 2 separate folders, and now you're experiencing the problems you describe after copying files from one to the other, then you probably have an old version in one folder, and a newer version in the other. And, when you did your "copy" to move things from one folder to the other, perhaps you mistakenly told your FTP program to ignore any existing files, instead of overwriting them?

Either that or you're trying to use a custom template from an old version, without upgrading your custom template for compatibility with the new version.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jun 2009, 6:14 PM
#16
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

DrByte:

Either that or you're trying to use a custom template from an old version, without upgrading your custom template for compatibility with the new version.

What I did was in cpanel.

I installed the new version into icklebits_store using fantastico.

I copied the lavender file from the original shop (old version) and put it into new version.

When I had it all sussed and the way I wanted it I did the following:

I just clicked on each folder within icklebits.co.uk/icklebits_store and selected copy folder. I then clicked on public_html to copy it in there.

The lavender folder is from the original. When I installed the new version in icklebits_store I copied the lavender file over from the old one.

So how do i upgrade lavender? I thought the whole point of a custom folder was that it stayed the same if you upgrade?!

7 Jun 2009, 6:23 PM
#17
drbyte avatar

drbyte

Sensei

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

Re: HOME_PAGE_TITLE won't go away

As kobra mentioned, your language files (esp the meta_tags.php) are old and are missing the new things added in the newer version. Additionally, your template will have similar problems.
The standard upgrade procedure is to compare each file (you can do it quickly and easily using a free automated tool like WinMerge) between old and new version, and integrate anything missing from your custom files where new things were added to the original files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jun 2009, 6:28 PM
#18
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Ah okay.

Soooooo....if I just copy the files from includes>languages>english and overwrite the ones in lavender then I should be fine?

Then I just have to alter the bits in them to what I need?

Do I need to upgrade the ones in all the other lavender files? i.e in templates etc?

7 Jun 2009, 6:35 PM
#19
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Right, I've updated the new version metatags file into my lavender folder. I now get a blank page when I go to my website...

am hoping that will rectify itself once I update the other 5 files.

7 Jun 2009, 6:40 PM
#20
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: HOME_PAGE_TITLE won't go away

Oh....

I've now updated all files in my includes>languages>english>lavender file to have the new version.

I have a blank white page when I go to www.icklebits.co.uk/index.php

???