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

Signature edit in acp gives error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.3-RC1
    • Component/s: ACP
    • Labels:

      Description

      Reported on german support board:

      When editing user's signature in acp, preview throws debug messages:

      phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 789: A non-numeric value encountered 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 790: A non-numeric value encountered 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 791: A non-numeric value encountered 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268) 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268) 
      [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3268)

      Suggested change in includes/acp/acp_users.php around line 2100:

      find

                      if ($request->is_set_post('preview'))
                      {
                          $decoded_message = generate_text_for_edit($signature, $bbcode_uid, $bbcode_bitfield);
                      }
      
       

      replace with

                      if ($request->is_set_post('preview'))
                      {
                          $decoded_message = generate_text_for_edit($signature, $bbcode_uid, $bbcode_flags);
                      }
      
       

      (Wrong field used for bbcode_flags)

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              canonknipser Frank Jakobs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: