Results 1 to 3 of 3
  1. #1
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Fatal errors after clean (successful) install

    Did a clean install of 1.3.0.1. The install script ran fine and indicated a successful install. When i attempted to start the cart, i got this error:

    Fatal error: Call to a member function get_template_part() on a non-object in /ftp/comm/gaheaton/www.gaheatononline.com/html/zcart/index.php on line 29.

    line 28,29 &30:

    $language_page_directory = DIR_WS_LANGUAGES . $_SESSION['language'] . '/';
    $directory_array = $template->get_template_part($code_page_directory, '/^header_php/');
    foreach ($directory_array as $value) {


    also when i attempt to start the /admin, i get:
    Fatal error: Call to undefined function zen_get_languages() in /ftp/comm/gaheaton/www.gaheatononline.com/html/zcart/admin/index.php on line 25

    here is the config.php

    <?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.gaheatononline.com');
    define('HTTPS_SERVER', 'https://www.gaheatononline.com');

    // 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', '/zcart/');
    define('DIR_WS_HTTPS_CATALOG', '/zcart/');

    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', '/comm/gaheaton/www.gaheatononline.com/html/zcart/');

    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', '');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
    define('DB_SERVER_USERNAME', '*****');
    define('DB_SERVER_PASSWORD', '*****');
    define('DB_DATABASE', 'gaheatononline');
    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', 'file');
    define('DIR_FS_SQL_CACHE', '/comm/gaheaton/www.gaheatononline.com/html/zcart/cache');

    ?>



    Any help would be appreciated. Spent most of the day searching on the error and couldn't find anything specific to the line 29 error.

    Thanks in advance,
    --dusty

  2. #2
    Join Date
    May 2006
    Posts
    7
    Plugin Contributions
    0

    Default Re: Fatal errors after clean (successful) install

    Wiped it and did a 1.2.7 install and that works fine. Going to stay with that.
    --dusty

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

    Default Re: Fatal errors after clean (successful) install

    Sounds like you just had some files not load correctly and uploading the files again from a clean Zen Cart v1.3.0.1 would of fixed it ...
    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!

 

 

Similar Threads

  1. Blank White page after clean install
    By jittbug in forum Installing on a Windows Server
    Replies: 3
    Last Post: 23 Sep 2011, 04:46 AM
  2. Blank Page after brand new successful install
    By runlikeagirl in forum Installing on a Windows Server
    Replies: 2
    Last Post: 13 Jun 2011, 01:33 AM
  3. Upgrade and Clean Install Same Errors
    By pillaroom in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 21 Feb 2008, 07:21 AM
  4. After successful install ( error?)
    By neewby in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 27 Aug 2006, 04:15 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