My site got hacked a couple of days ago and I'm been uploading clean versions of my software to ensure that there are no hidden scripts. The hack appears to have been in my Joomla software and my forum does not appear to have been affected but I'm doing this to be safe.
In a subdomain, I have phpBB v3.1.10 that was working properly. I renamed my original forum directory as "oldforum" and downloaded all of the forum's files to my PC for backup. I then created a new directory corresponding to my original forum subdomain and uploaded the v3.1.10 full installation package to that directory. I then copied back the /files and /ext directories as well as the config.php file from my PC.
I learned that FileZilla corrupts the image files in /files unless binary transfer is used. Luckily, I could still copy /files from oldforum.
Both forums use the same database and I can open both simultaneously. The image attachments in the new forum work properly for the most part, both for thumbnails and full images.
However, for one topic, the thumbnails do not appear in the new forum. When I click on the attachment marker, most of the full size images appear properly. In one post in a topic in the new forum, IMG_1025.JPG appears corrupted in full size while IMG_1024.JPG appears properly. Both of the those 2 images appear properly in oldforum. How can I fix this problem?
I see that in 2014 post Re: Changed thumbnail width - regenerate/resize all thumbnai
, there is a script for recreating all thumbnails. Does this script work for v3.1.10?