Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

my site wont come up now!! help

Locked

Started by cynthia_haide on 10 Oct 2007, 9:20 PM · Views: 3,542

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
10 Oct 2007, 9:20 PM
#1
cynthia_haide avatar

cynthia_haide

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Post #1 by cynthia_haide

Hi
as with pink i was doing so well, had my site up and running changing lots of things, all working but a few of the overrides didnt seem to be
so... i had made the custom template.. and the wording from the meta_tags file didnt seem to be drawing from my custom directory..so i thought ok i will trash the meta_tag file that is listed under language/english and see if mine from language/custom would work...
well i got error message....
Warning: main(DIR_WS_LANGUAGES_english/meta_tags.php) [function.main]: failed to open stream: No such file or directory in /home/emeralds/public_html/commerce/includes/languages/english.php on line 690

Fatal error: main() [function.require]: Failed opening required 'DIR_WS_LANGUAGES_english/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/emeralds/public_html/commerce/includes/languages/english.php on line 690
oh no!!!!!! so i went to the trash can and restored the file
still get the same error trying to open my site,,,what do i do????
i changed nothing but this one thing........
Help anyone>?????

10 Oct 2007, 9:26 PM
#2
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Post #2 by madmumbler

First -- deep breath. LOL

Second -- what's your link?

Third -- can you log into admin? If so, try switching back to the classic template. If it works, you know the problem is with your custom files and you can try overwriting them with back-ups.

HTH,

Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

10 Oct 2007, 9:30 PM
#3
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Post #3 by nomadrw

Cynthia:
All man never delete any files, they're all needed to run zen.
I hope you have a back up file of meta_tags.php if so simple place the file in the directory listed below
includes/languages/english/
When you do that get done we will tell you how to solve your other problem
good luck
nomad

10 Oct 2007, 9:36 PM
#4
cynthia_haide avatar

cynthia_haide

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Post #4 by cynthia_haide

madmumbler:

First -- deep breath. LOL

Second -- what's your link?

Third -- can you log into admin? If so, try switching back to the classic template. If it works, you know the problem is with your custom files and you can try overwriting them with back-ups.

HTH,

ok............
yes i can login to admin

my site is https://www.emeraldscreations.com

<breathing deeply>
10 Oct 2007, 9:38 PM
#5
cynthia_haide avatar

cynthia_haide

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Post #5 by cynthia_haide

madmumbler:

First -- deep breath. LOL

Second -- what's your link?

Third -- can you log into admin? If so, try switching back to the classic template. If it works, you know the problem is with your custom files and you can try overwriting them with back-ups.

HTH,

nomadrw:

Cynthia:
All man never delete any files, they're all needed to run zen.
I hope you have a back up file of meta_tags.php if so simple place the file in the directory listed below
includes/languages/english/
When you do that get done we will tell you how to solve your other problem
good luck
nomad
ok i didnt really delete i trashed it bu tthen restored it, i have a copy in my custom directory also
i have put it back it shows in in the english directory i can call it up and edit or show
..so......

10 Oct 2007, 9:41 PM
#6
cynthia_haide avatar

cynthia_haide

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Post #6 by cynthia_haide

cynthia_haide:

ok i didnt really delete i trashed it bu tthen restored it, i have a copy in my custom directory also
i have put it back it shows in in the english directory i can call it up and edit or show
..so......

also i can not change back to default temp either says same error

oh no....

11 Oct 2007, 12:02 AM
#7
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Post #7 by madmumbler

Start with a "fresh" download of ZC extracted on your computer.

Try from THAT rewriting the following files to your server:

/includes/languages/english.php
/includes/languages/english/meta_tags.php

I would suggest deleting them totally off your server before replacing them.

And stay with the "classic" template while doing this. Try to get the classic template "debugged" first before backtracking to fix your custom template.

HTH,

Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

11 Oct 2007, 12:03 AM
#8
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Post #8 by madmumbler

And are there any other files you might have overwritten in the process? Replace them from your "fresh" download and see if that helps.

Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

11 Oct 2007, 2:47 AM
#9
cynthia_haide avatar

cynthia_haide

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Post #9 by cynthia_haide

madmumbler:

And are there any other files you might have overwritten in the process? Replace them from your "fresh" download and see if that helps.

perfect!! i had copy on computer so i deleted the english.php and meta_tags.php from host then uploaded them from computer...thanks a bunch

so do i understand that there is and should only be 1 english.php file? and it has to be in includes/language? if i want to overwrite soething in it i can rewrite and save to custom folder?

and do all items come from language/english/meta_tags and not language?/custom/meta_tags?

11 Oct 2007, 6:19 AM
#10
drbyte avatar

drbyte

Sensei

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

Post #10 by drbyte

The master language file exists like this:
/includes/languages/LANGUAGE_NAME.php
or
/includes/languages/TEMPLATE_NAME/LANGUAGE_NAME.php
There is only ever one file in that folder ... ie: english.php
All others are ignored.

The page-specific language files exist like this:
/includes/languages/LANGUAGE_NAME/page_name.php
or
/includes/languages/LANGUAGE_NAME/TEMPLATE_NAME/page_name.php

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

11 Oct 2007, 12:51 PM
#11
madmumbler avatar

madmumbler

Zen Follower

Join Date:
Dec 2005
Location:
SWFL
Posts:
450
Plugin Contributions:
0

Post #11 by madmumbler

cynthia_haide:

perfect!! i had copy on computer so i deleted the english.php and meta_tags.php from host then uploaded them from computer...thanks a bunch

so do i understand that there is and should only be 1 english.php file? and it has to be in includes/language? if i want to overwrite soething in it i can rewrite and save to custom folder?

and do all items come from language/english/meta_tags and not language?/custom/meta_tags?

NP. Glad I could help!

The template override system can get confusing. The "default" file is:

includes/languages/english.php
To modify it, create: includes/languages/CUSTOM/english.php (CUSTOM being what you've named your "new" template that you're creating.)

BUT...

There's also an: includes/languages/english/CUSTOM/ folder. That's where a lot of your other files will go that you modify, like for the shopping cart message (make sure you change that if you haven't already), etc.

As DrByte, said if you use another language, it would be different but only because you're using a different language.

The rule of thumb is, you need to look through all the folders in the includes directory. Wherever you see a "classic" folder, you can make a folder for your CUSTOM template (whatever name you give it). Make sure when naming folders, you name them all the same. Don't change spelling or case or add hyphens, etc. If you start out with a template folder name of mynewtemplate, all the folders you create must have that same folder name or the ZC can't find them.

HTH,

Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!