After upgrading from 2.0.18 to 2.1.4, attachments no longer work. New and old.

Started by 8220, May 03, 2025, 02:02:52 AM

Previous topic - Next topic

8220

Hi Folks

I upgraded from 2.0.18 to 2.1.4, and now attachments and avatars no longer work. All files in the attachments folder have a .dat extension. And even when I add new attachments to posts, they don't appear. But i can find the new one in the attachment folder.

If I try to open it manually I get this message in the browser.

Jens

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."



Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sir Osis of Liver

When in Emor, do as the Snamors.
                              - D. Lister

8220


Kindred

Generally, it is polite to post the TEXT that we ask for,  not an image...


Run repair_settings.php



If the didn't work, please uninstall your mods and confirm if the attachments work

You have several mods which change the attachment functionality
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

8220

Sorry about that.

I've now run repair_settings.php and uninstalled my mods. Unfortunately, my problem still persists.

Illori


Sir Osis of Liver

What do you see in Admin > Attachments and Avatars > Browse Files?
When in Emor, do as the Snamors.
                              - D. Lister

8220

Quote from: Sir Osis of Liver on May 04, 2025, 05:32:45 PMWhat do you see in Admin > Attachments and Avatars > Browse Files?


I can see all my attachments with upload date, correct size and correct name.


Quote from: Illori on May 04, 2025, 11:53:03 AMhave you asked your host about this?

What should I ask him?

Illori

Quote from: 8220 on May 05, 2025, 03:09:24 PM
Quote from: Illori on May 04, 2025, 11:53:03 AMhave you asked your host about this?

What should I ask him?

tell him you are getting the error and ask them if they can fix it.

8220

problem solved

Thanks for your help.

QuoteThe images appear to be returned from the forum with incorrect size information, which is causing the range requests from the requesting clients to malfunction. We have therefore just updated the .htaccess file in the client directory on the server to include the line:

RequestHeader unset Range

Advertisement: