Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1
    Join Date
    Jul 2007
    Posts
    3
    Plugin Contributions
    0

    Default Problem with install - cannot instantiate class - autoload_func.php

    I've been trying to install zencart without success.

    I've already uploaded all the files twice (different ftp clients), have created the configure.php files, modified access to files and folders (chmod), and always get a 500 server error page when hiting the install page.

    Checking the error.log in the store (catalog) directory, the following error shows up:
    PHP Fatal error: Cannot instantiate non-existent class: notifier in /home/mydomain/public_html/store/includes/autoload_func.php on line 79


    Does anyone know how to sort this problem?

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    A neat thing this forum does is to put similar threads at the bottom of a new thread. After you post a new thread, it will see if anything similar has been discussed.

    One of those at the bottom of this thread should be helpful as these things are almost always a bad upload or incorrect configure file.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Jul 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    Hey dbltoe, thanks for pointing that topic.
    I searched for this problem here and couldn't find any useful topic before opening this thread.

    Just for the sake of it, I uploaded everything again (third time), and double checked once again if files were corrupted, had the wrong access rights, etc.
    Everything was fine, but still, it didn't work.

    When creating the configure.php files, I also tried two different things:
    1. Used the configure.php files exactly as in the dist-configure.php (no edits to those files)
    2. Modified those files with the correct settings (domain, paths, url, database, etc...)

    With option 1, I still get the same entry in the error_log file:
    Cannot instantiate non-existent class: notifier

    With option 2, I get no entries in the error_log, but still the same 500 error page is displayed.

    With both options, I also tried the following code in the application_top.php file:
    Code:
    define('DEBUG_AUTOLOAD', true);
    The same page was returned with no further error/debug messages.

    Does anyone know what may be the problem? Or how I can get more insights about it?


    I wonder if this problem is related to the settings in the server.
    As I use a hosting company, I will not be able to change those setting myself (but can always request them if I know what is required).

    Does anyone know if the server settings may be causing this problem?
    Btw, where can I find the required setting (or settings known to cause problems to zencart)? (I believe there must be something already here in the forums, but I just searched for it and couldn't find).

    Any help is very much appreciated.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    Sorry,
    read over the 500 error in your first post.
    Have you looked at the log files on your host to see what error it is throwing?
    Have you tried renaming the .htaccess file?
    The 500 error tells us the problem in that the host server doesn't like something.
    A link to the offending site is always a good way for us to "see" what's going on.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

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

    Default Re: Problem with install - cannot instantiate class notifier - autoload_func.php

    Can you please post a link to where this can be seen in action?

    What are your server's PHP settings for include_path ?
    (You can see this and other information by pointing your browser to www.your_site.com/zc_install/techsupp.php )
    .

    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.

  6. #6
    Join Date
    Jul 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    dbltoe and DrByte, thanks for your help and attention.

    After not being able to understand the problem and install the latest version myself, I gave fantastico a try, and it installed okay. It simply works now.

    I seriously have no idea what went wrong. I usually prefer to install all the scripts myself (not through fantastico), so I have more control over the install process, but was not able to crack down this problem.

    So, now that things are finally working, I hope to become an active member here (i.e., addicted to zen-cart)...
    Thanks again.

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

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    You should upload the zc_install folder to your site and see if it will run properly now.
    Otherwise you'll have problems later when you attempt to do upgrades ... better to know now than to be surprised later.
    .

    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
    Aug 2006
    Location
    New Mexico
    Posts
    35
    Plugin Contributions
    0

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    I had a functioning store at my new host until a couple of hours ago - now it won't load and the browser is looking for the aforementioned zc_install folder. I don't see that folder on the "downloads" page here - where's the folder, Doc?

    Sorry if I'm missing something obvious, I'm a little brain-fried - due to go live with the store at midnight and everything was working fine until this popped up. Help would be much appreciated & I will keep working on it as well. Thanks!

  9. #9
    Join Date
    Aug 2006
    Location
    New Mexico
    Posts
    35
    Plugin Contributions
    0

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    Yep - Totally brain-fried. The zc_install folder isn't supposed to be there, it's only for initial installation. So why is my browser suddenly looking for it? Very odd stuff and the shop was just working - and now it's not. Crazy.

    BTW I ended up in this thread because I was getting an autoload error:

    1-Dec-2007 16:00:44] PHP Fatal error: Cannot instantiate non-existent class: notifier in /home/tgadmin/public_html/shop/includes/autoload_func.php on line 156

    Web site is www.transgentry.com if you want to have a look. www.transgentry.com/shop just won't come up anymore. I'm stunned.

    Do I have to reinstall the store because I moved it?

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,695
    Plugin Contributions
    11

    Default Re: Problem with install - cannot instantiate class - autoload_func.php

    A URL?
    Hard to believe that a functioning site completely dropped off the internet without a host problem.
    No Admin or Cart?
    The zc_install directory is part of the full cart download and not left behind when Fantastico loads a fresh cart. You can download the cart from here and upload the directory by FTP.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. 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
  2. Fatal error: Cannot instantiate non-existent class:
    By winterstorm in forum General Questions
    Replies: 3
    Last Post: 2 Sep 2007, 04:29 AM
  3. Cannot instantiate non-existent class: fckeditor
    By pipc in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Jul 2007, 09:45 PM
  4. Fatal error: Cannot instantiate non-existent class...
    By encosion in forum Installing on a Windows Server
    Replies: 2
    Last Post: 6 Jul 2007, 09:39 PM

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