Results 1 to 2 of 2

Thread: search doesn't work

  1. #1
    Join Date
    Jun 2004
    Location
    Belgium
    Posts
    42

    Unhappy search doesn't work

    hi,

    search "the entire directory' is working, "on the web" too,
    but in the "category" - doesn't work

    Fatal error: Call to a member function on a non-object in /home/best/public_html/lib/category.class.php on line 463
    http://www.bestcatalog.net/index.php

    Can someone help me?

    Thanks,
    Nat

    from line 457:
    // get main category

    if(empty($this->query))
    $query = "select * from $this->table_name where (parent_id = $this->parent and visible = 1) order by name";
    else $query = $this->query;

    $result = $this->db_connect->Execute($query);
    $num_cats = $result->RecordCount();

    $i=0;
    while($i<$num_cats) {
    $cats_id[] = $result->Fields("category_id");
    $result->MoveNext();
    $i++;
    }

    // get related category
    Last edited by marengo; 06-19-2004 at 05:41 AM.

  2. #2
    Join Date
    Jun 2004
    Location
    Belgium
    Posts
    42

    Default

    problem solved. Sorry, after re-installation forgot patch1

Similar Threads

  1. power search doesn't search certain cats
    By Rob Picken in forum v5.x
    Replies: 9
    Last Post: 06-15-2004, 02:03 PM
  2. Replies: 0
    Last Post: 02-13-2004, 08:56 PM
  3. Search
    By joyorudis in forum v3.2
    Replies: 0
    Last Post: 09-18-2002, 07:50 AM
  4. Search Box on third party sites !
    By ideavirus in forum v3.2
    Replies: 0
    Last Post: 08-31-2002, 07:59 AM
  5. Search Log Improvements
    By Hart_House in forum v3.2
    Replies: 0
    Last Post: 08-30-2001, 11:41 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
  •