[Zotero 7 Beta]: Zotero keeps thinking pdf as php file
Set up: Windows 10 with Zotero 7.0.0-beta.78+5be5ca941 (64-bit).
I find that a paper I downloaded months ago from SSRN cannot be viewed inside Zotero. I suppose the problem is because Zotero regarded it as php file as reveal the file in the Zotero directory suggest it is treated as php file. And manually change the file extension to pdf doesn't work it get reverted back by Zoteto. You can view the file as pdf in any other reader though. And I don't have this problem on Macos.
It previously is not a problem until today. And maybe because recent version's Zotero starts to respect file extension metadata? I don' t remember it exactly but I am sure this particular file in question is not uploaded with dragging/importing the physical pdf from local to Zotero, it is obtained somewhat automatically by Zotero(think along the line of chrome plugin, or I paste in DOI and Zotero find the pdf) and the file obtained was with extension php, I had no problem viewing it inside Zotero at that time though.
I find that a paper I downloaded months ago from SSRN cannot be viewed inside Zotero. I suppose the problem is because Zotero regarded it as php file as reveal the file in the Zotero directory suggest it is treated as php file. And manually change the file extension to pdf doesn't work it get reverted back by Zoteto. You can view the file as pdf in any other reader though. And I don't have this problem on Macos.
It previously is not a problem until today. And maybe because recent version's Zotero starts to respect file extension metadata? I don' t remember it exactly but I am sure this particular file in question is not uploaded with dragging/importing the physical pdf from local to Zotero, it is obtained somewhat automatically by Zotero(think along the line of chrome plugin, or I paste in DOI and Zotero find the pdf) and the file obtained was with extension php, I had no problem viewing it inside Zotero at that time though.
You should be able to rename it from the Filename field in Zotero.
Rename doesn't seem work for me. I tried this
https://s3.amazonaws.com/zotero.org/images/forums/u8818164/v4un75jxp7ra87iad6xl.png
But the file in File explorer still think it is a php file
https://s3.amazonaws.com/zotero.org/images/forums/u8818164/rfhmbj9r5t254k6bol7v.png