Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2008
    Posts
    8
    Plugin Contributions
    0

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

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: New User - Very frustrated- need help!

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

  3. #3
    Join Date
    Aug 2008
    Posts
    8
    Plugin Contributions
    0

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

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

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

  5. #5
    Join Date
    Aug 2008
    Posts
    8
    Plugin Contributions
    0

    Default 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!

  6. #6
    Join Date
    Aug 2008
    Posts
    8
    Plugin Contributions
    0

    Default still can't log in to admin

    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 -
    Thank you for any help you can provide.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: still can't log in to admin

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

  8. #8
    Join Date
    Aug 2008
    Posts
    8
    Plugin Contributions
    0

    Default 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

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: New User - Very frustrated- need help!

    Do you have Zen Cart unzipped on your local computer?

  10. #10
    Join Date
    Aug 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: New User - Very frustrated- need help!

    Yes zencart is unzipped on my computer

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Very Frustrated
    By Slicer5489 in forum General Questions
    Replies: 3
    Last Post: 14 May 2010, 07:58 AM
  2. Very New and frustrated - Please Help
    By Chadd in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 13 Aug 2008, 11:36 PM
  3. Very New - Confused-We need help
    By Tin Cup in forum General Questions
    Replies: 9
    Last Post: 21 Jan 2008, 11:52 AM
  4. New user - Very Frustrated!
    By canemasters in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 Mar 2007, 07:17 PM
  5. New User Need Help
    By alias101 in forum General Questions
    Replies: 10
    Last Post: 7 Jun 2006, 04:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg