I'm installing CMSMS on a shared server. The setup is one I'm not used to (I have recently moved to this host), where ssh and ftp access takes me to a root directory for my domain, but http access takes the visitor to a directory "public_html" within the root.
So I have used ssh to get the 1.0.6.tar.gz file and put it in that public_html directory, then run tar against it. This resulted in the predicted directory named "cmsmade...blah", which I have renamed "cmsms". Within it are all the expected folders and files. I have set the four folder permissions to 777 as in Step 4, except that "uploads" stubbornly resists, and remains at 775. I have run the commands in Step 5, and have a file "config.php" in the directory cmsms, with permissions 666. I have created an empty MYSql database as in Step 6, although with different names.
When I go to Step 7, I get this:
A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.
Same whether I go to index.php or to /install/install.php.
My host is running PHP 4.4.4 and MySql 5.0.20A
My problem, of course, is that I don't know what the permissions should be, or indeed which script has generated this message.
I'd be grateful for any guidance ...
Chris
File permissions problem with installation of 1.0.6
Re: File permissions problem with installation of 1.0.6
most likely either config.php couldnt be modified or tmp/templates_c or tmp/cache isnt writable..
doublecheck the permissions
hope this helps
doublecheck the permissions
hope this helps
Re: File permissions problem with installation of 1.0.6
Hello Chris,
This 775 resistance is very strange. Could you please paste the result of this :
I hope you don't have a hosting restriction on file permissions that prevents installation.
Pierre M.
Well done to choose the SSH install.ChrisG wrote: I have set the four folder permissions to 777 as in Step 4, except that "uploads" stubbornly resists, and remains at 775.
This 775 resistance is very strange. Could you please paste the result of this :
Code: Select all
cd cms
ls -al
chmod 777 uploads
ls -al
Pierre M.
Re: File permissions problem with installation of 1.0.6
Thanks guys
I put the problem to my hosting outfit (Heart Internet) and the immediately identified the problem (and solved):
The file permissions are quite wrong unfortunately. 777 is a serious security hazard so we do not allow this to be used. The correct permissions for the folders should be 755 and 644 for the php files. I've changed these now, and it seems to be working.
If you guys are involved with the documentation, you might want to note that some hosts limit permissions in this way.
I appreciate your help, and look forward to getting to grips with CMSMS.
Cheers
Chris
I put the problem to my hosting outfit (Heart Internet) and the immediately identified the problem (and solved):
The file permissions are quite wrong unfortunately. 777 is a serious security hazard so we do not allow this to be used. The correct permissions for the folders should be 755 and 644 for the php files. I've changed these now, and it seems to be working.
If you guys are involved with the documentation, you might want to note that some hosts limit permissions in this way.
I appreciate your help, and look forward to getting to grips with CMSMS.
Cheers
Chris
Re: File permissions problem with installation of 1.0.6
Good news, Chris.
Yes, hosting restrictions may lead to deviation from the doc. Hopefuly there are threads in these forums about this.
If you don't need to change config.php (before next upgrade), you should set it 444 (rather than 644) to enforce security.
Have fun
Pierre M.
Yes, hosting restrictions may lead to deviation from the doc. Hopefuly there are threads in these forums about this.
If you don't need to change config.php (before next upgrade), you should set it 444 (rather than 644) to enforce security.
Have fun
Pierre M.