Menu

#57 TempPath Creation

closed-fixed
nobody
5
2014-01-18
2013-11-13
Anonymous
No

Not sure if is a bug...anyway
i had problem running this class cause always go in error about the temp folder creation..
so i've solved so and maybe can be useful

1) craete temp folder with 777 permission
2) PHPCrawler.class.php Line 267
- $this->working_base_directory = PHPCrawlerUtils::getSystemTempDir();
+ $this->working_base_directory = getcwd() . DIRECTORY_SEPARATOR . 'temp' . DIRECTORY_SEPARATOR;

and now work fine

Have a nice day

Discussion

  • Anonymous

    Anonymous - 2013-11-13

    Hi!

    What OS do you use?
    And what temp-dir did phpcrawl try to use?

    Thanks!

     
  • Anonymous

    Anonymous - 2013-11-13

    .. and btw:
    You can use PHPCrawler::setWorkingDirectory() to change the temp-dir manually, no need to modify the sourcecode.

     
  • Uwe Hunfeld

    Uwe Hunfeld - 2014-01-18
    • status: open --> closed-fixed
     
  • Uwe Hunfeld

    Uwe Hunfeld - 2014-01-18

    Fixed since version 0.82

     

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.