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:
|
little changes for correct work from command line
PHP Code:
|
making auto-refresh for indexing with timeout
If we change index.php file, method of posting from POST to GET
PHP Code:
PHP Code:
|
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. |
All times are GMT -8. The time now is 01:41 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.