File Manager Editor problems
Hello,
it's two weeks I have some problems with editors (text, code editor and html editor) in File Manager. Everytime I change something in some page and save it, the charset in the meta tag is changed, even though I choose another charset (iso-8859-15) which is also served by htaccess. I edited it again and again, but after saving, the page shows the undesired code.
Another error also occurs in the same meta tag: I use xhtml, which requires tag to be closed with a slash, and that slash is always removed, so that I have
and not
This is annoying because I cannot modify files on the fly, but have to change and then upload them on the server. Is there a solution for this?
and not
This is annoying because I cannot modify files on the fly, but have to change and then upload them on the server. Is there a solution for this?
-
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 -
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 -
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 -
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.
Comments
4 comments