Page 1 of 1

Permissio problems with 1.2.1

Posted: Fri Nov 30, 2007 2:38 am
by kendo451
Problem:

When I use the shell install method to set up CMSMS 1.2.1 or the version before that, the script says I do not have the proper permissions for config.php.  I have double, triple, quadruple checked, and the permissions for config.php are set to 666 and it is located in the correct directory.  I tried this with the most recent version (1.2.1) as well as the version before (1.1.4.1) that and am getting the same error.

Server Info:  Red Hat Enterprise Linux version 4, PHP version 5, MySQL version 5, Plesk 8.2.2

I have six installed instances of older versions of CMS Made Simple installed on my webserver. They are working fine.

I also installed CMSMS 1.2.1 on my laptop running XAMP on Windows XP.  It works fine.

Any suggestions as to the problem???

Thanks,
Ken Griffith

Re: Permissio problems with 1.2.1

Posted: Mon Dec 03, 2007 2:57 am
by kendo451
I neglected to state that I used the shell install method.  Then, I used the linux command mv * ../ to move all of the files from directory cmsmadesimple-1.2.1 to my root httpdocs directory. 

I tried the install leaving it in the directory that tar -zxf puts it in - it works fine.

So the problem is that when I move the files to the root directory using shell and mv command, something is getting screwed up that causes the install script to say that config.php isn't writeable.

I tried doing the full install in the default directory and THEN moving it using mv.  I changed the paths in config.php to the root, but the problem recurs.

What is it about the mv command that screws up CMSMS?

Re: Permissio problems with 1.2.1

Posted: Mon Dec 03, 2007 3:05 am
by calguy1000
uhm.... the default .tar.gz or .zip files for cms made simple don't come with a config.php..... you have to create an empty one..... 'touch config.php' would work.  and then chmod it to 777 so that the httpd process could write to it, after installation is complete, chomoding it back to 644 or even 444 would be fine.

Re: Permissio problems with 1.2.1

Posted: Mon Dec 03, 2007 4:10 pm
by kendo451
I am aware that you have to create config.php.  It have created it via touch, and chmod it to 666.  The problem occurs in spite of this.

It only occurs if I mv the files to the root directory using shell command =>mv * ../ from the cms directory.

Re: Permissio problems with 1.2.1

Posted: Fri Dec 07, 2007 3:34 pm
by Pierre M.
Hello,

I'd rather move first to where I like, then touch then launch the wizard.

Pierre M.