TorrentPier Cattle. Версия 2.4.0 ☃️

belomaxorka

Разработчик
Администратор
Да в дампе все есть!!! Все правильно, но в базу мне полностью не заливалось, почему то и главное не ошибки ничего!
Есть вероятность что проблема на стороне хостинга или конфигов к MySQL...
 

fayfa

Пользователь
Здравствуйте. Никак не могу настроить почту! на версии 2.3.0.1 всё работало, тут.
Код:
Failed sending email: Connection could not be established with host "ssl://smtp.mail.ru:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Мои настройки
Код:
// Email
$bb_cfg['emailer'] = [
    'enabled' => true,
    'smtp' => [
        'enabled' => true, // send email via external SMTP server
        'host' => 'smtp.mail.ru', // SMTP server host
        'port' => 587, // SMTP server port
        'username' => '[email protected]', // SMTP username (if server requires it)
        'password' => 'password', // SMTP password (if server requires it)
        'ssl_type' => 'tls', // SMTP ssl type (ssl or tls)
    ],
];
$bb_cfg['extended_email_validation'] = true; // DNS & RFC checks for entered email addresses

$bb_cfg['board_email'] = "[email protected]"; // admin email address
$bb_cfg['board_email_form'] = false; // can users send email to each other via board
$bb_cfg['board_email_sig'] = ''; // this text will be attached to all emails the board sends
$bb_cfg['board_email_sitename'] = $domain_name; // sitename used in all emails header

$bb_cfg['topic_notify_enabled'] = true; // Send emails to users if subscribed to the topic
$bb_cfg['pm_notify_enabled'] = true; // Send emails to users if there's a new message in inbox
$bb_cfg['group_send_email'] = true; // Send emails to users if user was invited/added to a group
$bb_cfg['email_change_disabled'] = false; // Allow changing emails for users
$bb_cfg['show_email_visibility_settings'] = true; // Allow changing privacy status of profile for users (e.g. last time seen)

$bb_cfg['bounce_email'] = "bounce@$domain_name"; // bounce email address
$bb_cfg['tech_admin_email'] = "admin@$domain_name"; // email for sending error reports
$bb_cfg['abuse_email'] = "abuse@$domain_name"; // abuse email (e.g. DMCA)
$bb_cfg['adv_email'] = "adv@$domain_name"; // advertisement email
Всё разобрался!
$bb_cfg['bounce_email'] = "bounce@$domain_name"; сюда вписал свою почту

можете удалить!
 

Mood

Пользователь
mysql-8.0.30-winx64
nginx-1.25.3
php-8.1.10-Win32-vs16-x64
Cattle (v2.4.0)

Периодически выскакивает...
MySQL 8.0.32
PHP 8.1.24
2.4.0 (Cattle)
Тоже проблемы с БД, импорт проходит без ошибок. Поставил MariaDB 10.11.6, пока ошибок не наблюдаю.
 

Вложения

  • Screenshot(1).png
    Screenshot(1).png
    127.1 KB · Просмотры: 19
  • Screenshot.png
    Screenshot.png
    107.4 KB · Просмотры: 19

belomaxorka

Разработчик
Администратор
MySQL 8.0.32
PHP 8.1.24
2.4.0 (Cattle)
Тоже проблемы с БД, импорт проходит без ошибок. Поставил MariaDB 10.11.6, пока ошибок не наблюдаю.
Здравствуйте. Пока что не используйте движок с MySQL 8. Лучше используйте в связке с MariaDB (фактически любая версия подойдет)
 

fayfa

Пользователь
У меня постоянно вылазят вот эта ошибка, не могу понять с чем связано и как вылечить!
Код:
[2024-01-28T21:47:19.134788+00:00] TorrentPier.ERROR: Whoops\Exception\ErrorException: Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in file C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
Stack trace:
  1. Whoops\Exception\ErrorException->() C:\laragon\www\pentor.ru\library\includes\bbcode.php:99
  2. Whoops\Run->handleError() C:\laragon\www\pentor.ru\vendor\filp\whoops\src\Whoops\Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []

Код:
[28-Jan-2024 21:47:19 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[28-Jan-2024 21:59:06 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[29-Jan-2024 01:24:33 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[29-Jan-2024 06:15:06 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[29-Jan-2024 07:23:00 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
 

belomaxorka

Разработчик
Администратор
У меня постоянно вылазят вот эта ошибка, не могу понять с чем связано и как вылечить!
Код:
[2024-01-28T21:47:19.134788+00:00] TorrentPier.ERROR: Whoops\Exception\ErrorException: Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in file C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
Stack trace:
  1. Whoops\Exception\ErrorException->() C:\laragon\www\pentor.ru\library\includes\bbcode.php:99
  2. Whoops\Run->handleError() C:\laragon\www\pentor.ru\vendor\filp\whoops\src\Whoops\Run.php:514
  3. Whoops\Run->handleShutdown() [internal]:0
 [] []

Код:
[28-Jan-2024 21:47:19 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[28-Jan-2024 21:59:06 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[29-Jan-2024 01:24:33 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[29-Jan-2024 06:15:06 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
[29-Jan-2024 07:23:00 UTC] PHP Fatal error:  Cannot redeclare get_bbcode_tpl() (previously declared in C:\laragon\www\pentor.ru\library\includes\bbcode.php:26) in C:\laragon\www\pentor.ru\library\includes\bbcode.php on line 99
Исходя из ошибки функция get_bbcode_tpl() объявляется несколько раз. Вы моды какие-то ставили?
 
Сверху