I have jpg image that, unlike every successful jpg upload to my board, results in this error. I can use an imaging program to resave it in jpg format and it will then upload successfully, but I'd like to diagnose the problem and remedy to prevent future occurrences. I'm running phpBB 3.3.14 in my test environment, and I'm running Xdebug with Sublime Text as my debugger.
Here is my Xdebug stack.
posting.php, line 1045:includes/message_parser.php, line 1782, within phpbb/json_response.php, line 35, within includes/functions.php, line 4399, within I can set a breakpoint at the exit on line 4399 in functions.php, and the error will not yet have occurred; the slider bar is fully to the right. If I execute the exit, the error immediately appears. What code is executed subsequent to this escapes me. I'm assuming that some event fires, but I don't know which - and where to place a breakpoint so I can further diagnose.
Can anyone provide a suggestion?
Thanks
Dan
Here is my Xdebug stack.
posting.php, line 1045:
Code:
$message_parser->parse_attachments('fileupload', $mode, $forum_id, $submit, $preview, $refresh);function parse_attachments:Code:
// Send the client the attachment data to maintain state$json_response->send(array('data' => $this->attachment_data, 'download_url' => $download_url));public function send:Code:
exit_handler();function exit_handler:Code:
exit;Can anyone provide a suggestion?
Thanks
Dan
Statistics: Posted by shortmort37 — Tue Jun 10, 2025 7:57 pm