Results 1 to 8 of 8
  1. #1
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Problem after fresh installation ion IIS6

    Hi,
    I've just installed the newest zen-cart version on a dedicated Windows-Server. I can log into the admin-account and do all the configuration, but I can't open the normal shop-address. This gives the following error-message:

    Call to a member function get_template_part() on a non-object
    (Line 29 in index.php)

    Any idea?
    For testing, this ist the URL:
    http://shop.pferde-im-visier.de

    At the moment, I didn't delete the zc_install Directory and both config-files are writable. So feel free to change some settings if you see an error.

    Many thanks for your help!

    Thommy

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

    Default Re: Problem after fresh installation ion IIS6

    You could have either bad or corrupted files loaded ...

    Try reloading the files from a good copy of Zen Cart v1.3.0.1 that you can get from here ...

    See if that doesn't help ...

    NOTE: save your files from the website for:
    /includes/configure.php
    /admin/includes/configure.php

    so as not to overwrite the ones on the website ...
    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: v1.5.5]
    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!

  3. #3
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problem after fresh installation ion IIS6

    Hi,

    now, I've downloaded the newest version directly from your web-site (last time I loaded the german version from your austrian site), and made a completely new installation,- but the problem still exists. The same error-message as before.

    Thommy

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem after fresh installation ion IIS6

    Thommy,

    I suspect your configure.php files are the problem.
    Can you post your /includes/configure.php file contents here, without the passwords?
    .

    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.

  5. #5
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Problem after fresh installation ion IIS6

    Sure, here it comes:

    <?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://shop.pferde-im-visier.de');
    define('HTTPS_SERVER', 'http://shop.pferde-im-visier.de');

    // 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', 'https://shop.pferde-im-visier.de/');

    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', 'D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\inetpub\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\piv-online/');

    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', 'xxxxxxx');
    define('DB_SERVER_PASSWORD', '****************');
    define('DB_DATABASE', 'pivshop');
    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', 'database');
    define('DIR_FS_SQL_CACHE', 'D:/cache');

    ?>

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem after fresh installation ion IIS6

    a few things I'd recommend updating:

    change these lines:
    PHP Code:
    define('DIR_WS_HTTPS_CATALOG''https://shop.pferde-im-visier.de/');
    define('DIR_FS_CATALOG''D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\inetpub\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\piv-online/');
    define('DIR_FS_SQL_CACHE''D:/cache'); 
    to:
    PHP Code:
    define('DIR_WS_HTTPS_CATALOG''/');
    define('DIR_FS_CATALOG''D:/inetpub/piv-online/');
    define('DIR_FS_SQL_CACHE''D:/cache'); 
    Last edited by DrByte; 7 Jun 2006 at 04:25 AM.
    .

    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.

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

    Default Re: Problem after fresh installation ion IIS6

    unfortunately this doesn't help.
    I made the changes and when I now try to open the shop-url, I am redirected to the admin-URL. When I use the link "Online Catalog" in the admin-area, I get the following error-message:

    Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.require]: failed to open stream: No such file or directory in D:\Inetpub\piv-online\index.php on line 43

    Fatal error: require() [function.require]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.;c:\program files\php5\includes') in D:\Inetpub\piv-online\index.php on line 43

    Thommy

  8. #8
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Problem after fresh installation ion IIS6


    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', 'D:/inetpub/piv-online/');
    define('DIR_FS_SQL_CACHE', 'D:/cache');
    change to:

    Code:
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', 'D:\\inetpub\\piv-online\\');
    define('DIR_FS_SQL_CACHE', 'D:\\cache');
    it usually takes two ' \\ ' from the web under Microsoft Windows Server access (no matter which edition or build it might be).

    In the mean time, I have also found two other errors from your file's readings above.

    If this line is set to a secured protocol (HTTPS):


    define('DIR_WS_HTTPS_CATALOG', 'https://shop.pferde-im-visier.de/');
    then, I assume this one should also be set under SSL as well:

    Code:
    define('HTTPS_SERVER', 'https://shop.pferde-im-visier.de');


    As for this one:


    Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.require]: failed to open stream: No such file or directory in D:\Inetpub\piv-online\index.php on line 43
    There's a missing front-slash according to this error message.

    If you change:


    define('DIR_WS_INCLUDES', 'includes/');
    into:

    Code:
    define('DIR_WS_INCLUDES', '/includes/');
    (as a test only) - will the error message appear again ?

 

 

Similar Threads

  1. v154 No images after fresh installation on bravenet server
    By Dstore in forum Installing on a Linux/Unix Server
    Replies: 24
    Last Post: 31 Jul 2016, 04:44 PM
  2. v151 Problem logging into Admin after fresh install...
    By etienv in forum Installing on a Linux/Unix Server
    Replies: 16
    Last Post: 5 Feb 2013, 10:25 PM
  3. Cannot create customer account even after fresh installation
    By Karts in forum Managing Customers and Orders
    Replies: 1
    Last Post: 24 Aug 2011, 10:31 AM
  4. fresh installation problem
    By etoile03 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 19 Aug 2006, 11:55 PM
  5. After fresh installation getting this error
    By prabhu.chinnee in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 4 Jul 2006, 07:37 AM

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