исправлено Создание и редактирование темы

AnSan

Пользователь
Torrentpier 2.1.6
php-7

Когда жму создать новую тему вылазит вот такая ошибка

Fatal error: Uncaught Error: Call to undefined method attach_posting::attach_parent() in C:\OpenServer\domains\***.ru\library\attach_mod\posting_attachments.php:1112 Stack trace: #0 C:\OpenServer\domains\***.ru\library\attach_mod\posting_attachments.php(1191): attach_posting->__construct() #1 C:\OpenServer\domains\***.ru\posting.php(278): execute_posting_attachment_handling() #2 {main} thrown in C:\OpenServer\domains\***.ru\library\attach_mod\posting_attachments.php on line 1112
 

Protektor

Пользователь
PHP Version 7.0.8
Open server 5.2.2
mysql 5.6

При УДАЛЕНИИ темы ошибка
Fatal error: DB Error [library\includes\functions_admin.php(400)] in C:\OpenServer\domains\torrent5\library\includes\core\mysql.php on line 787
но тема удаляется
 

Protektor

Пользователь
Exile
#001051 Unknown table 'torrent5.tmp_delete_topics'

DROP TEMPORARY TABLE tmp_delete_topics

Source : library\includes\functions_admin.php(400) :: db1.
IP : 127.0.0.1
Date : 2017-01-17 00:17:23
Agent : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Req_URI : /modcp.php
Referer :

Please Login or Register to view hidden text.


Method : POST
PID : 06728
Request : Array
(
[sid] => 289W1GXm95BeT1XDhU8g
[mode] => delete
[f] => 49
[t] => 6880
[topic_id_list] => Array
(
[0] => 6880
)

[confirm] => Да
)________________________________________
 

Protektor

Пользователь
Torrentpier 2.1.6
php-7

Когда жму создать новую тему вылазит вот такая ошибка

Fatal error: Uncaught Error: Call to undefined method attach_posting::attach_parent() in C:\OpenServer\domains\***.ru\library\attach_mod\posting_attachments.php:1112 Stack trace: #0 C:\OpenServer\domains\***.ru\library\attach_mod\posting_attachments.php(1191): attach_posting->__construct() #1 C:\OpenServer\domains\***.ru\posting.php(278): execute_posting_attachment_handling() #2 {main} thrown in C:\OpenServer\domains\***.ru\library\attach_mod\posting_attachments.php on line 1112

В соседней теме нашел ответ
https://torrentpier.com/forum/threads/fatal-error-php-7-0-13.41623/
 
Сверху