Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Theme turns into blank page when I change language

Theme turns into blank page when I change language

Locked

Views: 887

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
5 Nov 2009, 10:26 PM
#1
atmosx avatar

atmosx

New Zenner

Join Date:
Nov 2009
Posts:
16
Plugin Contributions:
0

Theme turns into blank page when I change language

Hello,

I purchased a theme from "monsterstemplate" for my zen-cart. While the theme works nice in English, when I switch language (Greek) it does not.

I put all the files in both Greek and English language. I even translated the files in Greek.

Now however, it does show up in neither, Greek or English.

It displays a blank page as if it's nothing there.

I need to get this template in Greek. Which files do I need to edit?

Regards

5 Nov 2009, 11:31 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Theme turns into blank page when I change language

Use the debug logging utility to find out what error you've created on your site: https://www.zen-cart.com/tutorials/index.php?article=82
Then lookup the error in the FAQ area and/or the forum, for the resolution.

6 Nov 2009, 2:26 PM
#3
atmosx avatar

atmosx

New Zenner

Join Date:
Nov 2009
Posts:
16
Plugin Contributions:
0

Re: Theme turns into blank page when I change language

DrByte:

Use the debug logging utility to find out what error you've created on your site: https://www.zen-cart.com/tutorials/index.php?article=82
Then lookup the error in the FAQ area and/or the forum, for the resolution.

Thank you for your pointers. They were very enlightening :smile:

I followed step by step your instructions and solved the problem.

My problem as show by the php debug script was:

[06-Nov-2009 06:22:26] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/greek/header.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/atmat/metrofarmacy.com/includes/languages/greek.php on line 650

So, after a little digging I made sure that this file does not exist and I created an empty file using touch. Now works! :clap:

I can continue editing, thanks again!