![]() |
Segmentation Fault / errors parsing
hello,
i have an problem when i start phpdig from the command line then i get two errors when i start from root with "php -f /home/domain/www/admin/spider.php -all" then i get an error "Errors parsing /home/domain/www/admin/spider.php" when i now change to directory /home/domain/www/admin/ and start with "php -f spider.php -all" the errormessage is "Segmentation Fault" have someone an fix for this problem? |
Hi. Not sure this is specific to PhpDig. Perhaps this thread might help.
|
i have fix the problem with an little script
insert this im /etc/cron.weekly Code:
#!/bin/bash insert this as cronspider (chown 755) in /full/path/to/phpdig_admin Code:
/path/to/php/php -f spider.php all >> /var/log/spider.log is it maybe that the spider autorefresh when an time x no working is detecting? |
Hi. Not sure about the hang thing. Is there anything showing in your error logs?
|
no sorry no inserts in the error-log :(
|
Hi. When you tail -f spider.log do entries keep appearing in the spider.log or what happens?
|
in the spider.log insert the uri's where spider, when the spider.php hang up no more inserts and no error-insert in the spider.log... and after some hours (i have wait up to 12 hours) whitout an insert in spider.log i kill the prozess
|
Hi. Try uncommenting //print $answer."<br>\n"; in the robot_functions.php file and maybe this output on next index will give a clue.
|
ok i test it thx for your help
|
All times are GMT -8. The time now is 03:16 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.