Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Sep 2015
    Location
    Rome
    Posts
    20
    Plugin Contributions
    0

    Default 154 fresh install template css not loading

    I tried to do a fresh install of zencart 154.
    First, I tried installing zencart with softaculous, then I also tried manually installing it, but both times I got the same result. All the content is there (demo content, pages, products…), admin panel works fine, but there’s no css/template visible on the front-end. Front-end looks white and unformatted, not loading the classic default template.

    - I installed a new free template, and select it from the admin panel but it made no difference.
    - I cleaned the cache in the browser
    - I opened the site with different browsers, but had the same frustrating result, no css/template in the front-end.
    - I researched the net and found some possible fixes, such as renaming include/.htaccess and admin/include/.htaccess to htaccess_OFF.

    I tried these solutions, but it made no difference.

    The site is on a VPS with linux, php 5.4.42.
    On the same server I run several other scripts with no problems (magento, wordpress, joomla) there are no shortage of resources or memory limits and indeed I got running another zencart (still in version 1.5.1).

    Any help would be much appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: 154 fresh install template not loading

    What happens when you View Source of the page, find the stylesheet, and try to load that directly in your browser?

    What's the URL where we can see this in action?
    .

    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.

  3. #3
    Join Date
    Sep 2015
    Location
    Rome
    Posts
    20
    Plugin Contributions
    0

    Default Re: 154 fresh install template not loading

    I get this message:

    Secure Connection Failed

    An error occurred during a connection to "mysite".org. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the web site owners to inform them of this problem.

  4. #4
    Join Date
    Sep 2015
    Location
    Rome
    Posts
    20
    Plugin Contributions
    0

    Default Re: 154 fresh install template not loading

    Actually...

    if i copy the link includes/templates/classic/css/stylesheet.css (as in the source code) and put it after "mydomain" it load the stylesheet in the browser..

    as to say "mydomain".org/includes/templates/classic/css/stylesheet.css do load the stylesheet in the browser

    if I insted just click on the link in source code it will go to the error message as described above
    Last edited by Dadda; 18 Sep 2015 at 11:25 PM.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: 154 fresh install template not loading

    What is the link to where it is possible to see what is being generated on the page so that perhaps the appropriate settings could be advised?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Sep 2015
    Location
    Rome
    Posts
    20
    Plugin Contributions
    0

    Default Re: 154 fresh install template not loading

    the site is:

    globalnetservices.org

    by the way, having had a look at what DrByte wrote, i noticed that in the source code of the homepage there is a
    <base href="https://globalnetservices.org which should be instead http://

    in the config.php ssl is set to "false", so I don't see why base href=https.. this might be what generate the error...
    Last edited by Dadda; 19 Sep 2015 at 10:05 AM.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: 154 fresh install template not loading

    What is in your configure.php file for these 2 lines
    Code:
      define('HTTP_SERVER', 'http://www.your_domain.com');
      define('HTTPS_SERVER', 'https://www.your_domain.com');
    Last edited by kobra; 19 Sep 2015 at 11:11 AM.
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Sep 2015
    Location
    Rome
    Posts
    20
    Plugin Contributions
    0

    Default Re: 154 fresh install template not loading

    Quote Originally Posted by kobra View Post
    What is in your configure.php file for these 2 lines
    Code:
      define('HTTP_SERVER', 'http://www.your_domain.com');
      define('HTTPS_SERVER', 'https://www.your_domain.com');
    in catalog/include:
    define('HTTP_SERVER', 'http://globalnetservices.org');
    define('HTTPS_SERVER', 'https://globalnetservices.org');

    in admin/include:
    define('HTTP_SERVER', 'http://globalnetservices.org');
    define('HTTPS_SERVER', 'https://globalnetservices.org');
    define('HTTP_CATALOG_SERVER', 'http://globalnetservices.org');
    define('HTTPS_CATALOG_SERVER', 'https://globalnetservices.org');

    and
    define('ENABLE_SSL', 'false');
    define('ENABLE_SSL_ADMIN', 'false');
    Last edited by Dadda; 19 Sep 2015 at 11:35 AM.

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: 154 fresh install template not loading

    Is this posted from a local copy or a fresh copy from your server?

    Also, do you have a htaccess file at the root of your install?
    Last edited by kobra; 19 Sep 2015 at 11:47 AM.
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Sep 2015
    Location
    Rome
    Posts
    20
    Plugin Contributions
    0

    Default Re: 154 fresh install template not loading

    just to make it easier, I post the whole configure.php (from catalog/include) just downloaded from the server.

    <?php
    /**
    * @package Configuration Settings circa 1.5.4
    * @copyright Copyright 2003-2014 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2015-09-19 00:17:35
    */


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

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://globalnetservices.org');
    define('HTTPS_SERVER', 'https://globalnetservices.org');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // 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', '/');

    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/xxxxxxxxx/public_html/');

    //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS', '/home/xxxxxxxxx/public_html/logs');

    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_CHARSET', 'utf8');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'xxxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxx');
    define('DB_DATABASE', 'xxxxxxxxx');

    // 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/xxxxxxxxx/public_html/cache');

    // EOF

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Data Base not complete on fresh install
    By mitchcecg in forum Bug Reports
    Replies: 1
    Last Post: 12 Feb 2015, 08:45 PM
  2. CSS not loading even on default template
    By MikeG1969 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 22 Sep 2009, 10:13 AM
  3. Replies: 13
    Last Post: 31 May 2006, 08:02 AM
  4. New Install - template not loading?
    By scoobyis2cool in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 10 May 2006, 03:00 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