Skip to content

Configuring Server for Automatic Kalatheme installation

katypool edited this page Jul 29, 2014 · 2 revisions

If you you were able to follow the Setup & Installation guide, congratulations! You are good to go with your subtheme. If not, you may have seen an error message like this:

Webserver error message

In order to get this working, you will need to configure your webserver (see below instructions) AND turn on the updates module. If the updates module is not turned on, you will continue to see the above error message and won't be able to automatically generate a kalasubtheme.

In order for your webserver to be able to perform the kalamagic you need to make sure that your theme and libraries directories both exist and are writable. Typically libraries are installed in sites/all/libraries and themes are installed in sites/all/themes. Make sure both of these directories exist and if not you can create them on the command line (relative to your drupal installation directory) using...

cd sites/all  
mkdir libraries (try sudo mkdir libraries if that doesn't work)  
mkdir themes (it is likely your themes directory already exists)

Now, the next step is to make everything writable to your webserver. You will need to have FTP or SSH credentials for your servers.

If you do not have SSH or FTP credentials, then it may be necessary to run the following from your drupal installation directory:

chmod -Rv 777 sites/all (again you may need to sudo it)

This is generally considered insecure so please read more about that [here][6]. When you are done you may SERIOUSLY want to consider reverting everything back to more secure permissions with...

chmod -Rv 644 sites/all (again you may need to sudo it)

On some webservers it is difficult or even impossible to make these changes. In this case you may have to install and enable your subtheme manually.