TempPath Creation
Status: Beta
Brought to you by:
huni
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
Anonymous
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Hi!
What OS do you use?
And what temp-dir did phpcrawl try to use?
Thanks!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
.. and btw:
You can use PHPCrawler::setWorkingDirectory() to change the temp-dir manually, no need to modify the sourcecode.
Fixed since version 0.82