-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on torrent file upload when using http and udp tracker toegether. #37
Comments
What version of PHP are you using? Have you created a torrents folder in the root directory? |
I'm using php 7.4. |
Looks like change php to 7.0 solves the problem. |
I'm sorry but I made mistake while creating .torrent file.
There is exactly same error when using udp:// url only. Of course torrents folder in the root directory is created. Regards. |
I'm trying to upload .torrent file with http:// and udp:// tracker URL and have following error:
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Scrapeer\socket_create() in /php/libs/scraper.php:442
Stack trace:
#0 /php/libs/scraper.php(425): Scrapeer\Scraper->udp_create_connection()
#1 /php/libs/scraper.php(398): Scrapeer\Scraper->prepare_udp()
#2 /php/libs/scraper.php(174): Scrapeer\Scraper->scrape_udp()
#3 /php/libs/scraper.php(101): Scrapeer\Scraper->try_scrape()
#4 /php/upload.php(53): Scrapeer\Scraper->scrape()
#5 /en/upload/upload.php(218): upload()
#6 {main}
thrown in /php/libs/scraper.php on line 442
This problem not appears when using separate .torrent file for http:// and separate for udp:// URL.
Regards.
The text was updated successfully, but these errors were encountered: