Closed BeAristobule closed 1 year ago
More detail please.
What do you need exactly ?
More screenshots, more text description
Here is the Nginx error.log message : `2023/03/13 19:45:19 [error] 3175154#3175154: *42511924 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function NexusPlugin\StickyPromotion\mksize() in /var/www/xxx.yyy/vendor/xiaomlove/nexusphp-sticky-promotion/src/StickyPromotionRepository.php:970 Stack trace:
thrown in /var/www/xxx.yyy/vendor/xiaomlove/nexusphp-sticky-promotion/src/StickyP" while reading response header from upstream, client: xx.yy.xx.yy, server: xxx.yyy, request:"GET /announce.php?authkey=32034|10009|Eapvb3&info_hash=%CC%FF%09%93%ED%7F%AEzG%F5%1E%09%D7%8Dt%A2%83%8A1%00&peer_id=-lt0D80-%11pk%E7%A2%60%CDH%EE%216%17&key=39ddf432&compact=1&port=45002&uploaded=0&downloaded=1316821188&left=0&event=completed HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm.sock:", host: "xxx.yyy"`
The message to announce the end of the promotion is not sent and in the sticky_promotion table, the finish_type and finish_at values are NULL :
Fixed, try to update the plugin
composer update xiaomlove/nexusphp-sticky-promotion
php artisan plugin install xiaomlove/nexusphp-sticky-promotion
And don't forget to update main programe to the latest commit.
is the nginx error still exists?
No, there are no more Nginx error. But the plugin shows the same Ajax error and the database has the same NULL values after to update main program and plugin.
No changes are made to data that already exists. The error in the nginx log is more serious, and the update will fix it. As for the ajax problem you mentioned, it's not clear yet.
I will try to completely remove the plugin and reinstall it from zero to check it.
Nothing to do, the Ajax error remains even after a complete reinstallation of the plugin and deletion of the tables.
How can you do appends when it disappears after the promotion is over?
You elaborate on the steps to reproduce and how I have to operate to be able to see the problem.
The error appears during the promotion, not after. You just need to click on the participators link in the torrent details to see the error.
There are other people who have reported the same problem, check the log shows that the user was physically deleted, the problem caused by this cause has been fixed, you can try to update the main program and plugin to the latest commit to see if there is still a problem. The main problem is the provision of error logs.
I have this error when I click on the label append link :
When the promotion is ended, the bonus is not added to the placeholder. I'm on 1.8.0 and the plugin worked, but it doesn't work since the paid torrent commit adding. Do you have an idea ?