Forums / General Questions / New User - Very frustrated- need help!

New User - Very frustrated- need help!

Locked

Views: 1,656

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
13 Aug 2008, 1:11 PM
#1
hurricane41 avatar

hurricane41

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

New User - Very frustrated- need help!

I have tried about everything I can think of from reading other posts with similar errors. The error I got when I tried to log in to admin was this:

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

I tried unzipping my files again, but that didn't work. I checked the index.php and didn't see any extra characters - but maybe I am not looking at it right?

Here is what my index.php shows for line 30 - I didn't change anything on this line - so not sure what the error is? Maybe too many )'s ? Any ideas?

if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {

Thanks for any help you can provide - :unsure:

13 Aug 2008, 2:38 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

zen_check_url_get_terms should be declared in includes/functions/functions_general.php.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

13 Aug 2008, 4:04 PM
#3
hurricane41 avatar

hurricane41

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

Thanks Afo - Here is what I found in the includes/functions/functions_general.php file regarding zen_check_url_get_terms

// check to see if database stored GET terms are in the URL as $_GET parameters
function zen_check_url_get_terms() {
global $db;
$zp_sql = "select * from " . TABLE_GET_TERMS_TO_FILTER;
$zp_filter_terms = $db->Execute($zp_sql);
$zp_result = false;
while (!$zp_filter_terms->EOF) {
if (isset($_GET[$zp_filter_terms->fields['get_term_name']]) && zen_not_null($_GET[$zp_filter_terms->fields['get_term_name']])) $zp_result = true;
$zp_filter_terms->MoveNext();
}
return $zp_result;

What is this telling me? Is there something I am supposed to change in this file? Or the index file? Sorry - I have no clue what I am doing and am getting confused.
:dontgetit

13 Aug 2008, 4:45 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,682
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

Try re-uploading the admin directory and see if that cures the problem.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Aug 2008, 5:13 PM
#5
hurricane41 avatar

hurricane41

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

I uploaded the admin file again, but I am still getting the same error. Any other ideas of what I might be able to do?

Thanks!

14 Aug 2008, 1:38 AM
#6
hurricane41 avatar

hurricane41

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

I really need some help with this site, and I don't think anyone has experienced the error I have had (very limited response, and nothing has worked). I am new to this and to FTP transfers. I THOUGHT I correctly edited the index.htm but now when I go to log in to admin, I can't. I get the following message:

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

I did not make any changes to this line. I have deleted all the files I had, and redownloaded zencart to my computer and uploaded them, however, I am still getting this message.

I don't know what to do or how to fix it. I have been working on this for hours and am VERY frustrated that there is no one to call, and am not getting any help here.

Can someone please advise what I need to do to be able to log back in to admin? Or, is there anyone I can call who can assist me? I have GOT to get this site up and running in a matter of days and don't know if I need to uninstall and reinstall? But, I am hesitant to do that, because I am not sure what created the error to begin with - :dontgetit
Thank you for any help you can provide.

14 Aug 2008, 5:19 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: New User - Very frustrated- need help!

/includes/languages/english/index.php
is an entirely different file from
/admin/includes/languages/english/index.php

... and it seems you've got yours mixed up. The one in your admin isn't the one that's supposed to be in your admin.

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

14 Aug 2008, 12:18 PM
#8
hurricane41 avatar

hurricane41

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

How do I fix that and get the right file where it needs to be? I am sorry but I don't have much experience with ftp's and I really need someone to walk me through how to fix this so I don't mess it up any more than it already is.
Thanks

14 Aug 2008, 5:56 PM
#9
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

Do you have Zen Cart unzipped on your local computer?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

15 Aug 2008, 1:00 AM
#10
hurricane41 avatar

hurricane41

New Zenner

Join Date:
Aug 2008
Posts:
8
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

Yes zencart is unzipped on my computer

15 Aug 2008, 3:01 AM
#11
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: New User - Very frustrated- need help!

FTP the /admin/includes/languages/english/index.php from your computer to the /admin/includes/languages/english/ folder on your website.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey