Menu

resumable_example.php not working out of the box

Help
2014-01-09
2014-01-10
  • Cesar Bielich

    Cesar Bielich - 2014-01-09

    I downloaded 0.81 and tried to run the resumable_example.php script just as it is and nothing happens. Am I missing something?

     
  • Uwe Hunfeld

    Uwe Hunfeld - 2014-01-09

    Hi!

    What do you mean with "nothing happens"?

     
  • Cesar Bielich

    Cesar Bielich - 2014-01-09

    I execute the script and it just runs for a second and thats it. Nothing prints out on the screen

     
  • Uwe Hunfeld

    Uwe Hunfeld - 2014-01-09

    Strange.
    Everything else works fine? I mean, it's just the resumable example that's not working?

    What OS are you using, windows?

    PS: Im off now, will answer further tomorrow!

     

    Last edit: Uwe Hunfeld 2014-01-09
  • Cesar Bielich

    Cesar Bielich - 2014-01-09

    I am on a windows machine, but I the files uploaded to my server which is a linux box. I am able to run the script through a console with php resumable_example.php and it still does the same thing. Even if I run it through a browser it does the same thing as well.

     
  • Cesar Bielich

    Cesar Bielich - 2014-01-09

    Yes the example.php runs fine, the resumable one does not

     
  • Cesar Bielich

    Cesar Bielich - 2014-01-09

    I figured out that its stopping at

    $crawler->resume($crawler_ID);

     
  • Cesar Bielich

    Cesar Bielich - 2014-01-09

    and in resume() in the PHPCrawler.class.php it stops at

      throw new Exception("Couldn't find any previous aborted crawling-process with crawler-id '".$this->crawler_uniqid."'");
    

    so I went into /tmp and deleted the tmp file thinking maybe I had a bad file or something and still same results when I run in again

     

    Last edit: Cesar Bielich 2014-01-09
  • Cesar Bielich

    Cesar Bielich - 2014-01-10

    Where is the "phpcrawl_tmp_" file located?

     
  • Cesar Bielich

    Cesar Bielich - 2014-01-10

    Ok so I am seeing that the file is supposed to be located in the /tmp folder which is not which is why it is throwing the exception and not executing.

    Sorry I post as I discover :)

     
  • Anonymous

    Anonymous - 2014-01-10

    So, does it work now?
    Did you change the tmp-location in the example file?

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.