Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Disclaimer Page +++++

    Quote Originally Posted by derekhorne View Post
    includes/extra_datafiles/extra_page_filenames.php
    define('FILENAME_DEFINE_DISCLAIMER', 'define_disclaimer');

    includes/languages/english/html_includes/classic/define_disclaimer.php
    <p>this is the disclaimer page<br/>blah blah blah</p>

    includes/modules/pages/disclaimer/
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    // include template specific file name defines
    $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_DISCLAIMER, 'false');
    $breadcrumb->add(NAVBAR_TITLE);
    Quote Originally Posted by derekhorne View Post
    Warning: require(includes/languages/english/html_includes/disclaimer.php) [function.require]: failed to open stream: No such file or directory in d:\inetpub\wwwroot\bargainbooks4kids.com\html\includes\templates\template_defaul t\templates\tpl_disclaimer_default.php on line 24

    line 24 is:
    require($define_page);
    I'm guessing that your FILENAME_DEFINE_DISCLAIMER definition that you posted above isn't actually what's in the file on your server.
    It's looking for "disclaimer.php" instead of "define_disclaimer.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.

  2. #12
    Join Date
    Sep 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Disclaimer Page +++++

    DrByte,

    Thanks so much for your help!

    In the end it was actually multiple extra page filename defines that were confusing each other. These were legacy from earlier attempts at new pages...

    Thanks again for helping em with this!!

    Derek

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Making a "Sale Disclaimer" page...
    By toomanyknots in forum General Questions
    Replies: 0
    Last Post: 3 Apr 2015, 10:30 PM
  2. Is it possible to post a disclaimer on a certain page?
    By ShopShogun in forum General Questions
    Replies: 5
    Last Post: 28 Feb 2011, 08:55 PM
  3. Disclaimer
    By braggweb in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jan 2009, 09:50 PM
  4. Adult site disclaimer page....
    By thelatinbarbie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Oct 2007, 07:22 PM
  5. Shipping Disclaimer?
    By jacunivac in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 27 Aug 2007, 03:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg