Orca Search 2.1 released!

Jan 7, 2006

I am proud to announce that version 2.1 of the Orca Search is now available for download! The script gains a minor version number increase as this is a huge release; a large number of fundamental changes were included, including indexing PDF files! View the changelog for more information.

The release expands on the scripts extensability. The PDF indexing ability is included as a plugin, with architecture allowing other plugins for many other filetypes to be added in the future. As well, the body.xhtml.php file was split up into separate code and language files ready for translating.

Another big change is that the user supplied variables are now all contained in config.ini.php rather than config.php. This should make upgrading in the future a breeze as you can just overwrite all the old files with the new, while preserving your small ini file.

Other additions of note are the ability to accept cookies, a Full Scan option, "filetype:" search keyword support and a complete overhaul of the HTTP request system. This is quite certainly the best Orca Search release yet!

If you have any comments, suggestions or bug reports, please let me know via my contact form or email address included in the readme.txt file.

A big thanks goes out to all the beta testers who were invaluable in helping me squash some bugs I otherwise would have never found on my own! :) Enjoy!

Frackle's First Birthday! Playing Cards Image Set

Comments closed

  • Jan 12, 2006 - 18:24

    # Comment by Wildhorse

    Gravatar

    If i first tryed to load control.php i get this error!

    Notice: Undefined index: tables in /kunden/116339_48565/webseiten/search/os2/config.php on line 417

    Warning: in_array(): Wrong datatype for second argument in /kunden/116339_48565/webseiten/search/os2/config.php on line 417

    Notice: Undefined index: tables in /kunden/116339_48565/webseiten/search/os2/config.php on line 441

    Warning: in_array(): Wrong datatype for second argument in /kunden/116339_48565/webseiten/search/os2/config.php on line 441

    Notice: Undefined index: tables in /kunden/116339_48565/webseiten/search/os2/config.php on line 615

    Warning: in_array(): Wrong datatype for second argument in /kunden/116339_48565/webseiten/search/os2/config.php on line 615

    Check your config.php
    Line 417

    if (!in_array($dData['tablename'], $dData['tables'])) {
    $create = mysql_query("CREATE TABLE IF NOT EXISTS `{$dData['tablename']}` (

    I tried to replace tablename to tabletemp, but doesnt work also. When i check the tables that the control.php made i found a orcasearch,orcasearch_s and orcasearch_v but iam missing the orcasearch_t

    When i login the spider doesnt work ... it starts crawling, after 10 links it say Blocked and an array ()

    If you have a fix for that please mail me ... i think your script is a great one

  • Jan 13, 2006 - 9:33

    # Comment by GreyWyvern

    Gravatar

    Wildhorse said:

    If i first tryed to load control.php i get this error!

    Notice: Undefined index: tables in /kunden/116339_48565/webseiten/search/os2/config.php on line 417

    Warning: in_array(): Wrong datatype for second argument in /kunden/116339_48565/webseiten/search/os2/config.php on line 417

    This is a bug :) A silly one too. It only affects new installations where the database you are installing into contains no other tables. I will be releasing a fix for this soon, but you can easily fix it yourself just by adding one line to the code.

    Open the config.php file and find this code:

      $show = mysql_query("SHOW TABLES FROM `{$dData['database']}`;");
      while ($row = mysql_fetch_array($show)) $dData['tables'][] = $row[0];

    Right before this, add this line:

      $dData['tables'] = array();

    The resulting block of code should look like this:

      $dData['tables'] = array();
      $show = mysql_query("SHOW TABLES FROM `{$dData['database']}`;");
      while ($row = mysql_fetch_array($show)) $dData['tables'][] = $row[0];

    This defines the tables index so that if there are no tables in your MySQL database, the variable will still exist for the statements which come later.

    Thanks for the report!