Forums / Basic Configuration / EZ Pages customisation issue

EZ Pages customisation issue

Views: 4,310

Results 21 to 28 of 28
5 Mar 2011, 2:53 AM
#21
drbyte avatar

drbyte

Sensei

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

EZ Pages customisation issue

adem.i:

I'm not sure if this is completely related, but i read somewhere that in versions 1.3.9x, a debuggers is located within the installation and all debug files are located in the 'cache' folder.Yes: https://www.zen-cart.com/tutorials/index.php?article=82
adem.i:

The latest txt file has the following error

[04-Mar-2011 20:49:06] PHP Warning: require_once(includes/languages/english/header.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in ...

That message means that your /ademcpanel/includes/languages/english/header.php file is missing.
And, yes, that would explain some blank pages.

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

5 Mar 2011, 3:30 AM
#22
adem_i avatar

adem_i

New Zenner

Join Date:
Jul 2010
Location:
Sydney, Australia
Posts:
86
Plugin Contributions:
0

Re: EZ Pages customisation issue

I just checked the back up files i created before attempting to upgrade and there is no header.php file located within /admin/includes/languages/english/header.php - back when i had it named admin..

can i just copy it from a new 1.3.9h installation file or are there modifications i'd have to make to that before putting it in there? i don't know why it's not in there.. when i had 1.3.9g, it was just installed via the ipage servers automatically :/

relatively new to Zen Cart

5 Mar 2011, 4:05 AM
#23
adem_i avatar

adem_i

New Zenner

Join Date:
Jul 2010
Location:
Sydney, Australia
Posts:
86
Plugin Contributions:
0

Re: EZ Pages customisation issue

There is already a header.php file within includes/languages/english/header.php

within admin\includes\languages\english in the installation files for 1.3.9h, there is no header.php file.

relatively new to Zen Cart

5 Mar 2011, 1:51 PM
#24
puppet87112 avatar

puppet87112

New Zenner

Join Date:
Oct 2004
Location:
Albuquerque, NM
Posts:
91
Plugin Contributions:
0

Re: EZ Pages customisation issue

If you open the /admin/includes/language/english.php file what does it show on like 649? that maybe the cause it may not be.

5 Mar 2011, 2:28 PM
#25
adem_i avatar

adem_i

New Zenner

Join Date:
Jul 2010
Location:
Sydney, Australia
Posts:
86
Plugin Contributions:
0

Re: EZ Pages customisation issue

line 643: // include template specific header defines
line 644: if (file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir . '/' . FILENAME_HEADER)) {
line 645: $template_dir_select = $template_dir . '/';
line 646: } else {
line 647: $template_dir_select = '';
line 648: }
line 649: require_once(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . FILENAME_HEADER);

relatively new to Zen Cart

5 Mar 2011, 3:38 PM
#26
drbyte avatar

drbyte

Sensei

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

Re: EZ Pages customisation issue

Looks like you've got your non-admin version of english.php copied into your admin side for some reason. The files are NOT the same. Their content is VERY different.

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

5 Mar 2011, 11:40 PM
#27
adem_i avatar

adem_i

New Zenner

Join Date:
Jul 2010
Location:
Sydney, Australia
Posts:
86
Plugin Contributions:
0

Re: EZ Pages customisation issue

Thank you so much for all your help. I can't thank you enough for assisting. As I slowly learn more with the structure of zen cart, i'm definitely going to give back to the community. thanks again!

relatively new to Zen Cart

6 Mar 2011, 6:27 AM
#28
puppet87112 avatar

puppet87112

New Zenner

Join Date:
Oct 2004
Location:
Albuquerque, NM
Posts:
91
Plugin Contributions:
0

Re: EZ Pages customisation issue

Good to hear we could all help, good luck.