xiaomlove / nexusphp

A private tracker application base on NexusPHP
https://nexusphp.org
GNU General Public License v2.0
880 stars 181 forks source link

can't upload torrent #16

Closed maximuml closed 3 years ago

maximuml commented 3 years ago

I just Disable Small Decription and cant upload torrent 2021/06/03 11:31:29 [error] 1087#0: *2386 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "small_descr" in /home/wwwroot/******/public/takeupload.php on line 64PHP message: PHP Fatal error: Uncaught Nexus\Database\DatabaseException: Column 'small_descr' cannot be null [INSERT INTO torrents (filename, owner, visible, anonymous, name, size, numfiles, type, url, small_descr, descr, ori_descr, category, source, medium, codec, audiocodec, standard, processing, team, save_as, sp_state, added, last_action, nfo, info_hash, pt_gen, tags, technical_info) VALUES ('******.torrent', '1', 'yes', 'no', '******', '3128225624', 1, 'single', '', null, '[attach]9f7aeeee9974999c29223c01d3b834d8[/attach][attach]bfcc2f12bd4e7342d269951817aa4db8[/attach]\r\n[attach]2b444dacb8635b340518789989145a97[/attach][attach]e7ae7ae41263a60b74f071ceb9343388[/attach]\r\n\r\n[color=#0000A0][b]August 10, 2013\r\nChiba City, Japan\r\nQVC Marine Field\r\nSummer Sonic - Marine Stage[/b][/color]\r\n\r\n[b]Tracklist:[/b]\r\nGiven Up\r\nLost In Th" while reading response header from upstream, client: 37.146.144.208, server: ******, request: "POST /takeupload.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "lp-bits.tk", referrer: "http://******/upload.php"

xiaomlove commented 3 years ago

Got it , thanks

xiaomlove commented 3 years ago

v1.6.0-beta8 fix this. upgrade doc here

maximuml commented 3 years ago

Yes, upload is fixed. But we have more problems😰 Torrent in torrent client is red🔴 Tracker status: [Timeout was reached] Also no seeders and leechers on torrent's details page No uploaded torrent's in user's profile page

xiaomlove commented 3 years ago

any other errors ? checkout your php error log.

maximuml commented 3 years ago
2021/06/06 12:02:23 [error] 1534#0: *80 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "BASEURL" in /home/wwwroot/test-site.tk/include/config.php on line 71PHP message: PHP Warning:  Undefined array key "announce_url" in /home/wwwroot/test-site.tk/include/config.php on line 73" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /shoutbox.php?type=shoutbox HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/"
2021/06/06 12:12:56 [error] 1534#0: *121 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "small_descr" in /home/wwwroot/test-site.tk/public/takeedit.php on line 96" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "POST /takeedit.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/edit.php?id=1"
2021/06/06 15:02:56 [error] 1534#0: *154 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "Video" in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /details.php?id=2&hit=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/torrents.php"
2021/06/06 15:07:22 [error] 1534#0: *168 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "Video" in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /details.php?id=2&hit=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/torrents.php"
2021/06/06 15:08:58 [error] 1534#0: *178 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "Video" in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /details.php?id=2&hit=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/torrents.php"
2021/06/06 18:56:37 [error] 1534#0: *200 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "Video" in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /details.php?id=2&hit=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/torrents.php"
xiaomlove commented 3 years ago

You didn't follow the documentation for the upgrade, right? Did you complete the upgrade procedure?

maximuml commented 3 years ago

Yes, source is updated

xiaomlove commented 3 years ago

in root path, cp -R nexus/Install/update public,then visit yourdomain.com/update/update.php,finish it ?

maximuml commented 3 years ago

I just reinstall it from source and I've got the same errors🥶

maximuml commented 3 years ago
2021/06/07 09:57:10 [error] 1534#0: *702 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "Video" in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /details.php?id=1&uploaded=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/upload.php"
2021/06/07 09:57:17 [error] 1534#0: *708 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "hidenotice" in /home/wwwroot/test-site.tk/public/downloadnotice.php on line 10" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "POST /downloadnotice.php? HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/downloadnotice.php?torrentid=1&type=firsttime"
2021/06/07 09:57:41 [error] 1534#0: *707 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "Video" in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /home/wwwroot/test-site.tk/nexus/Torrent/TechnicalInformation.php on line 82" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /details.php?id=1&hit=1 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/torrents.php"
2021/06/07 09:59:55 [error] 1534#0: *736 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "small_descr" in /home/wwwroot/test-site.tk/public/takeedit.php on line 96" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "POST /takeedit.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/edit.php?id=1"
2021/06/07 10:00:38 [error] 1534#0: *746 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "parked" in /home/wwwroot/test-site.tk/public/usercp.php on line 83PHP message: PHP Warning:  Undefined array key "savepms" in /home/wwwroot/test-site.tk/public/usercp.php on line 88PHP message: PHP Warning:  Undefined array key "school" in /home/wwwroot/test-site.tk/public/usercp.php on line 93" while reading response header from upstream, client: 37.146.144.208, server: test-site.tk, request: "POST /usercp.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/usercp.php?action=personal"
2021/06/07 10:02:10 [error] 1534#0: *832 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "returnto" in /home/wwwroot/test-site.tk/public/amountupload.php on line 18" while reading upstream, client: 37.146.144.208, server: test-site.tk, request: "GET /amountupload.php HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "test-site.tk", referrer: "http://test-site.tk/staffpanel.php"

And red torrent in torrent client (

xiaomlove commented 3 years ago

If everything goes well, please colse it!

maximuml commented 3 years ago

Can't check right now. I need few days to test it. What's difference between authkey and passkey? IMG_20210608_214613

xiaomlove commented 3 years ago

passkey: get rss list + generate downhash(use for donload torrent file) authkey: tracker report