Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Changed in english.php - now cant see the shop online anymore

Changed in english.php - now cant see the shop online anymore

Started by stefanl on 25 Mar 2011, 9:40 PM · Views: 1,216

Results 1 to 12 of 12
25 Mar 2011, 9:40 PM
#1
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Post #1 by stefanl

Hi,

After sitting and having translated the english words in english.php in includes...CUSTOM english.php and uploaded the english.php without any problem, suddenly I must have changed somethign wrong. Because now I cant see the web shop online anymore. I can only see the new tag line. Other than that its all a white blank page in the Firefox browser.

Any ideas which line in english.php I might have misstakenly changed?

Thanks in advance
Stefan

25 Mar 2011, 9:51 PM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Post #3 by nigelt74

Check for exclamation and speechmarks in your added text

Webzings Design
Semi retired from Web Design

25 Mar 2011, 9:52 PM
#4
drbyte avatar

drbyte

Sensei

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

Post #4 by drbyte

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

25 Mar 2011, 9:53 PM
#5
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Post #5 by stefanl

I found that when I temporarily deleted the CUSTOM folder, the web shop came back again, but this time of course not showing anymore all the translations of english words into swedish words I have made in file english.php

I definitely changed something in the includes/languages/english.php file

Only what?

25 Mar 2011, 9:54 PM
#7
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Post #7 by stefanl

gjh42:

Look at the latest myDebug file in your /cache/ folder. That should tell you what it choked on and where. If you need more help, post it here.

Thanks, only I have never used or done that. Never had to previously. Were and how is the debug program?

25 Mar 2011, 10:09 PM
#9
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Post #9 by nigelt74

stefanl:

I found that when I temporarily deleted the CUSTOM folder, the web shop came back again, but this time of course not showing anymore all the translations of english words into swedish words I have made in file english.php

I definitely changed something in the includes/languages/english.php file

Only what?

have you looked at the swedish language pack? was for 1.3.8 but i am fairly sure there have been very few changes to the language files
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=432

Webzings Design
Semi retired from Web Design

26 Mar 2011, 10:26 AM
#10
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,827
Plugin Contributions:
29

Post #10 by balihr

You might wanna take a look at the last line of your english.php file. If it ends with a blank line, that's causing your problem - it must end with ?> and absolutely nothing after that.

You can also post the complete file here and we'll figure it out.

My site - Pro ZC Help
My portfolio | My plugins

26 Mar 2011, 2:37 PM
#11
drbyte avatar

drbyte

Sensei

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

Post #11 by drbyte

balihr:

You might wanna take a look at the last line of your english.php file. If it ends with a blank line, that's causing your problem
The FAQ articles I linked to in my previous post explain this in more detail.
balihr:

it must end with ?> and absolutely nothing after that.
That's partly true. Or you could just remove the ?> altogether: https://www.zen-cart.com/tutorials/index.php?article=313

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

28 Mar 2011, 9:46 AM
#12
stefanl avatar

stefanl

Zen Follower

Join Date:
Aug 2009
Location:
SWEDEN
Posts:
198
Plugin Contributions:
0

Post #12 by stefanl

Guys,

You are so great all of you. I have read qwuickly through everything. The weekend had personal plans instead of work.

This morning I started WinMerge. I whent to Cach folder. And I opened Notepad++, thinking lets nail this bugthinghy.

It was all due to a little '

on line 252 (notepad++ and the cache debug) define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', '

By adding that one, next to the text: 'The Password Confirmation.. It solved it and now its up and running again.

Thanks big time guys! Glad you are all here.