Author Topic: PM attachments yield index.php, workaround: rename  (Read 1979 times)

0 Members and 1 Guest are viewing this topic.

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
PM attachments yield index.php, workaround: rename
« on: December 20, 2020, 09:07:03 PM »
Bug in the forum since the move 1-2 months ago.

When you download an attachment from a private message, you get the correct file, but it's named index.php instead of the real name that the attachment has in the PM. The file should ideally have the right name when you download it.

Workaround: Download the attachment, then rename from index.php to what it really is.

Windows users might have to enable show-file-extensions. (Insert Simon rant that this is not default.)

I'll look at this tomorrow, but I have no clue how to fix yet.

-- Simon

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: PM attachments yield index.php, workaround: rename
« Reply #1 on: December 21, 2020, 02:38:29 AM »
At a guess, I'd suspect the SMF 2.0.17 upgrade is the culprit, not the server move.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline namida

  • Administrator
  • Posts: 12398
    • View Profile
    • NeoLemmix Website
Re: PM attachments yield index.php, workaround: rename
« Reply #2 on: December 23, 2020, 01:51:25 AM »
This should now be fixed. Please reopen or PM me if it resurfaces + let me know which browser it is occuring on.
My Lemmings projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)

Offline Simon

  • Administrator
  • Posts: 3860
    • View Profile
    • Lix
Re: PM attachments yield index.php, workaround: rename
« Reply #3 on: December 23, 2020, 12:03:20 PM »
Works, thanks!

-- Simon