Thanks for posts by Палыч
Добавлено: 28 июл 2014, 17:23
Пока не понял причину двоения.
phpBB Guru's phpBB 4.0-dev test board
https://anderson.phpbbguru.net/
Код: Выделить всё
[phpBB Debug] PHP Warning: in file [ROOT]/ext/gfksx/thanks_for_posts/migrations/v_1_2_8.php on line 86: Missing argument 2 for gfksx/thanks_for_posts/migrations/v_1_2_8::update_thanks_table()
Код: Выделить всё
public function update_thanks_table($action, $version)
Код: Выделить всё
Общая ошибка
SQL ERROR [ mysqli ]
Out of range value for column 'topic_id' at row 1 [1264]
SQL
INSERT INTO phpbb_thanks (user_id, post_id, poster_id, topic_id, forum_id, thanks_time) VALUES (53, 72420, 3662, 4698, 60, 1407310725)
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 844
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/ext/gfksx/thanks_for_posts/core/helper.php
LINE: 136
CALL: phpbb\db\driver\factory->sql_query()
FILE: [ROOT]/ext/gfksx/thanks_for_posts/event/listener.php
LINE: 130
CALL: gfksx\thanks_for_posts\core\helper->insert_thanks()
FILE: (not given by php)
LINE: (not given by php)
CALL: gfksx\thanks_for_posts\event\listener->viewtopic_handle_thanks()
FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 164
CALL: call_user_func()
FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 53
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
LINE: 167
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 40
CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
FILE: [ROOT]/viewtopic.php
LINE: 1036
CALL: phpbb\event\dispatcher->trigger_event()
Код: Выделить всё
'topic_id' => array('BOOL', 0),
'forum_id' => array('BOOL', 0),
Код: Выделить всё
'topic_id' => array('UINT', 0),
'forum_id' => array('UINT', 0),