Question about file permissions and root url problems

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
okparrothead
Forum Members
Forum Members
Posts: 36
Joined: Sun Feb 12, 2006 10:42 pm

Question about file permissions and root url problems

Post by okparrothead »

Hello Forum Members,

Thanks right now for all the information I've already gotten from this list. You folks are the best.

Here's my very long explanation and question which will probably have a very short and simple answer:  :-\

I'm unable to upload images through FCKEditor and I think I know the problem.

I installed CMSMS on a remote server using my reseller URL. >> serverX.somewhere.net/~user I'm sure you get the idea.

From what I can tell, FCK wants to upload images to somewhere.net/ instead of the virtual server. >>  /~user/

My goal is to get the image uploader in FCK to function. Other than that, the site is up and running, no problems.

I think URAN had a problem posted here on March, 3rd regarding his root url so I took off with that solution -- namely, changing the config.php to reflect the resolved root url in the image uploads path. >> thedomainname.com instead of serverX.somewhere.net/~user

Well, I can't seem to change config.php or its permissions when I'm logged in as root of the domain.

Here's my questions:

Who's the owner of config.php and how do I login as that user? --  Or

Is there a config.php in a location other than /public_html/ that I should be editing instead? It seems to be the same file, unique to my install, as the one URAN posted on March 3rd?? -- Or

Am I howling at the moon?  '.- o

Thanks in advance for any help you can give me.

Most gratefully,
OKParrothead
"Contentment is a quality best suited for cows - not cowboys" -- Jimmy Buffet
dirtywhitellama

Re: Question about file permissions and root url problems

Post by dirtywhitellama »

Can you change permissions at all on your server?  IF so then I  believe config needs to be 666 while you edit and then 555 when it is done so nobody else can edit it.

Otherwise, I would recommend downloading a copy of config.php, editing it, deleting the one on your server and uploading the copy in its place. (you may wish to keep a second backup file before your changes).
alfblack

Re: Question about file permissions and root url problems

Post by alfblack »

That is what I like about FIlezilla (for windows). http://filezilla.sourceforge.net/ I log in to my server via ftp. Select config.php and it will open locally. I will editing and save. After that, filezilla will say that the file  was modified and if I want to upload it back again. I would say yes and the modified will be automatically uploaded.

Major bummer is. No linux version. :(
Post Reply

Return to “CMSMS Core”