Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Define Pages not loading from mytemplate directory

    Upgrade from 1.3.7 to 1.3.8a went well. Just one minor bug persists.

    I tried to use Define Pages Editor and first it told me it can not write to the directory. Well, ok just changed to 777.

    My html_includes/mytemplate/define_conditions.php exists on the server but it shows me a strange path:

    /includes/languages/english/html_includes//define_conditions.php

    And it loads the defines page from the regular html_includes/ and not from the
    html_includes/mytemplate/

    what does this // in the path indicate? It should display my /mytemplate/

    Did I miss something? Any reset needed?


    Ahhh and my layout boxes show path sideboxes//ch_categories.php as well

    // again!? Should show as sideboxes/mytemplate/logo_sidebox.php

    where does this // come from?
    Live and learn... the Zen way.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    Check your config files for a trailing slash that shouldn't be there.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    Thank you for the fast reply. I will check and then post in a few minutes.
    Live and learn... the Zen way.

  4. #4
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    Ah, what config are we talking about?

    includes/configure.php ?

    nothing there...

    Where else?
    Live and learn... the Zen way.

  5. #5
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    This is from the admin/includes/configure.php

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');


    looks fine I think...
    Live and learn... the Zen way.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    Post the first 15 lines of the admin/includes/configure.php
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    OK:

    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters


    Does this show something? Don't you need a bit more....
    Live and learn... the Zen way.

  8. #8
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    :) Yes - I was thinking the first 15 lines or so after the file header.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    define('HTTP_SERVER', 'https://www.duda-inc.com/artwax');
    define('HTTPS_SERVER', 'https://www.duda-inc.com/artwax');
    define('HTTP_CATALOG_SERVER', 'http://artwax.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.duda-inc.com/artwax');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/wholesale/admin/');
    define('DIR_WS_CATALOG', '/wholesale/');
    define('DIR_WS_HTTPS_ADMIN', '/wholesale/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/wholesale/');
    Live and learn... the Zen way.

  10. #10
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Define Pages not loading from mytemplate directory

    I might add, the defines pages in my information box in my shop point to the files in /mytempate directory as it should. In admin, the defines pages editor can not load them...
    Live and learn... the Zen way.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 9
    Last Post: 19 Apr 2012, 05:56 PM
  2. Define Pages Editor Not Working After Directory Relocation
    By twofair in forum General Questions
    Replies: 3
    Last Post: 6 Nov 2010, 10:24 PM
  3. remove <meta description> from ez pages and define pages : help
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2010, 12:13 AM
  4. Define Pages not pullling from YOUR_TEMPLATE
    By leigh_341 in forum Customization from the Admin
    Replies: 5
    Last Post: 23 Jan 2009, 08:44 PM
  5. Define Pages Editor or Override Directory?
    By mlm2005 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Jul 2006, 03:51 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR