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
Permissio problems with 1.2.1
Re: Permissio problems with 1.2.1
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?
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?
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Permissio problems with 1.2.1
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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Permissio problems with 1.2.1
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.
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
Hello,
I'd rather move first to where I like, then touch then launch the wizard.
Pierre M.
I'd rather move first to where I like, then touch then launch the wizard.
Pierre M.