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?
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.
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.
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.
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 )
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)... :wink:
Thanks again.
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.
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!
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? :shocking:
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.