i have installed the current git version and have added the patches that seemed logical:
http://drupal.org/node/1112502
and
http://drupal.org/node/1112590
under the signup admin screen, whenever i attempt to change the signup status of an event i get various errors:
Notice: Undefined property: stdClass::$signup_status in _signup_check_limit() (Zeile 1547 von /.../sites/all/modules/signup/signup.module).
Notice: Undefined property: stdClass::$signup_effective_total in _signup_check_limit() (Zeile 1547 von /.../sites/all/modules/signup/signup.module).
Notice: Undefined property: stdClass::$signup_close_signup_limit in signup_node_admin_summary_form_submit() (Zeile 65 von /.../sites/all/modules/signup/includes/node_admin_summary.inc
Notice: Undefined offset: 0 in theme_tableselect() (Zeile 3158 von /.../includes/form.inc).
Warning: Cannot use a scalar value as an array in signup_admin_form_submit() (Zeile 237 von /.../sites/all/modules/signup/includes/admin.signup_administration.inc).
and changes are not reflected upon submitting
is this just me?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | signup-nonzero-tableselect-header-index-1128288.patch | 948 bytes | jwilson3 |
Comments
Comment #1
discipolo commentedComment #2
magnusk commentedWhen I visit that page I also get a burst of the following message:
Comment #3
magnusk commentedIn function signup_admin_form (file includes/admin.signup_administration.inc) the key for the first element of the header array needs to be 'start' instead of 0.
Replace
with
Comment #4
magnusk commentedComment #5
jwilson3#3 works, here is a patch that fixes that line and also removes mention of "CCK" with respect to the row header calculation, since that's pre-D7 terminology now.
Comment #6
jwilson3If you're testing/applying this one, you might also review #1190944: Notice: Undefined property: stdClass::$language in _signup_date_get_node_scheduler() which is causing error messages on the same page.
Comment #7
gregglesWhile this patch seems pretty right, it's generally inappropriate to mark your own patch as "rtbc." Setting back to "needs review" until someone else can do a review.
Comment #8
boshtian commentedThe above solutions worked for me as well, but I still have a warning:
"Warning: Cannot use a scalar value as an array in signup_admin_form_submit() (line 238 of /var/aegir/platforms/drupal-7.8-enki-1.1/sites/www.tp-lj.si/modules/contrib/signup/includes/admin.signup_administration...)."
This line seems to be the problem:
$values['nid'] = $nid;
But I can't figure it out, how to correct this. The form is not submitted. Did anyone else had that issue?
Comment #9
sgabe commentedThe patch in #5 applies fine and eliminates the following error:
Notice: Undefined offset: 0 theme_tableselect() függvényben ([...]\www\includes\form.inc 3212 sor).Comment #10
sgabe commentedCommitted, thanks!