|
|
|
|
![]() ![]() |
Oct 14 2007, 12:02 AM
Post
#1
|
|
|
Joshua ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 605 Joined: 23-June 05 From: Illinois Member No.: 8,571 |
Three times I've tried using HTML Editor to edit my index.html page and the first 2 times it instantly deleted all the page's coding and replaced it with the word "undefined".
I noticed the 3rd time after editing a page it gives the following message: QUOTE %2fhome%2fjoshua%2fpublic_html/index.html File Saved -------------------------------------------------------------------------------- open index.html failed: Permission denied at cpanel.pl line 469 Carp::croak('open index.html failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1352 Cpanel::Fileman::savehtmlfile('%2fhome%2fjoshua%2fpublic_html', 'index.html', 'undefined') called at cpanel.pl line 469 main::__ANON__('%2fhome%2fjoshua%2fpublic_html', 'index.html', 'undefined') called at cpanel.pl line 1462 main::exectag('<cpanel Fileman="savehtmlfile($FORM{\'dir\'},$FORM{\'file\'},$FO...') called at cpanel.pl line 4361 main::dotag(undef) called at cpanel.pl line 4250 main::cpanel_parseblock('SCALAR(0x8f6840c)') called at cpanel.pl line 4204 main::cpanel_parse('GLOB(0x91853c0)') called at cpanel.pl line 1027 [a fatal error or timeout occurred while processing this directive] Anyway, it was really annoying the first time it happened because it deleted all my work. I've since learned to make backups. I think it's because I put some JavaScript on my pages now and the HTML Editor can't handle it. For some reason on the 3rd time it didn't delete all the coding though, which is strange. Maybe because I didn't edit enough that time? In fact, I notice it gives the error even if saving normally now in regular Edit. Maybe I just didn't notice it before? I haven't figured out yet why it deletes everything sometimes and not others though. This post has been edited by rvalkass: Oct 14 2007, 08:16 AM |
|
|
|
Oct 14 2007, 08:19 AM
Post
#2
|
|
|
apt-get moo ![]() Group: [MODERATOR] Posts: 2,156 Joined: 28-May 05 From: Devon, England Member No.: 7,593 ![]() |
I think the key to fixing this is the first error it outputs:
QUOTE open index.html failed: Permission denied at cpanel.pl line 469 All the others 'cascade' from that one, so fixing the first one will fix the rest. As it says, permissions are the problem here. Take a look at the permissions for index.html and make sure that owner and group have read and write at least. That should then let the editor edit the file. If not, temporarily set full permissions while you edit it, then revert them back once you're done. |
|
|
|
Oct 15 2007, 05:28 AM
Post
#3
|
|
|
Joshua ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 605 Joined: 23-June 05 From: Illinois Member No.: 8,571 |
I think the key to fixing this is the first error it outputs: All the others 'cascade' from that one, so fixing the first one will fix the rest. As it says, permissions are the problem here. Take a look at the permissions for index.html and make sure that owner and group have read and write at least. That should then let the editor edit the file. If not, temporarily set full permissions while you edit it, then revert them back once you're done. Ok, that probably is the problem, thanks. I changed file permissions after seeing the thread about site hackers hijacking a site and how that could be prevented by setting most files to 444 settings. |
|
|
|
Oct 15 2007, 11:38 PM
Post
#4
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 42 Joined: 28-September 07 Member No.: 50,819 |
I've been having problems with the HTML editor too. It just seems kind of buggy. No real problems for me though, i always upload the files from my hard drive. Its just a habit i guess, plus it means my files are always synched
|
|
|
|
Oct 18 2007, 07:44 PM
Post
#5
|
|
|
Joshua ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 605 Joined: 23-June 05 From: Illinois Member No.: 8,571 |
I think the key to fixing this is the first error it outputs: All the others 'cascade' from that one, so fixing the first one will fix the rest. As it says, permissions are the problem here. Take a look at the permissions for index.html and make sure that owner and group have read and write at least. That should then let the editor edit the file. If not, temporarily set full permissions while you edit it, then revert them back once you're done. Actually, no, the permissions weren't the problem. I tried the index.html permissions at both 6-4-4 and 7-7-7 and it didn't matter. Whenever I'd try using the HTML Editor on a file instead of saving it would delete everything in the file and replace it with a single word: undefined. Then when I try re-opening the HTML Editor after it does that it says "no input file". And unless I was smart enough to copy the source code before using the HTML Editor, I have to copy another page and use the basic outline to restart the page all over again. Fortunately I've come to suspect this and have started making backups and using tactics like that, but it's still really annoying not to be able to use the HTML Editor at all. |
|
|
|
Oct 18 2007, 08:48 PM
Post
#6
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,075 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
Please report this problem to www.xistosupport.com
thanks. |
|
|
|
Oct 19 2007, 10:39 AM
Post
#7
|
|
|
Trap Grand Marshal Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 1,317 Joined: 11-January 06 From: Chennai, India Member No.: 16,932 |
I think that the HTML Editor in the Filemanger of cPanel is not enabled.
I'm seeing the same error since I got my hosting account at Trap17. the latest version of cPanel, the vrsion 11 has a new Filemanger that looks a lot like the windows explorere, it is an AJAX interface and the HTML WYSIWYG editor fucntions a lot better than the previous versions. Hope that Opaque updates the Trp17 cPanel to the latest version |
|
|
|
Oct 19 2007, 05:17 PM
Post
#8
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 164 Joined: 1-July 07 From: Arendal, Norway Member No.: 45,772 |
I would just recommend you use an Offline HTML Editor. (Dreamweaver, Notepad, whatever.)
This way it's easier to keep stuff organized and fast. I don't trust the webtools |
|
|
|
![]() ![]() |
Similar Topics