Forums / General Questions / Unable to load Zen Cart

Unable to load Zen Cart

Locked

Views: 2,780

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
30 Mar 2009, 5:22 AM
#1
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Unable to load Zen Cart

I've tried to load zen cart as per the instruction given, however, there is a fatal error.

Fatal error: Call to undefined function zen_check_url_get_terms() in /home/beautybe/public_html/includes/languages/english/brown/index.php on line 30

Please help.

30 Mar 2009, 5:29 AM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Unable to load Zen Cart

try uploading a fresh copy of the file includes/functions/functions_general.php
it may have been corrupted during the initial upload

Neville
An assumption is what you arrive at when you get tired of thinking...

30 Mar 2009, 5:33 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Unable to load Zen Cart

As it appears that you have actually loaded ZenCart and applied a template to it.

/includes/languages/english/brown/

Try switching to the classic template to see if the error is template based

Zen-Venom Get Bitten

30 Mar 2009, 5:40 AM
#4
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

bunyip:

try uploading a fresh copy of the file includes/functions/functions_general.php
it may have been corrupted during the initial upload

Have tried to reload a fresh copy but still the same and inside the includes folder there isnt any includes/functions/functions_general.php

Thanks for the help.

30 Mar 2009, 5:45 AM
#5
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

kobra:

As it appears that you have actually loaded ZenCart and applied a template to it.

/includes/languages/english/brown/

Try switching to the classic template to see if the error is template based

Hi,

Have done that too. still doesnt work.

thanks for the help.

30 Mar 2009, 5:52 AM
#6
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Unable to load Zen Cart

jmeonli123:

...inside the includes folder there isnt any includes/functions/functions_general.php

Thanks for the help.

the cart definitely won't work without that file...

Neville
An assumption is what you arrive at when you get tired of thinking...

30 Mar 2009, 6:05 AM
#7
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

ok...I assume the template isnt working...

30 Mar 2009, 11:23 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Unable to load Zen Cart

inside the includes folder there isnt any includes/functions/functions_general.php

ok...I assume the template isnt working...
This would not be a template issue if you indeed do not have this file...

Get a fresh distribution, unpack it locally, and you will see that that file is part of the normal distribution...

Zen-Venom Get Bitten

31 Mar 2009, 5:12 AM
#9
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

Hi,

The template I have downloaded is free template. All downloaded template doesnt come with the function file.

31 Mar 2009, 6:29 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Unable to load Zen Cart

It's part of the Zen Cart core. Templates won't have it.

You need to upload a fresh copy of that file to your site, as it appears to be missing now.
You can find the file in an unzipped full set of the ZC files.

1 Apr 2009, 6:37 AM
#11
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

its the same....

1 Apr 2009, 6:52 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Unable to load Zen Cart

jmeonli123:

Have tried to reload a fresh copy but still the same and inside the includes folder there isnt any includes/functions/functions_general.php

Thanks for the help.

Based on your screenshot in your last post, it seems that you probably told your FTP program to "replace" whatever was in the includes folder with whatever you were uploading, instead of merging the contents. Basically, by choosing "replace", you wiped out the former includes folder, and then uploaded a new set of files to that folder, which in this case only contained the template files you were trying to upload.

"replace" can be a dangerous option in your FTP program ... use it carefully.

Meanwhile, you'll need to start over again ...

.
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.

2 Apr 2009, 6:15 AM
#13
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

But it was according to the instruction given by the eSales411.com.

Can I know the step to rectify this error?

2 Apr 2009, 6:26 AM
#14
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Unable to load Zen Cart

You will most likely need to reinstall Zen Cart from scratch, as some files that are customized by the installation process would be deleted if the /includes/ folder were totally replaced by the template's /includes/ folder.
This time, when you upload the template, don't "replace".

If you have product info in the database already, you may want to choose the "upgrade" option when running the installation.

3 Apr 2009, 8:38 AM
#15
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

tried again but another error again....

3 Apr 2009, 8:47 AM
#16
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Unable to load Zen Cart

Like others have said, the problem appears to be with your FTP settings. What program are you using to do FTP?

20 years a Zencart User

3 Apr 2009, 11:25 AM
#17
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

Have attached the errors message....

3 Apr 2009, 11:29 AM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Unable to load Zen Cart

This error indicates that your DB details are not correct or the DB can not be reached

Zen-Venom Get Bitten

4 Apr 2009, 4:31 AM
#19
jmeonli123 avatar

jmeonli123

New Zenner

Join Date:
Mar 2009
Posts:
11
Plugin Contributions:
0

Re: Unable to load Zen Cart

Hi,

Then what should I do to repair the DB problems?

4 Apr 2009, 3:26 PM
#20
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Unable to load Zen Cart

First write down the following filling in what these are

DBServer =
DB User name =
DB password =

Then view your configure.php files (2 of them) for what details about the DB they contain

Zen-Venom Get Bitten