I have added code from resumable-example to PDO example code.
All I want is to crawl big sites, so I need PDO.
And I want to run this from virtual box that I will turn off from time to time, so when I turn it on I would like crawler to continue from where it stopped last time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Hello,
I'm trying "resumable" version bur each time I try to run it again I get error:
PHP Fatal error: Uncaught exception 'Exception' with message 'Couldn't find any previous aborted crawling-process with crawler-id '13171419764192'' in /home/cr/libs/PHPCrawler.class.php:1943
Stack trace:
0 /home/cr/run.php(119): PHPCrawler->resume('13171419764192')
1 {main}
thrown in /home/cr/libs/PHPCrawler.class.php on line 1943
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Hi!
Did the previous crawling-process ABORT or did it just finish?
If it was finished (passed through), you are not able to resume it, because theres nothing more to do, it's done.
The resume()-method just resumes unexpectedly aborted/interrupted processes (like reboots during the crawliung-process or something like that).
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
I have thy it when I reboot machine and when I kill process and in both cases I get error from first post.
Any idea what is wrong?
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Did you try the resumable-example script from the package?
If not: Does this one work?
And did you use version 0.82?
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
I have added code from resumable-example to PDO example code.
All I want is to crawl big sites, so I need PDO.
And I want to run this from virtual box that I will turn off from time to time, so when I turn it on I would like crawler to continue from where it stopped last time.
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
anybody?
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Does the original resumable-example work for you?
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Forum"
Yes, it works but when I combine it with PDO it does not