Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Error Trying To Edit File Using Cpanel Filemanager, Can't save any changes
Jimmy
post Jun 23 2007, 11:48 PM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 486
Joined: 9-April 06
From: The UK
Member No.: 21,584



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!

QUOTE
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 smile.gif 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:
QUOTE
350 RNFR accepted - file exists, ready for destination
550 Rename/move failure: Permission denied

This is getting really annoying so if anyone has any idea how to fix it, I'd appreciate it!

This post has been edited by Jimmy: Jun 24 2007, 02:37 PM
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Jun 25 2007, 03:48 AM
Post #2


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,427
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



Please state where this file is located. I've reviewed your structure to 1 level and did not find such .css file.

Thank you.
Go to the top of the page
 
+Quote Post
Jimmy
post Jun 25 2007, 06:38 AM
Post #3


Super Member
*********

Group: [HOSTED]
Posts: 486
Joined: 9-April 06
From: The UK
Member No.: 21,584



Thank you, it's a long way into my folder structure!

public_html/dailyrant/templates/rt_elemental/css/compiled.css
Go to the top of the page
 
+Quote Post
garbage
post Jun 25 2007, 03:01 PM
Post #4


Privileged Member
*********

Group: [HOSTED]
Posts: 659
Joined: 16-April 06
From: Texas
Member No.: 21,945



well an obvious thing i would say is check the permissions on that file.
Go to the top of the page
 
+Quote Post
Jimmy
post Jun 25 2007, 04:44 PM
Post #5


Super Member
*********

Group: [HOSTED]
Posts: 486
Joined: 9-April 06
From: The UK
Member No.: 21,584



QUOTE(garbage @ Jun 25 2007, 04:01 PM) *
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 sad.gif
Go to the top of the page
 
+Quote Post
OpaQue
post Jun 26 2007, 04:54 AM
Post #6


Administrator
Group Icon

Group: Admin
Posts: 1,448
Joined: 11-June 04
From: Somewhere in Time & Space.
Member No.: 1



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.
Go to the top of the page
 
+Quote Post
Jimmy
post Jun 26 2007, 06:49 AM
Post #7


Super Member
*********

Group: [HOSTED]
Posts: 486
Joined: 9-April 06
From: The UK
Member No.: 21,584



QUOTE(OpaQue @ Jun 26 2007, 05:54 AM) *
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 smile.gif .

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 biggrin.gif )
Go to the top of the page
 
+Quote Post
Saint_Michael
post Jun 26 2007, 04:09 PM
Post #8


$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************

Group: [HOSTED]
Posts: 6,295
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
T17 GFX Crew



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.
Go to the top of the page
 
+Quote Post
Jimmy
post Jun 26 2007, 04:49 PM
Post #9


Super Member
*********

Group: [HOSTED]
Posts: 486
Joined: 9-April 06
From: The UK
Member No.: 21,584



QUOTE(Saint_Michael @ Jun 26 2007, 05:09 PM) *
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 c