Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14132

SQL Error when creating a new subject on fresh installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.9-RC1
    • 3.1.5
    • Posting
    • None
    • PHP : 5.6.8
      MySQL : 5.0.83

      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.

            Marc Marc
            Zoddo Zoddo [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: