Needs work
Project:
UC Recurring Payments and Subscriptions
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2012 at 00:55 UTC
Updated:
27 Feb 2012 at 01:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
westwesterson commentedBetter patch file; same exact patch
Comment #2
westwesterson commentedalso, it is ready for review
Comment #3
vmi commentedWhile using uc_recurring_subscription under PHP v5.3.9 and D6 Pressflow clean install, I receive the following errors when I browse to /admin/store/subscriptions/create
I've applied the above patch and cleared cache/reinstalled module but I'm still experiencing problems. Please advise.
Thank you.
Comment #4
vmi commentedAlso does the Role module under ubercart - core (optional) need to be listed as a dependency for this module?Comment #5
vmi commentedNot sure if this was the best way to deal with this or if it'll break something but I've gone back to all the variables on lines which were producing the error notice and assigned them to NULL if they're not set.
I've also attached my uc_recurring_subscription.admin.inc file with the changes in case someone can review and issue a patch.Please use the most current file listed below instead.See patch below.
Thanks.
Comment #6
vmi commentedPlease ignore the above file and this one -- instead please use the latest to review and create a patchSee patch below.
Comment #7
vmi commentedThere were a few more variables I addressed in this file.
Perhaps it could be merged with the original patch from above?
To recap the changes I've made were on or near the following lines:
116, 121, 138, 139, 164, 177, 224, 262, 270, 278, 807
Also I've added .TXT to the end of the filename so drupal.org would accept the upload.See patch below.
Comment #8
westwesterson commentedits really hard to see the differences without a patch;
i originally only fixed one instance of a notice generated by the uc_recurring module.
I am open to expanding it to fix multiple notices.
Heres how to create a patch via git:
http://drupal.org/node/707484
might be a day or two before i can look at this
Comment #9
vmi commentedHere's the patch.
Comment #10
shaundychkoRe-rolled patch in #1 with git, and renamed. (not sure if patch in #9 is better... I'm not actually seeing this error notice, but the fix in #1 is obviously needed)