[Solved] Installation Problem on hosting server

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

[Solved] Installation Problem on hosting server

Post 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
Last edited by makhatri on Tue Oct 22, 2013 1:03 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Installation Problem on hosting server

Post 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/
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Installation Problem on hosting server

Post by Dr.CSS »

We need more info on the server itself...

http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Installation Problem on hosting server

Post 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...
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post 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
Last edited by Dr.CSS on Fri Aug 23, 2013 5:48 pm, edited 1 time in total.
Reason: Please use double quotes on fake links so they aren't clickable...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Installation Problem on hosting server

Post 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...
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Installation Problem on hosting server

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post 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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Installation Problem on hosting server

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post 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
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Installation Problem on hosting server

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post by makhatri »

Yes, I did upload through cPanal and extract it there.

-MAK
makhatri
Forum Members
Forum Members
Posts: 31
Joined: Sun Jul 14, 2013 11:02 am

Re: Installation Problem on hosting server

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”