PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
Old 06-22-2006, 07: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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Certain sites, pages and pdfs are not indexed 1.8.9 RC1 [Workaround included] obottek Bug Tracker 0 08-24-2006 06:30 AM
Exclude not working 1.8.9 RC1 (Workaround included) shockfreezer Bug Tracker 1 05-16-2006 01:55 AM
How To call spider from command line with debth options? jburnett How-to Forum 1 01-12-2005 02:03 PM
Installation fails olitsch Troubleshooting 2 09-28-2004 05:31 AM
Spider with Windows Scheduler? drjohnchadwick How-to Forum 9 01-14-2004 11:53 AM


All times are GMT -8. The time now is 07:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.