Jump to content
xisto Community
Sign in to follow this  
Jimmy

Error Trying To Edit File Using Cpanel Filemanager Cant save any changes

Recommended Posts

Okay, I am having trouble saving changes to a .css file using the cpanel filemanager.
Basically it worked for me a couple of times (trying to edit "compiled.css") but now it just throws this error at me every time I click save!!
I cannot delete, move, rename or edit the file at all using an ftp manager or even the cpanel. I have been forced to take my site offline until I have access to update the css... Please help!

open compiled.css failed: Permission denied at cpanel.pl line 444 Carp::croak('open compiled.css failed: Permission denied') called at /usr/local/cpanel/Cpanel/Fileman.pm line 1299
Cpanel::Fileman::fmsavefile('/home/jimster/public_html/dailyrant/templates/rt_elemental/css', 'compiled.css', '.nav, .nav * {^M^J^Imargin:0;^M^J^Ipadding:0;^M^J}^M^Jdiv#horiz-menu { /*...') called at cpanel.pl line 444
main::__ANON__('/home/jimster/public_html/dailyrant/templates/rt_elemental/css', 'compiled.css', '.nav, .nav * {^M^J^Imargin:0;^M^J^Ipadding:0;^M^J}^M^Jdiv#horiz-menu { /*...') called at cpanel.pl line 1423
main::exectag('<cpanel Fileman="fmsavefile($FORM{\'dir\'},$FORM{\'file\'},$FORM...') called at cpanel.pl line 4309
main::dotag(undef) called at cpanel.pl line 4198
main::cpanel_parseblock('SCALAR(0x8eb2e70)') called at cpanel.pl line 4152
main::cpanel_parse('GLOB(0x90b71c8)') called at cpanel.pl line 969

(if a mod sees sensitive account info of mine in there, please remove it :) or if a trap members sees please PM me quick!)

The box with all the code appears and I can write into it okay, but saving is a problem. I have restarted comp / cleared cookies / cleared cache / re-login to cpanel but still no luck.
If I'm honest, I really don't understand what any of that error code means!!! I hope it means more to you all...

Does anyone have any ideas on how to fix or get round this, cos it's very annoying!!!

***EDIT***
I'm still trying to fix this problem and it's becoming very urgent. This has forced me to take my site offline until it can be sorted...
I can't delete or even rename using an ftpmanager (or cpanel), so I can't upload an edited version at all the ftp gives errors as well as cpanel no matter what I try:

350 RNFR accepted - file exists, ready for destination550 Rename/move failure: Permission denied

This is getting really annoying so if anyone has any idea how to fix it, I'd appreciate it!
Edited by Jimmy (see edit history)

Share this post


Link to post
Share on other sites

Thank you, it's a long way into my folder structure!public_html/dailyrant/templates/rt_elemental/css/compiled.css

Share this post


Link to post
Share on other sites

well an obvious thing i would say is check the permissions on that file.

I'm afraid it's not that simple! Permissions are currently set to 0755:That is - Owner read/write/execute - Group read/execute - Public read/execute

All very standard settings, so I don't know what's going on... my site is still remaining offline :)

Share this post


Link to post
Share on other sites

Tasks Performed for you :-1. Copied compiled.css to compiled.css.copy.2. deleted compiled.css3. chmodded compiled.css to 6444. reset ownership of that file.Check now.

Share this post


Link to post
Share on other sites

Tasks Performed for you :-
1. Copied compiled.css to compiled.css.copy.
2. deleted compiled.css
3. chmodded compiled.css to 644
4. reset ownership of that file.

Check now.

Okay, thank you very much for the help, but it didn't fix it!! I have no idea what's going on here. Cpanel just gives me a permission denied error trying to rename compiled.css.copy back to compiled.css

BUT, I have found a solution!!!

I was doing some research about this problem and apparantly is is quite well known... Joomla does something funny with active folders that it uses.
Using Joomlaxplorer (plugin for Joomla) I was able to get around the problems with cpanel and ftp programs it renamed and edited successfully :) .

I'm a bit annoyed I can't use an ftp program for it like everything else, but since it seems joomlaxplorer is the only option, and certainly works well, I'll stick with it!! (I feel a Joomla tuturial coming on :) )

Share this post


Link to post
Share on other sites

That is a interesting quirk, and it seems it should be fixed by the joomla guys; did your research find anything to the statement that they tried or are trying to fix that? This maybe see ma bit far fetched, but it would seem as though they are trying to monopolize by making sure that you can use only there software to make changes to there file structure. But like you mentioned in your earlier post that if this is a well known problem it should have been fixed by now.

Share this post


Link to post
Share on other sites

That is a interesting quirk, and it seems it should be fixed by the joomla guys; did your research find anything to the statement that they tried or are trying to fix that? This maybe see ma bit far fetched, but it would seem as though they are trying to monopolize by making sure that you can use only there software to make changes to there file structure. But like you mentioned in your earlier post that if this is a well known problem it should have been fixed by now.

No I didn't find any announcements detailing a fix, but since they are working on 1.5 it'll be okay for that version.

 

Nevertheless it get's even more confusing. After editing and renaming back to compiled.css with Joomlaxplorer, I found that this file got greyed out in joomlaxplorer!!

Now I'm getting confused. So, now I can't edit the file or rename/move etc. with Joomlaxplorer but instead, it now works in cpanel!!!

 

How wierd :) It's pinging me between the two programs. Really odd...

Must have something to do with the fix Opaque tried and resetting permissions etc. but to work initially with the plugin and then not to is odd...

Edited by Jimmy (see edit history)

Share this post


Link to post
Share on other sites
no edit option in file managerError Trying To Edit File Using Cpanel Filemanager

I just got linux shared hosting yesterday.  I have experience with basic hosting matters.  After I assigned some domains to the host I opened file manager and was surprised to see that I cannot find an "edit" option.  I can create, upload, rename, move, delete, copy, and change permissions on files but there is no "edit" option.  Normally there is a column of "Actions" that include something like "rename", "edit", "view", "download" etc.  But this column has only the "rename" option in it and there are some other buttons for deleting and what not.  So the point is, what in the world?

-question by grant

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.