File Manager Extract causing PHP files to get double lines
When I use the Extract function in File Manager, PHP files are being extracted with double lines.
Example:
51407
The file should look like this:
51411
The source file is a ZIP file I download from xenforo.com, it the latest version of their forum software. I upload the ZIP using Dreamweaver and then I use File Manager and Extract. I have tested on two different web hosts so I suspect this will be an issue with cPanel.
Thank you.
-
Hi Andy, I'm unable to duplicate this on a cPanel v70.0.23 server. What version are you on over there? 0 -
Thank you for testing. I tried on two different web hosts: 68.0.33 and 11.62.0.40 -> shared web host with GoDaddy 0 -
I'm unable to duplicate this on a cPanel v70.0.23 server.
Please use TextEdit to view the extracted file. When viewed inside cPanel using File Manage -> View the PHP file looks normal.0 -
To be clear, you uploaded the zip, extract it, then selected download > Open with text edit, is that right? 0 -
To be clear, you uploaded the zip, extract it, then selected download > Open with text edit, is that right?
Thank you for checking. Here are the steps I took: 1) cPanel -> File manager -> Select ZIP file -> Extract 2) Dreamweaver (or use some other FTP program) -> download one of the extracted PHP files. 3) Open PHP file on my iMac using TextEdit.0 -
That's exactly what I've done above, sans dreamweaver, I don't use it. 0 -
I was able to solve this issue by changing the "Connect using" from FTP to SFTP. 0 -
That setting is in Dreamweaver I take it? Interesting that the connection type would have an effect here with this. 0 -
The etc/ folder under the username was somehow moved to public_html/ so once that was moved back I could no longer FTP, so once I changed to SFTP in Dreamweaver I was able to FTP and also the issue with extract was resolved. 0
Please sign in to leave a comment.
Comments
9 comments