Was wondering if anyone can help. When I try to access the settings page (admin/appearance/settings/THEMENAME) to configure the theme settings I get a white screen filled with text (please see attached).

This does not happen initially when I visit the page, only after I submit the form or refresh the page. Also, clearing the cache tables fixes it, but only until the form is submitted again or visited again. It doesn't seem to matter what cache tables I've emptied either, it's random.

I'm using xampp on windows 7, Drupal version 7.7, and the omega-xhtml starterkit

Any suggestions would be really appreciated

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Web Assistant’s picture

FileSize
26.89 KB

Just to add that attached is what I see in IE

Web Assistant’s picture

Update: Only seems to happen with the Dashboard module is on

Web Assistant’s picture

Component: Miscellaneous » Code
Category: support » bug

Update: I can also replicate this on a clean install with the Dashboard module enabled, using Drupal version 7.8

Web Assistant’s picture

Update: It seems like the dashboard_system_info_alter() function in dashboard.module is the problem, if I remove this function, it works fine

<?php
/**
 * Implements hook_system_info_alter().
 *
 * Add regions to each theme to store the dashboard blocks.
 */
function dashboard_system_info_alter(&$info, $file, $type) {
  if ($type == 'theme') {
    // Add the dashboard regions (the "inactive" region should always appear
    // last in the list, for usability reasons).
    $dashboard_regions = dashboard_region_descriptions();
    if (isset($dashboard_regions['dashboard_inactive'])) {
      $inactive_region = $dashboard_regions['dashboard_inactive'];
      unset($dashboard_regions['dashboard_inactive']);
      $dashboard_regions['dashboard_inactive'] = $inactive_region;
    }
    $info['regions'] += $dashboard_regions;
    // Indicate that these regions are intended to be displayed whenever the
    // dashboard is displayed in an overlay. This information is provided for
    // any module that might need to use it, not just the core Overlay module.
    $info['overlay_regions'] = !empty($info['overlay_regions']) ? array_merge($info['overlay_regions'], dashboard_regions()) : dashboard_regions();
  }
}
?>
Web Assistant’s picture

Anyone else getting this?

Argus’s picture

I tried to reproduce this using a xhtml-subtheme, dashboard module enabled, but without success.

Web Assistant’s picture

I've made some progress on this, but I still need some help. I've found the code causing the problem, in alpha/includes/theme-settings-structure.inc, line no 228...

<?php
    $form['alpha_settings']['structure'][$section][$zone]['regions'][$region]['alpha_region_' . $region . '_position'] = array(
      '#type' => 'weight',
      '#delta' => 50,
      '#title' => t('Position'),
      '#default_value' => $item['position'],
        '#states' => array(
          'visible' => array(
            ':input[name="alpha_zone_' . $zone . '_order"]' => array('checked' => TRUE),
          ),
        ),
    );
?>

If I change the delta value to 18, the problem goes away, anything higher than 18 causes the error again.

<?php
      '#delta' => 18,
?>

My guess is that changing this shouldn't break anything, can someone confirm?

marcoka’s picture

Assigned: Unassigned » fubhy
Cellar Door’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still an issue that needs fixing? Will close out if not

tierso’s picture

FileSize
20.44 KB

Do not have Dashboard active,
going to /admin/appearance/settings/newlycreatedsubthemename
results in attached shot (resolution is 2048x1536).
Theme created with omega tools on fresh drupal 7 (latest "stable") site (minimal modules activated plus: colors, toolbar, delta blocks, context+layout+ui, ctools, pathauto, token, omega tools).
Same problem when I disabled all the modules mentioned by name.

tierso’s picture

Update to 7.14 solved the problem for me

Cellar Door’s picture

Status: Postponed (maintainer needs more info) » Fixed

Great! Will close out as fixed

Status: Fixed » Closed (fixed)

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