Following error occurs after attempting to import Acquia Marina or Acquia Slate themes for Skinr.

"warning: Invalid argument supplied for foreach() in /home/drupal_siteName/public_html/drupal6-19/sites/all/modules/skinr/skinr.admin.inc on line 147"

This occurs after both a 6.16 (Fusion profile) install and a 6.19 install with required modules added. Skinr comes up with no settings at all but the dropdown to import from all available modules works in the Import mode.

I have installed this site twice and could use some help from anyone who has encountered and fixed this issue.

Comments

nomonstersinme’s picture

Status: Active » Postponed (maintainer needs more info)

i apologize if i am misunderstanding here but are you trying to just get skins available from the acquia marina and slate themes to work in fusion?

the import/export functionality in skinr is used for reproducing block configurations on another site. not to get skinr options available from other themes - to do that you just enable the theme on the themes page.

Compel’s picture

Component: User interface » Import/Export

Yes I am trying to get Skinr to work with Fusion. I've found references to those themes' skins but cannot find anything in the Skinr UI to activate or select them. Thanks for explaining I do not have to import the settings.

However, the Skinr settings do not show up at the bottom of the theme configuration pages for Marina, Prosper or Slate. Are these supposed to "show up" once Skinr is installed?

All of the modules in question are enabled and Marina is set as the default. I've tried with both as the default just to make sure the problem wasn't with Marina... no luck.

nomonstersinme’s picture

Component: Import/Export » User interface

So if you have fusion enabled and acquia marina as enabled and default you should see little gear icons where content can be modified... perhaps theres something in these themes that make them only usable with the 2.x-dev version of skinr. maybe you should try that version.

Compel’s picture

Component: Import/Export » User interface

Thanks for the quick update. I read on the info page for Skinr that the 2.x-dev version should not be used on production sites. Ironically, I was trying to avoid headaches :-) I found the little gear icons... thanks for clearing up this noob issue.

Compel’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
drp2p’s picture

Not resolved...I am having the same problem.
warning: Invalid argument supplied for foreach() in /home/p16h9sdb/public_html/sites/all/modules/skinr/skinr.admin.inc on line 147.

When attempting to import Skinr settings...the above error is displayed.

Cannot get skinr to work on ANY theme.

Please help

hippypimp’s picture

Version: 6.x-1.5 » 6.x-1.6
Status: Closed (works as designed) » Needs work

same issue and reinstalling clearing cache and doing an update.php still no help. could it be a permissions setting or is it still a bugg

moonray’s picture

Issue summary: View changes

Going to need the string you're trying to import.

It should be something like the following:

$skinr = array (
  'block' => 
  array (
    'user-1' => 
    array (
      'fusion-menu' => 'fusion-inline-menu',
      'fusion-list-styles' => 
      array (
        'fusion-list-bottom-border' => 'fusion-list-bottom-border',
      ),
    ),
  ),
);
moonray’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Status: Needs work » Postponed (maintainer needs more info)
astonvictor’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)
Issue tags: -

D6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.