Forums / General Questions / Changed Meta Tags and get blank pages

Changed Meta Tags and get blank pages

Views: 1,450

Results 1 to 13 of 13
25 Mar 2011, 2:03 AM
#1
blossomandbe avatar

blossomandbe

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Changed Meta Tags and get blank pages

Hi,
I have been trying this since yesterday:

"o change the title text to say what you want, open the includes/languages/english/meta_tags.php file in your text editor. Find the following line of code:

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

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

Replace the title and tagline text with your own text, making sure that the single quote marks are not left out and new quote marks are not added.

Save the edited file to includes/languages/english/custom/meta_tags.php and upload it to your server."

When i change the includes/languages/english/meta_tags.php file my whole site disappears. When i save it to custom it does nothing. I have searched my developers toolkit and changed the files in there but nothing changes.
:frusty:

Any input would be great

25 Mar 2011, 2:13 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,683
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

What did you change the text to? Do you have a custom template installed?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

25 Mar 2011, 12:05 PM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

If your "whole site disappears", it's likely you've made a mistake in the editing and either removed a ' or ; which is causing the blank page.

Do you have a custom template? Is it active? What is it called? Did you upload the changed meta_tags.php file to the server?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

25 Mar 2011, 1:55 PM
#4
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

look to make sure you didn't accidently remove a ' } ; that sort of thing too.

If it still doesn't work add in a new meta file from your original setup assuming you still have one:rolleyes: If you don't you'll have to get one to replace it.

If you replace it and still have the same issue is continuing the something else happened - did you modify the index files?

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

25 Mar 2011, 2:24 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,683
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

Moderator's note - have moved posts with a different problem to a new thread.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Mar 2011, 2:09 AM
#6
blossomandbe avatar

blossomandbe

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

Kim:

What did you change the text to? Do you have a custom template installed?

I changed the text to :

Blossom and Be

It's all about you...

I have a monster templates template.

28 Mar 2011, 2:12 AM
#7
blossomandbe avatar

blossomandbe

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

afo:

If your "whole site disappears", it's likely you've made a mistake in the editing and either removed a ' or ; which is causing the blank page.

Do you have a custom template? Is it active? What is it called? Did you upload the changed meta_tags.php file to the server?

I am sure that i only put the text into the ' marks.

It is not blank now but completely wrong all over.

https://www.blossomandbe.com

My zencart site has been working fine so far. Yes i uploaded the changed file to the server.

28 Mar 2011, 2:56 AM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,683
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

Blossom and Be

It's all about you...

Needs to be:

Blossom and Be

It's all about you...

The \ is called an escape.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Mar 2011, 4:32 AM
#9
blossomandbe avatar

blossomandbe

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

Kim:

Needs to be:

Blossom and Be

It's all about you...

The \ is called an escape.

Thanks, I did that and i didn't loose everything and it didn't go all over the place but.... it hasn't changed the title?? It is still Zen Cart! The Art of E-commerce.

I don't know what is going on here. I have contacted the template people to see if they know.

28 Mar 2011, 7:40 AM
#10
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,805
Plugin Contributions:
22

Re: Changed Meta Tags and get blank pages

blossomandbe:

Hi,
Save the edited file to includes/languages/english/custom/meta_tags.php and upload it to your server."

When i change the includes/languages/english/meta_tags.php file my whole site disappears.

Where exactly are you saving your meta_tags.php file?
You should save it to your includes/languages/english/Template1/meta_tags.php directory since your template is called Template1. Check if you already have that directory. If not, create it, that'll be your language override directory.

My site - Pro ZC Help
My portfolio | My plugins

29 Mar 2011, 3:04 AM
#11
blossomandbe avatar

blossomandbe

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

balihr:

Where exactly are you saving your meta_tags.php file?
You should save it to your includes/languages/english/Template1/meta_tags.php directory since your template is called Template1. Check if you already have that directory. If not, create it, that'll be your language override directory.

Yes, I am saving it to that folder.

But i am just now having some confusion over whether I have named some folders wrong along the way. My template name that i uploaded to zen cart (and chose under template selection) is Template 24712. Then all the directory files are under Template1. Could that be the problem?

Thank you sooo much for your time. I know i have mucked up somewhere but just don't know enough, barely anything to find the problem...

29 Mar 2011, 7:58 AM
#12
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,805
Plugin Contributions:
22

Re: Changed Meta Tags and get blank pages

From what I can see, you've solved your problem, right?

I don't remember anymore, maybe I've mixed something up... Now your template is in "Template 24712" directory... I suggest you rename that and not use capital letter or spaces. Rename it something like "my_template" and then check your includes/languages directory and subdirectories and rename accordingly. Also, check includes/modules and all subdirs.
in the future, whenever you install any addon, you must check all it's directories and subdirectories and rename the template directory names.

Also, i suggest you install Image Handler from the free addons asap, your images are too large in filesize.

My site - Pro ZC Help
My portfolio | My plugins

31 Mar 2011, 11:24 PM
#13
blossomandbe avatar

blossomandbe

New Zenner

Join Date:
Mar 2011
Posts:
7
Plugin Contributions:
0

Re: Changed Meta Tags and get blank pages

Thank you for your advice. I will do that. I am just so worried about mucking things up again..... But i have just learned that your files need to be in order or there will be problems in the future.

That is what happened this time. I didn't name my template files properly - the same as the template file that was being used in zen cart. If that helps another silly person like me in the future great.

:blush: