Attachments dissapear on editing

Put here any suggestions / issues, new forum suggestions about this web forum not about the apps itself!
Post Reply
User avatar
Endru1241
Posts: 609
Joined: Fri Sep 11, 2015 8:43 am
Location: Poland

Attachments dissapear on editing

Post by Endru1241 » Wed Sep 04, 2019 7:49 pm

When I edit posts with many files attached, e.g. posted few jsons.
When I tried to edit this post to remove jsons outdated by the ones in later posts, I am left with only one attachment in attachments tab.
Could this be something like this (quoted below from https://www.phpbb.com/community/viewtop ... &t=2453611) or is this my browser problem?
Issues involving attachments not showing, or not all showing, when posts with multiple attachments are posted or previewed, as discussed in this topic

Fix: Open phpBB/includes/functions_posting.php & find:

Code: Select all

foreach ($attachment_data as $count => $attach_row)
On a separate line BEFORE, ADD:

Code: Select all

$attachrow_template_vars = [];
Find and DELETE:

Code: Select all

$attachrow_template_vars = array();
Age of Strategy design leader

Stratego (dev)
Site Admin
Posts: 9923
Joined: Fri Apr 25, 2014 9:28 pm

Re: Attachments dissapear on editing

Post by Stratego (dev) » Wed Sep 04, 2019 7:51 pm

idk, it can be a phpBB bug or something.

i also faced this if i post files with same names (they somehow owerwrite each other)

Post Reply

Return to “Feedback about this forum”