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

Debug and SQL Error when reporting a PM

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      [phpBB Debug] PHP Notice: in file [ROOT]/report.php on line 142: Undefined index: reported_post_enable_bbcode
      [phpBB Debug] PHP Notice: in file [ROOT]/report.php on line 143: Undefined index: reported_post_enable_smilies
      [phpBB Debug] PHP Notice: in file [ROOT]/report.php on line 144: Undefined index: reported_post_enable_magic_url

      General Error
      SQL ERROR [ mysqli ]
       
      Column 'reported_post_uid' cannot be null [1048]
       
      SQL
       
      INSERT INTO phpbb_reports (reason_id, post_id, pm_id, user_id, user_notify, report_closed, report_time, report_text, reported_post_text, reported_post_uid, reported_post_bitfield, reported_post_enable_bbcode, reported_post_enable_smilies, reported_post_enable_magic_url) VALUES (1, 0, 4, 2, 1, 0, 1375543547, 'test', 'Test', NULL, '', NULL, NULL, NULL)
       
      BACKTRACE
       
      FILE: (not given by php)
      LINE: (not given by php)
      CALL: msg_handler()
       
      FILE: [ROOT]/phpbb/db/driver/driver.php
      LINE: 809
      CALL: trigger_error()
       
      FILE: [ROOT]/phpbb/db/driver/mysqli.php
      LINE: 187
      CALL: phpbb_db_driver->sql_error()
       
      FILE: [ROOT]/report.php
      LINE: 206
      CALL: phpbb_db_driver_mysqli->sql_query()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nickvergessen Joas Schilling
                Reporter:
                nickvergessen Joas Schilling
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: