Skip to main content

File Manager Editor problems

Comments

4 comments

  • Infopro
    Have you tried resetting things in the File Manager? On the main page of your cPanel, at bottom, is a link to reset all interface settings. Click that. Next, go back to File Manager and open one of these files, watch for the Encoding check popup. Click Disable button on that prompt. Next, close the file you just opened and note another message prompt about being Disabled. Click OK. Open your file again, modify it somehow, save, and see if the changes are saved proper. Not sure if that's helpful, but give it a go if you haven't yet.
    0
  • LittleCat
    Hi Infopro, thanks for your answer. I did all you suggested. The charset now seems not changed when saving the page, but the slash is still removed
    0
  • Infopro
    Hi LittleCat, I had not actually tested your issue for myself earlier, but I did just now. Using the example here: /http://www.w3schools.com/html/html_xhtml.asp Title of document ......
    I created a file: test.php in File Manager. And then added that example, and your line of code that's changing on you: Title of document ......
    Saved, refreshed File Manager, and checked the file and the code is intact. If I rename that file to test.html save, open to edit, save, refresh then check for the backslash, it is removed. Title of document ........
    0
  • LittleCat
    The slash is always removed for me, in php and html files, when I edit and save them, not only if I rename them. I think it may be a problem tied in some way to character encoding: I made an attempt selecting utf-8 in the editor (even though my charset is different), and I saw that, when utf-8 is set, the code is not changed, the slash is kept. I don't understand why this happens, but at this moment, if this encoding gives me no problems with special characters, I think to set the editor to use it. Thanks a lot for your time
    0

Please sign in to leave a comment.