Forums / General Questions / blank privacy page

blank privacy page

Locked

Views: 561

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 Nov 2009, 8:44 PM
#1
btman avatar

btman

New Zenner

Join Date:
Jun 2009
Location:
Wales UK
Posts:
92
Plugin Contributions:
0

blank privacy page

Can someone do a quick translation into english of what the problem is here cuasing the blank page from th error log?

[16-Nov-2009 20:18:54] PHP Warning: require(includes/languages/english/html_includes/define_Privacy.php)
[<a href='function.require'>function.require</a>]
: failed to open stream:
No such file or directory in /home/infotech/public_html/includes/templates/template_default/templates/tpl_privacy_default.php
on line 21
[16-Nov-2009 20:18:54] PHP Warning: require(includes/languages/english/html_includes/define_Privacy.php)
[<a href='function.require'>function.require</a>]:
failed to open stream:
No such file or directory in /home/infotech/public_html/includes/templates/template_default/templates/tpl_privacy_default.php
on line 21

[16-Nov-2009 20:18:54] PHP Fatal error: require() [<a href='function.require'>function.require</a>]:
Failed opening required 'includes/languages/english/html_includes/define_Privacy.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/infotech/public_html/includes/templates/template_default/templates/tpl_privacy_default.php on line 21

Thanks in advance.

16 Nov 2009, 9:36 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: blank privacy page

Quick translation: it's looking for a file that can't be found.

More specifically, it's looking for "define_Privacy.php" in your /includes/languages/english/html_includes/ folder.

The problem is that you've got something that's changed the way Zen Cart normally works.
ie: Zen Cart normally uses "define_privacy.php", not "define_Privacy.php"

So, something you've done to your site, either by your own editing or by an addon you've installed, has changed that to an uppercase letter.

Normally it's defined here, in your /includes/filenames.php file:```
define('FILENAME_DEFINE_PRIVACY', 'define_privacy');


You'll have to figure out what you've done to break it, and fix it.

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

17 Nov 2009, 4:30 PM
#3
btman avatar

btman

New Zenner

Join Date:
Jun 2009
Location:
Wales UK
Posts:
92
Plugin Contributions:
0

Re: blank privacy page

Fixed. Thank you. Saved a lot of head scratching...:smile: