Forums / Installing on a Linux/Unix Server / 500 internal error- non-existant class notifier in autload_func.php

500 internal error- non-existant class notifier in autload_func.php

Locked
Results 1 to 16 of 16
This thread is locked. New replies are disabled.
10 Jan 2007, 17:45
#1
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

500 internal error- non-existant class notifier in autload_func.php

Hi,

I've download v1.3.7 and am trying to set it install it in order to perform and upgrade.

First I uploaded the zip to my webspace, then unzipped it and performed the configure file set-ups. However, when I went to install I got a 500 internal server error.
so I checked my error_log

PHP Fatal error: Cannot instantiate non-existent class: notifier in /home/website/public_html/store2/includes/autoload_func.php on line 79

So I decided to unzip it locally and upload the entire contents.

Again I got the same error!

So I've downloaded it again and I'm in the process of uploading the zip again.

Now I've extracted the zip again into a new folder. Renamed the configure files and set their permissions - AGAIN the same error.
So it cant be a corrupted Zip file.

PLEASE PLEASE help - I really want to get this upgrade finished.
10 Jan 2007, 18:03
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: 500 internal error- non-existant class notifier in autload_func.php

Could you post the section of your includes/configure.php file that starts
// * DIR_FS_* = Filesystem directories (local/physical)
10 Jan 2007, 18:05
#3
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

[PHP]// * 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', '/');



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', ''); // prefix for database table names -- preferred to be left empty

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'root');

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', '/enter/your/path/to/public_html_or_htdocs/and/zencart/here/zen/cache');



?>[/PHP]
10 Jan 2007, 18:11
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: 500 internal error- non-existant class notifier in autload_func.php

define('DIR_FS_CATALOG', '/');
It seems to me rather unlikely that your store is located at the absolute root of your PC or server

This is the sort of thing that I would expect to see in there
/usr/local/apache/htdocs/shop/
though of course it will vary from server to server. The path to your cache also needs setting.
10 Jan 2007, 18:18
#5
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

hi kuroi,
I've changed it to this

[PHP]define('DIR_FS_CATALOG', '/home/MYSTORE/public_html/store3/');[/PHP]

now I'm not getting anything in the error_log!

but still getting a 500 internal error!
10 Jan 2007, 18:31
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: 500 internal error- non-existant class notifier in autload_func.php

This just means that you have moved past the previous problem and on to the next one.

Did you run the installer to do the installation? Although it's not necessary to do so, the alternative requires that you populate the configure file some other way, e.g. by hand, but your extract strongly suggests that this hasn't been done. For example there is no database name.

What is mostly happening is that Zen Cart is failing to find the database and because the path names aren't set up, can't find the database down page that tells you that either.
10 Jan 2007, 18:43
#7
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

i'll try to set-up the paths manually. i cant get onto the install page. i've a new unpopulated DB set-up. I don't want it pointing to the old DB. anyway, ill get back to u with the results
10 Jan 2007, 19:06
#8
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

Ok,

I think I've got it to work. However, it did not run through the set-up with me!

I created a new database and copied over the tables from the old one.

Now in admin it is telling me

Your database appears to need patching to a higher level. See Tools->Server Information to review patch levels.


I went there and I see that Im on version 1.3.7 but the database is version 1.3.6

How do I do I patch it?
10 Jan 2007, 19:11
#9
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

ok

ive seen your previous post

but when I go to zc_install

i get another error

see here
10 Jan 2007, 19:22
#10
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: 500 internal error- non-existant class notifier in autload_func.php

That's suggesting that there's still something wrong with the configuration.

I'n also a bit puzzled because earlier you said that you were working with a new unpopulated DB setup, but now you have a DB with data held in a previous versions format. Are you sure that you haven't pointed your site at the very data you wanted to protect.

If you can't see a cause for the zc_install problem, an alternative to try would be to go into the zc_install/sql directory and run the upgrade sql for 1.3.6 to 1.3.7 directly to patch the database, though I must confess that I have never done this personally so have no experience to offer.
10 Jan 2007, 19:30
#11
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

hi,

It's definitely pointing at the correct DB.
I set-up a new DB and populated it with old data - woops! anyway at least I know its not pointing at the most recent DB.

I've looked at the instructions on the upgrade MySQL script and it warns

# * Zen Cart uses the zc_install/index.php program to do database upgrades

# * This SQL script is intended to be used by running zc_install

# * It is *not* recommended to simply run these statements manually via any other means

# * ie: not via phpMyAdmin or via the Install SQL Patch tool in Zen Cart admin

# * The zc_install program catches possible problems and also handles table-prefixes automatically



hhmmm , I wonder what was wrong in the first place why it wouldn't install for me from the zc_install.. maybe I'll delete everything and start again. I've been working on this for 2 1/2 hours now!
10 Jan 2007, 19:42
#12
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

ok,
im going to have to start again.

going to delete everything!

this is not easy!
10 Jan 2007, 20:17
#13
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

ok,
i didnt delete my installation. I decided I wasn't going to end up at the same place again.

To me it looks like alot of people are having difficulties with the zc_install for the latest version!

Anyway, I went and ran the database patches manually. Everything appears to be working fine now.

All I have to do is transfer over what I done on the previous version... fingers crossed !!
:)
16 Jan 2007, 14:55
#14
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Posts:
10,475
Plugin Contributions:
9

Re: 500 internal error- non-existant class notifier in autload_func.php

I hope this went well for you. Just to point out that there's nothing wrong with the zc_install in the new version, just lost more people than usual using it because of the upgrade, so the problem incidence is bound to rise.
08 Apr 2007, 16:49
#15
tekknokrat avatar

tekknokrat

New Zenner

Join Date:
Mar 2007
Posts:
3
Plugin Contributions:
0

Re: 500 internal error- non-existant class notifier in autload_func.php

Hi,

I had the same error but because of a missing / at the end of the path of DIR_FS_CATALOG.

Just wanted to know :

Is zentcart programmed to strictly need "/"

in every case a path is needed?
09 Apr 2007, 04:18
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: 500 internal error- non-existant class notifier in autload_func.php

The pattern is typically to leave a trailing slash on any DIR_ constants and any $variables so that one doesn't have to guess whether one is present or not.

If you wish to see the expected pattern esp for configure.php files, look at the supplied dist-configure.php to see which fields begin and end with slashes or not.