Closed (fixed)
Project:
Simplenews on register
Version:
5.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2008 at 21:16 UTC
Updated:
31 Jul 2008 at 04:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
moonray commentedUgh. Thanks for catching that.
If you rename simplenews_uninstall() to simplenews_register_uninstall() you should be fine. Putting up the fixed version.
Comment #2
yktdan commentedFatal error: Call to undefined function _simplenews_get_vid() in /home/.makadisa/nynjtc/westchester.nynjtc.org/sites/all/modules/simplenews_register/simplenews_register.module on line 32
tried new version and get new error on going to simplenews the settings page.
Comment #3
moonray commentedIt seems they changed things between version 1.2 and 1.3 of simplenews. I'll have to make a conditional update depending on the version.
Comment #4
scedwar commentedsubscribe
Comment #5
W0lvEriNE commentedI am using simplenews 5.x-1.3 and i am having the same error on line 32 as vkdan reported. Please advise how to remedy this problem. Does the dev version address this ?
Many thanks
Comment #6
moonray commentedThe fix would be to add this at the top of simplenews_register.module
Comment #7
moonray commentedIf someone could test the version in CVS (which basically just adds the above code), and let me know if it works as expected, it would be much appreciated. Once confirmed to be working correctly, I'll make a new release.
Comment #8
sutharsan commentedI did not test, but from reading the code #6 should solve the problem.
Comment #9
jase951 commentedReplacing the 5.x.1.1 version of .module file with that in CVS. For me still did not work, the whole site went white and only deleting the module files recovered the site.
Comment #10
frosev commentedLooks like a missing ')' on the IF statment
that should be correct
Comment #11
moonray commentedUgh. Good catch.
Fixed in CVS. Care to give it another shot?
Comment #12
jase951 commentedOk for me now. Thanks!
Comment #13
hansrossel commented#10 works perfect for me. No more white pages and functionality as expected.
Please add this to the dev version (so more people can check), not everybody is as Drupal literate to check the issues and without this code the module does not function.
Comment #14
moonray commentedComment #15
glass.dimly commentedHey folks,
Just installed simplenews on register, the non-dev version, and when I go to simplenews settings I get:
You'll notice that poster number two had the same error but the initial error that opened the issue was different.
Here's the info from my simplenews.info file:
So I've re-opened the issue.
-jmjohn
Comment #16
glass.dimly commentedSame on 5.x-1.dev version.
-jmjohn
Comment #17
glass.dimly commentedHey folks,
Turns out the new Simplenews had replaced the _simplenews_get_vid() function and just used a variable_get('simplenews_vid', '').
So I did a find and replace and the module works for me. This is my first patch and I didn't use cvs so that's why I just pasted the .module file.
This is a patch for the .dev version.
peace
jmjohn
Comment #18
marcoBauli commentedtested the module at #17 above here and works just fine (no errors, subscription works sweet).
It would be great to be able to add some custom introductory text over the subscription checkbox button so to tell users what they are actually subscribing to.
Otherwise great add-on, thank you!
Comment #19
moonray commentedI mistakenly applied the fix to HEAD, not DRUPAL-5, which is why it never showed in teh dev version. Apologies for that. In the meantime I've created a new release: 1.2. Marking as fixed.
Comment #20
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.