Page 1 of 2

[Solved] Installation Problem on hosting server

Posted: Tue Aug 20, 2013 3:20 pm
by makhatri
Hi all,
Please guide me how can I resolved this installation issue on my hosting server:

Code: Select all

Directory not writable! /home/codeetch/public_html/tmp/templates_c
Please correct by executing: chmod 777 or set writing permission for php process, exiting!
Remember that, I have not any previous experience for installation of CMSMS on server. I am new in this field and do not know php as well :(

I already set the permission on following directories as mention in this tutorial https://myportal.portalwebhosting.com/k ... ormat=text

Image

Thanks in advance.
MAK

Re: Installation Problem on hosting server

Posted: Tue Aug 20, 2013 10:22 pm
by Dr.CSS
My server needs 755 which it looks like yours is auto setting them, try 755 instead to see if it works...

The best place for documentation...

http://docs.cmsmadesimple.org/

Re: Installation Problem on hosting server

Posted: Wed Aug 21, 2013 2:09 am
by makhatri
Thanks ...
But 755 is not working for my server.

Image

My host server name is http://www.serversea.com. Is there any server site issue? what I ask them to check in server setting.

Please guide me to resolve this issue.

-MAK

Re: Installation Problem on hosting server

Posted: Wed Aug 21, 2013 5:31 pm
by Dr.CSS
We need more info on the server itself...

http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661

Re: Installation Problem on hosting server

Posted: Thu Aug 22, 2013 2:59 pm
by makhatri
I use CMSMS version cmsmadesimple-1.11.7-full on my server. Here is the server detail:

Image

Please let me know if you want any other information.

Thanks
-MAK

Re: Installation Problem on hosting server

Posted: Thu Aug 22, 2013 4:54 pm
by Dr.CSS
There is a page called System Information under site admin that you should have used to paste here for system info, you need to check it for any yellow ! or red X...

Re: Installation Problem on hosting server

Posted: Fri Aug 23, 2013 2:47 am
by makhatri
Sorry I can not get your point. I do not have CMSMS installed on my server, This is the first screen when I try to install CMS by typing url: "http://www.mySite.com/install

Image

I also try "http://www.mySite.com/admin/systeminfo.php, it give me below error:

Code: Select all

/home/mySite/public_html/lib/adodb.functions.php:52 - offsetGet
/home/mySite/public_html/lib/classes/class.CmsApp.php:229 - adodb_connect
/home/mySite/public_html/include.php:188 - GetDb
/home/mySite/public_html/admin/systeminfo.php:23 - require_once
FATAL ERROR: Could not find database connection key dbms in the config file
This is current directory permission:

Image

Image

I appreciate your time and effort to help me out.
-MAK

Re: Installation Problem on hosting server

Posted: Fri Aug 23, 2013 5:50 pm
by Dr.CSS
It looks like you are not on a windows server, I would talk to the host to see about fixing the permissions, maybe the folder owner isn't correct, how did you upload it to install, are you sure everything made it up to the server...

Re: Installation Problem on hosting server

Posted: Fri Aug 23, 2013 6:58 pm
by Jo Morg
Also, besides what DrCSS just stated, it's not clear if your host has Open Basedir enabled or not.
Open Basedir is not supported by CMSMS, and may very well be the issue.

Re: Installation Problem on hosting server

Posted: Fri Aug 23, 2013 7:57 pm
by makhatri
Dr.CSS:
I upload cmsmadesimple-1.11.7-full.tar file by cPanel on home directory and extract it there.

Jo Morg:
I have not any idea about Open Basedir right now on my server. Let see what my service provider tell about that.

Is there any php script to determine the Open Basedir on / off?

-MAK

Re: Installation Problem on hosting server

Posted: Fri Aug 23, 2013 8:50 pm
by Jo Morg
makhatri wrote:I have not any idea about Open Basedir right now on my server. Let see what my service provider tell about that.Is there any php script to determine the Open Basedir on / off?
http://www.php.net/manual/en/features.s ... en-basedir
I think the best thing is to get that cleared with your service provider.

Re: Installation Problem on hosting server

Posted: Sat Aug 24, 2013 11:18 am
by makhatri
Hi,
Below is the answer from my service provider:

Open based directory is disabled by the server administrator and we would not enable it because of security reason.

Please let me know is there is any workaround to overcome this issue?
-MAK

Re: Installation Problem on hosting server

Posted: Sat Aug 24, 2013 2:13 pm
by Jo Morg
Directory not writable! /home/codeetch/public_html/tmp/templates_c
Please correct by executing: chmod 777 or set writing permission for php process, exiting!
At this point I think the problem is with the ownership and permissions of files and folders. Did you upload files via FTP? If so, try uploading the whole archive via CPanel file manager and extract it there. That may eventually set the ownership correctly. I recall that I had a similar problem with uploading files through ftp on some old host provider. That's the only thing that occurs to me at this point.
HTH.

Re: Installation Problem on hosting server

Posted: Mon Aug 26, 2013 5:23 am
by makhatri
Yes, I did upload through cPanal and extract it there.

-MAK

Re: Installation Problem on hosting server

Posted: Tue Aug 27, 2013 10:04 am
by makhatri
Please clear me,
Is we install CMSMS on server with anonymous User? If this is a case, what should be the ownership/permission on folders/files.
Is it possible to check the ownership/permission by script for specific file/folder before installation of CMSMS on server?
I need this because my cpanel file explorer shows 777 on folder but when I try to install it, its says that folder does not have 777 permission.

-MAK