|
03-12-2004, 04:04 PM | #1 |
Green Mole
Join Date: Mar 2004
Location: Russia
Posts: 21
|
Fixing spider.php, protecting from locking site after timeout or users stop
I found, that if your PHP has time out (for example 30 secs) and spider have no time to complete indexing, your site will be locked and you'll have to go back to admin and unlock it. It's not good, so next code fix it.
Add this code into spider.php file at the begining (from 12 line, after comments, for example): PHP Code:
|
03-12-2004, 10:00 PM | #2 |
Green Mole
Join Date: Mar 2004
Location: Russia
Posts: 21
|
little changes for correct work from command line
PHP Code:
Last edited by Konstantine; 03-12-2004 at 10:04 PM. |
03-13-2004, 10:37 AM | #3 |
Green Mole
Join Date: Mar 2004
Location: Russia
Posts: 21
|
making auto-refresh for indexing with timeout
If we change index.php file, method of posting from POST to GET
PHP Code:
PHP Code:
|
04-09-2004, 01:37 PM | #4 |
Green Mole
Join Date: Apr 2004
Location: Singapore
Posts: 1
|
Was this implemented for version 1.8?
I have problems with indexing one of my client's website. I have no problems spidering on my own server. Have installed this script for my installation of PHPdig. Will see if it solves the porblem. Thanks. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I make the spider stop and start on a dime? | dewed | How-to Forum | 0 | 11-25-2005 12:54 PM |
Spider Timeout after editing source | PHPfranky | Troubleshooting | 1 | 11-18-2005 03:31 AM |
How To stop spider by shell command ? | noel | How-to Forum | 4 | 11-03-2005 02:06 PM |
Stop spidering site after using an amount of bandwidth | Grefix | How-to Forum | 1 | 01-14-2004 11:45 AM |
users permission | webhostau | Script Installation | 3 | 12-14-2003 05:13 PM |