Zen Cart Logo
Forums / Installing on a Windows Server / Fatal error: Cannot instantiate non-existent class...

Fatal error: Cannot instantiate non-existent class...

Locked

Views: 2,558

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Nov 2006, 3:13 PM
#1
encosion avatar

encosion

New Zenner

Join Date:
Nov 2006
Posts:
10
Plugin Contributions:
0

Fatal error: Cannot instantiate non-existent class...

Hiya,

I'm installing Zen Cart on a shared hosting Windows server... Managed to get through the setup process over the course of a day (after sending emails back and forth through to my host to ask for permissions to changed, databases to be setup etc.)

At the end of the installation it gives me an option to go through to either the shop or the admin page... But when I go to the shop I get the following error:

Fatal error: Cannot instantiate non-existent class: template_func in c:\web\hs100051\shop\includes\autoload_func.php on line **79
**
I've had a look at line 79:

$$objectName = new $className();

And searched the forums, but only came up with the following (applicable only to upgraders - I'm a first-time 1.3.6 installer):

http://www.zen-cart.com/forum/showthread.php?t=45261

So I can't figure out how to get around this... Any clues?

Much appreciated in advance,
Tim

15 Nov 2006, 5:52 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,767
Plugin Contributions:
9

Re: Fatal error: Cannot instantiate non-existent class...

You might want to check for any files with a 0 size. Sometimes the FTP hiccups.

6 Jul 2007, 8:39 PM
#3
relu17 avatar

relu17

New Zenner

Join Date:
Jul 2007
Posts:
1
Plugin Contributions:
0

Re: Fatal error: Cannot instantiate non-existent class...

There is two files template_func.php and upload phap in folder /includes/classes that was missing. I just uploaded and everything is OK.