Imported site theme missing

Imported site theme missing

6 posts / 0 new
Last post
scheepers@native.co.za's picture
scheepers
Points: 5
Imported site theme missing

After importing an existing site into the acquia environment, the theme that was developed specifically for the site is broken and not visible within the appearance theme list, and there is no default theme set.

Livedev is enabled and the theme is located in:
livedev/docroot/sites/[sitename]/themes/boilerplate

There are error messages on the themes list:
Notice: Undefined index: boilerplate in drupal_theme_initialize() (line 100 of /vol/ebs1/gfs/[sitename]/livedev/docroot/includes/theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 146 of /vol/ebs1/gfs/[sitename]/livedev/docroot/includes/theme.inc).

Note that I've simply replaced the site name with [sitename] for the sake of client privacy in this post.

Status: 
Resolved
alexdv@native.co.za's picture
alexdv
Points: 0

How did you resolve this?

scheepers@native.co.za's picture
scheepers
Points: 5

Moved the theme from:

livedev/docroot/sites/[sitename]/themes

to

livedev/docroot/sites/all/themes

and created a symlink:

livedev/docroot/sites/[sitename]/themes -> livedev/docroot/sites/all/themes
(so that all the theme css and image urls still work)

Because acquia basically ignores themes and modules under the [sitename] folder there are no conflicts.
I had to do the same with the "missing" modules from:

livedev/docroot/sites/[sitename]/modules

to

livedev/docroot/sites/all/modules

and created a symlink:

livedev/docroot/sites/[sitename]/modules -> livedev/docroot/sites/all/modules
(so that context and entity modules still work)

scheepers@native.co.za's picture
scheepers
Points: 5

errr... resolved?

Status Change: 
Resolved
deepkart1986@gmail.com's picture
deepkart1986
Points: 0

great tip pro, i did it working now...

charlesdavis018@gmail.com's picture
charlesdavis018
Points: 40

It is right tricks suggest by you here scheepers.... I have try it and its working with some more modifications in my end.