I'm running a Drupal multi-site installation on Windows7 with Uniserver powering my WAMP stack.
I've upped the mem limits in php, mysql, eaccelerator and even the apache threadstacksize. My other sites run pretty fast for a windows install. I tried the Acquia dev desktop and didn't find any performance difference between it and my tweaked uniserver config.
But, I just can't get Commons to run.
Oct 27th dev version - errors after installation completes, on the page where it asks for site & account info.
Notice: Undefined index: roles in og_features_permission_features_rebuild() (line 131 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\includes\og_features_permission.features.inc).
Warning: Invalid argument supplied for foreach() in og_features_permission_features_rebuild() (line 131 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\includes\og_features_permission.features.inc).
Notice: Undefined index: roles in og_features_permission_features_rebuild() (line 131 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\includes\og_features_permission.features.inc).
Warning: Invalid argument supplied for foreach() in og_features_permission_features_rebuild() (line 131 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\includes\og_features_permission.features.inc).
Notice: Undefined index: roles in og_features_permission_features_rebuild() (line 131 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\includes\og_features_permission.features.inc).
Warning: Invalid argument supplied for foreach() in og_features_permission_features_rebuild() (line 131 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\includes\og_features_permission.features.inc).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Notice: Undefined property: stdClass::$name in og_role_save() (line 2473 of E:\Web\UniServer\www\drupal\profiles\commons\modules\contrib\og\og.module).
Additionally I've been getting the following errors since the alpha version on both the sky and commons themes.
SKY
Notice: Undefined variable: hgroup_attributes in include() (line 19 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\sky\templates\page.tpl.php).
Notice: Undefined variable: site_name_attributes in include() (line 22 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\sky\templates\page.tpl.php).
Commons Origins
Notice: Undefined variable: header_attributes in include() (line 98 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\commons_origins\templates\page\page.tpl.php).
Notice: Undefined variable: branding_attributes in include() (line 102 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\commons_origins\templates\page\page.tpl.php).
Notice: Undefined variable: hgroup_attributes in include() (line 112 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\commons_origins\templates\page\page.tpl.php).
Notice: Undefined variable: site_name_attributes in include() (line 115 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\commons_origins\templates\page\page.tpl.php).
Notice: Undefined variable: content_header_attributes in include() (line 151 of E:\Web\UniServer\www\drupal\profiles\commons\themes\contrib\commons_origins\templates\page\page.tpl.php).
And when I try to create new content I get the following message
The website encountered an unexpected error. Please try again later.
When I check the status report, I see the following error
Tokens Problems detected
The following token types are not defined but have tokens:
$info['types']['taxonomy_term']
Are these Windows specific errors, or are people facing them on Linux as well? Or are they specific to my setup?
Comments
Comment #1
chats CreditAttribution: chats commentedI did a reinstall and still got the installation errors, but now I can use the site without seeing error messages, and can also create content.
But while creating groups I get the following error message:
Notice: Undefined index: radioactivity_timestamp in radioactivity_field_widget_form() (line 328 of E:\Web\UniServer\www\commons\profiles\commons\modules\contrib\radioactivity\radioactivity.field.inc).
And I still see the problems detected message regarding tokens in the status report.
Comment #2
slowflyer CreditAttribution: slowflyer commentedSame for me on a LAMP stack
Comment #3
codexmas CreditAttribution: codexmas commentedI can confirm this issue as well on my Mac MAMP Stack.
Fresh install after running drush make build commons on the 3x-dev branch.
Comment #4
ezra-g CreditAttribution: ezra-g commentedThis happens 3 times:
I suspect it's related to the empty roles in commons_events_og_features_default_permissions():
Comment #5
ezra-g CreditAttribution: ezra-g commentedComment #6
ezra-g CreditAttribution: ezra-g commentedI tested this fix on a fresh install:
http://drupalcode.org/project/commons_events.git/commit/178ee7e
Comment #7
drupalycious CreditAttribution: drupalycious commentedHello,
I am still getting part of the error messages with the latest dev and the commons_events module from git.
maybe it is not related to the commons_event module.
Thanks
Comment #8
geresy CreditAttribution: geresy commentedSame here
Comment #9
ezra-g CreditAttribution: ezra-g commentedThe Commons Follow errors were fixed by http://drupalcode.org/project/commons_follow.git/commit/dfd5e3d, which apparently went in just after the current nightly snapshot was rolled - It should be fixed in the next nightly snapshot. In the meantime, you can pull the latest commons_follow from git.
I also committed http://drupalcode.org/project/commons.git/commit/9d3c0d7, which fixes errors related to message subscribe.
I packaged the distro locally and this resolves the installer errors - If you experience new errors, please file a new issue. Thanks!
Comment #10
drupalycious CreditAttribution: drupalycious commentedThank you for your answer I have filled a new issue as I could not finalize the installation.
#1835722: Undefined property: stdClass::$name in og_role_save() (line 2473 of og.module)
Comment #11.0
(not verified) CreditAttribution: commentedadded another error