Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Posts
    81
    Plugin Contributions
    0

    help question Fatal error:/autoload_func.php on line 90

    I installed on server. Store opened to home page with this Warning at the top:

    Warning: session.auto_start is enabled - please disable this PHP feature in php.ini and restart the web server.

    I made layout changes through the admin with layout and then the store dissappeared.

    So I reinstalled the ZenCart. The page that comes up has a fatal error:

    Fatal error: Call to a member function on a non-object in /includes/autoload_func.php on line 90

    Is this on my side or the hosting server?
    site:
    http://www.spittinimagesonline.com/index.php

    server PHP version: 4.4.4

    Thank you!!!

  2. #2
    Join Date
    Nov 2006
    Posts
    81
    Plugin Contributions
    0

    Default Re: Fatal error:/autoload_func.php on line 90

    This is the includes/configure.php file if needed:

    Code:
    <?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 "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.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      define('HTTP_SERVER', 'http://www.spittinimagesonline.com');
      define('HTTPS_SERVER', 'https://www.spittinimagesonline.com');
    
      // 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', '/spittinimages/');
      define('DIR_WS_HTTPS_CATALOG', '/spittinimages/');
    
      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/chrism/public_html/spittinimages/');
    
      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');
      define('DB_SERVER_USERNAME', '');
      define('DB_SERVER_PASSWORD', '');
      define('DB_DATABASE', '');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
    
      // 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/chrism/public_html/spittinimages/cache');
    
    ?>

  3. #3
    Join Date
    Nov 2006
    Posts
    81
    Plugin Contributions
    0

    Default Re: Fatal error:/autoload_func.php on line 90

    I reinstalled 3 times, still same error.

    The store comes up the very first time you go to store. Hit Refresh or go back and the error comes back.


    I moved it to a different directory on the last install:

    http://spittinimagesonline.com/store...php?main_page=


    Thanks!

    I have this on my server as a test and it installed and runs good, not sure what is going on.

    Appreciate all the help I can get. Thanks again.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Fatal error:/autoload_func.php on line 90

    The error message that you are getting in red at the top of the screen tells you what you need to do. The php.ini file is php's initialization file. It is set to automatically start a session which I guess is getting in the way of Zen Cart's attempots to do so. As a result some of the functionality used to build Zen Cart pages can't be properly executed.

    You need the automatic session start turned off, but whether you can do this directly, need your host to do it for you, or need a work around, will depend on how your server has been configured. This is a question to put to your web host.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Nov 2006
    Posts
    81
    Plugin Contributions
    0

    Default Re: Fatal error:/autoload_func.php on line 90

    That was the first thing that I did. Email support at the hosting company. I have not heard back (go figure?).

    I just wanted to make sure it was not something I did in the install process.

    I did try the .htacess file and it did not work. Maybe I misunderstood the use of that file.

    I'll wait to hear back from the support people.

    Thank you for taking the time to answer my post.

  6. #6
    Join Date
    Feb 2006
    Location
    Perth Western Australia
    Posts
    50
    Plugin Contributions
    0

    Default Re: Fatal error:/autoload_func.php on line 90

    I just went into the .htaccess file in public_html of the site and added the line:

    php_value session.auto_start 0


    It worked! Phew. :)

  7. #7
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Fatal error:/autoload_func.php on line 90

    Morning all,

    I have look over all the posts and done everything that has been said above....with no luck! One day the site was working the next not??

    1. Asked the host to make changes - cant do that as its a shared/virual server
    2. as soon as I add the "php_value session.auto_start 0" to my .htaccess file the server crashes and returns a 500 error

    I have tried replacing all the files and nothing!

    Does anyone have any other ideas? Please I am Desperate! Thank you in advance!!

    Cheers B.

 

 

Similar Threads

  1. Replies: 12
    Last Post: 17 Mar 2014, 11:10 PM
  2. v151 PHP Fatal error: Class 'QueryCache' (autoload_func.php)
    By Debbie2014 in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2012, 05:01 PM
  3. Fatal error: autoload_func.php: failed to open stream: No such file or directory
    By prashanth in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 6 Jun 2009, 02:54 AM
  4. Replies: 6
    Last Post: 1 Aug 2008, 05:24 PM
  5. Fatal Error in Sessions.php line 61
    By kevnj in forum Basic Configuration
    Replies: 7
    Last Post: 6 May 2007, 06:41 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