After restoring a backup with the Backup & Migrate module we're getting white pages on the front end of the website. The administration pages (and toolbar) from the Seven theme are still working fine though, so we can still access all the admin pages. It's just the front end of the site that seems to be down.

We've changed the theme to Bartik and things seem to be working, so we figured it must be related to the Omega theme. Here you can find what we're actually on to.

Are there certain attention points we should take into account when migrating the theme files and database from one website to another concerning the Omega-theme?

CommentFileSizeAuthor
#2 Starterkit tree25.65 KBknalstaaf
#1 White page on front end11.89 KBknalstaaf
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

knalstaaf’s picture

FileSize
11.89 KB

We've deleted our copied Omega based theme folder (called "myversion") and recreated a new one from scratch with the same name as previously. No extra modifications were applied btw, just the standard procedure as stated in the readme-file.

But with the same result. (Attachment: screenshot)

knalstaaf’s picture

FileSize
25.65 KB

Applying the default Omega theme (7.x-3.0 CORE) results in this error on the Appearance admin-page itself:

    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 290 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined index: #data in template_preprocess_zone() (line 291 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/alpha/template.php).
    Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).

On the front end, we see the same thing, plus:

Notice: Undefined variable: enabled in include() (line 26 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/starterkit/templates/zone.tpl.php).
Notice: Undefined variable: theme_info in include() (line 11 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/omega/preprocess/preprocess-page.inc).
Notice: Trying to get property of non-object in include() (line 11 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/omega/preprocess/preprocess-page.inc).
Warning: Invalid argument supplied for foreach() in include() (line 16 of /var/www/vhosts/minkworks.be/subdomains/migratedversion/httpdocs/sites/all/themes/omega/omega/preprocess/preprocess-page.inc).

With nothing else on that page, so it's displayed on the same white page.

Just to make things clear: it ìs the omega-html5 folder (located in the "starterkits" folder) we should be copying, right? Because there's another folder called "starterkit" (without the "s" at the end) as well. (See attached screenshot)

knalstaaf’s picture

Status: Active » Fixed
  • We've removed the whole Omega folder from the theme folder.
  • Then we downloaded the zip again from the project page.
  • Extracted the folder on the very same place as before.
  • Followed the steps to create a subtheme as provided in the read-me.
  • Gave it all the same name as before (the folder name, info file, css files).

And now it seems to be working fine, so it seems to be fixed. Still I'm not sure what caused this behaviour.

dhalbert’s picture

Did you try clearing all the caches when the problem originally occurred? That might have happened as a side effect of something else, and that's why the site started working again.

knalstaaf’s picture

Yes we did, instinctively; and we ran cron several times, but the problem persisted.

The objective is to have several theme setups for different website types (B2B, news site, product site, ...). So we'll have to figure out how to achieve that with Omega (combined with the Delta and Context modules).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

front end