View Single Post
Old 06-22-2006, 06:58 AM   #1
shockfreezer
Green Mole
 
Join Date: Oct 2005
Location: Switzerland
Posts: 6
Arrow Spider CLI call under Windows fails [Workaround included]

Hi there,

today i had to call the spider for reindexing on Windows from the CLI. (Windows Taskplaner)
The problem was that the spider could'nt include some files, because the variable $relative_script_path in the file "/admin/spider.php" was wrong.

To fix that I had to replace the code on line 53 in the spider.php:
PHP Code:
$relative_script_path implode('/',$path_part); 
with this code:
PHP Code:
$relative_script_path realpath(dirname(__FILE__)."/.."); 
This fix should work for any installation type

Greez
shockfreezer
shockfreezer is offline   Reply With Quote