A french user of phpBB has encountered this error:
Erreur générale
|
SQL ERROR [ mysql4 ]
|
|
Duplicate entry 'notification.type.topic_in_queue' for key 2 [1062]
|
|
SQL
|
|
INSERT INTO phpbb_notification_types (notification_type_name, notification_type_enabled) VALUES ('notification.type.topic_in_queue', 1)
|
|
BACKTRACE
|
|
FILE: (not given by php)
|
LINE: (not given by php)
|
CALL: msg_handler()
|
|
FILE: [ROOT]/phpbb/db/driver/driver.php
|
LINE: 855
|
CALL: trigger_error()
|
|
FILE: [ROOT]/phpbb/db/driver/mysql.php
|
LINE: 181
|
CALL: phpbb\db\driver\driver->sql_error()
|
|
FILE: [ROOT]/phpbb/db/driver/factory.php
|
LINE: 329
|
CALL: phpbb\db\driver\mysql->sql_query()
|
|
FILE: [ROOT]/phpbb/notification/manager.php
|
LINE: 953
|
CALL: phpbb\db\driver\factory->sql_query()
|
|
FILE: [ROOT]/phpbb/notification/type/base.php
|
LINE: 133
|
CALL: phpbb\notification\manager->get_notification_type_id()
|
|
FILE: [ROOT]/phpbb/notification/manager.php
|
LINE: 909
|
CALL: phpbb\notification\type\base->set_notification_manager()
|
|
FILE: [ROOT]/phpbb/notification/manager.php
|
LINE: 885
|
CALL: phpbb\notification\manager->load_object()
|
|
FILE: [ROOT]/phpbb/notification/manager.php
|
LINE: 353
|
CALL: phpbb\notification\manager->get_item_type_class()
|
|
FILE: [ROOT]/includes/functions_posting.php
|
LINE: 2334
|
CALL: phpbb\notification\manager->add_notifications()
|
|
FILE: [ROOT]/posting.php
|
LINE: 1400
|
CALL: submit_post()
|
He has installed his board and created a new user (with administrator permissions).
When he try to create a subject, he has the above error.
- caused
-
PHPBB-14799 purge_notifications() leaves open transaction for bad notification types.
- Closed