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

Debug and SQL Error when reporting a PM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a1
    • 3.1.0-dev
    • None
    • None

      [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()

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

              Created:
              Updated:
              Resolved: