Update attachment

Discuss general development subjects that are not specific to a particular version like the versioning control system we use or other infrastructure.
Post Reply
Registered User
Posts: 1
Joined: Wed Sep 26, 2018 10:13 am

Update attachment

Post by Danesh » Wed Sep 26, 2018 10:18 am


Does anyone know how I can upgrade some of the attachments on my forum?

I've got a few corrupted pdf and word files and I'm trying to delete them and add the working file however I'm not sure whats the easiest way to do this?

I know where the attachment files are, but when I removed the files from the file folder and replace it with a none corrupted file (rename the file and remove the extension) it doesn't work.

It seems like I have to change something from DB as well?

Please can you help me as I'm new to phpBB.

Many thanks

User avatar
DavidIQ Online
Customisations Team Leader
Customisations Team Leader
Posts: 1801
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth

Re: Update attachment

Post by DavidIQ » Wed Sep 26, 2018 1:07 pm


Please note that this is a development board for the primary phpBB product. Support questions including custom coding should/can be done on our main site at https://www.phpbb.com/community


Post Reply