Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14132

SQL Error when creating a new subject on fresh installation

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.1.9-RC1
    • Component/s: Posting
    • Labels:
      None
    • Environment:
      PHP : 5.6.8
      MySQL : 5.0.83

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Marc Marc
                Reporter:
                Zoddo Zoddo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: