Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    Default Website not reading template

    I've set up a couple other Zen Cart stores, so I have a general idea of what I am doing, but I have no idea what is happening now. Everything is missing: CSS, images, etc. Even the classic template doesn't have anything when I select that. Here's the link:

    http://www.linmorel.com/store/

    Yes, I have a few things to fix yet, but I am more concerned about getting the site to read the images, CSS, etc.

    Any help would be appreciated.

    Thanks,

    Marci

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

    Default Re: Website not reading template

    Who is the host?

  3. #3
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: Website not reading template

    This happened to me about a week ago with a new site I was making. I tried using the classic template and overrides, there were things missing. This was on version 1.3.2

    I had to grab stylesheet.css from another website using classic template.

    Also, you may have missing files on the ftp upload. That is quite common also. I'd check that too.

    As for using the classic template in the future, I don't think I'll make that mistake again.

  4. #4
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Website not reading template

    Thanks, everyone!

    The hosts are AAces.com. They do not support Zen Cart nor do they offer it as a Fantastico install, although they have great suppor otherwise. Not a big deal as I am accustomed to installing via FTP anyway.

    Okay. I can easily grab that from my own sites.

    I did the full install, so I shouldn't be missing any files. If I was, which should I look for?

    Thanks,

    Marci

  5. #5
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Website not reading template

    Please post your includes/configure.php minus your password

  6. #6
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Website not reading template

    Here it is:

    <?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
    */


    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    define('HTTP_SERVER', 'http://www.linmorel.com');
    define('HTTPS_SERVER', 'https://safesurf.info/~linmorel/store/');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', '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_CATALOG', '');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/linmorel/public_html/store/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '');
    define('DB_SERVER_PASSWORD', '');
    define('DB_DATABASE', 'linmorel_zen');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/linmorel/public_html/store/cache');

    ?>

    Thanks!

    Marci

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Website not reading template

    It might help if you put the single slash back in:

    define('DIR_WS_CATALOG', '/');

    instead of
    define('DIR_WS_CATALOG', '');
    .

    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.

  8. #8
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Website not reading template

    I don't know how that came out as I didn't change that. In any case, it didn't help. (sigh)

    Thanks!

    Marci

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Website not reading template

    Change this:
    define('HTTP_SERVER', 'http://www.linmorel.com');
    define('HTTPS_SERVER', 'https://safesurf.info/~linmorel/store/');
    To read:
    define('HTTP_SERVER', 'http://www.linmorel.com');
    define('HTTPS_SERVER', 'https://safesurf.info/~linmorel');
    Change this:
    define('DIR_WS_CATALOG', '');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    to read:
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Mar 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Website not reading template

    Thanks, Linda! That worked perfectly. Now, all i have to do is get my permissions set properly again.

    Marci

 

 

Similar Threads

  1. v151 Website taking long too load even after trying & reading your past posts
    By shahmeet171995 in forum General Questions
    Replies: 6
    Last Post: 10 Feb 2013, 07:49 AM
  2. store not reading database?
    By VBtech in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 5 Dec 2012, 04:57 AM
  3. Website not showing any template colours or design
    By raptor_55 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 21 Jul 2010, 07:05 AM
  4. define_pages_editor not reading template files
    By bizshop1 in forum Customization from the Admin
    Replies: 1
    Last Post: 30 Mar 2009, 06:01 AM

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