Closed (fixed)
Project:
Question
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Mar 2006 at 20:33 UTC
Updated:
20 Feb 2007 at 06:39 UTC
Jump to comment: Most recent file
Hi I've tried to install this module on a 4.7-beta 6 site and some problems occured..
Everything seems to work okay, I can watch the queue in Admin menu but when someone tries to ask a question I'm getting this error message:
Fatal error: Call to undefined function: form_textfield() in /home/xxxx/xx.xxxxx.org/modules/question/question.module on line 350
Best regards
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | question.module.patch | 12.96 KB | codepoet |
| #4 | question_1.module | 15.07 KB | Tigerstorm@creativebits.org |
| #3 | question_0.module | 15.07 KB | Tigerstorm@creativebits.org |
Comments
Comment #1
heine commentedMost likely cause: http://drupal.org/node/50099
Comment #2
jjeff commentedYes. This module has not yet been ported to 4.7. If you (or someone else) would like to port it, I'd be happy to commit the update.
A good place to start with porting a module is the FormUpdater which you can find here. It won't do all the work for you, but if you're handy with Drupal coding already, it'll take out a lot of the tedium of converting to the new form api.
Comment #3
Tigerstorm@creativebits.org commentedHi jjeff!
First of all I want to say thanks for making that kind of code updater on http://www.lullabot.com
I'm not really a coder but I wanted to give it a try with help of using your code updater and managed todo this:
I've done all the code changes that the formupdater told me to change and then the "Ask a question form" began to work and I could send a question, but when I was going into Administer/Questions then this message came up:
I attached the changed .module file and hope you might know the answer to this? It seems when you get one thing working, anotherone stops working =)
Comment #4
Tigerstorm@creativebits.org commentedI've succeded to port this module to Drupal 4.7 after found that check_output() has changed since 4.6 to 4.7 with the new API..
You can send in a question through "Ask a question" and then later it will popup in Admin/Questions..
Thing I wonder about it jjeff.. When you answer a question I'm being directed to create either a forum topic, blog, poll etc. I thought there would be a special question node or something like that..
Best regards
Comment #5
Patrick Nelson commentedIn order for the admin settings page to work with the latest CVS, the question_settings function needs to be changed to the following:
Comment #6
(not verified) commentedComment #7
codepoet commentedThe last patch (and comment) doesn't solve everything. This module doesn't create a "Question" node type in 4.7, so promoting a question fails.
Comment #8
codepoet commentedOkay, I took a few hours and completely redid the forms portion of this module. It now completely works in 4.7 over here from adding questions to managing the settings and queue, to promoting and editing the question nodes.
Please test this patch against the CVS HEAD of this module and see how it goes. It looks ready to me.
Comment #9
tcviper commentedIm getting a blank page when click on settings > question and i imported the sql dbase, any idea? (DRUPAL 4.7)
Comment #10
codepoet commentedIs that after applying the above patch?
Comment #11
BMorse commentedIs this module still underdevelopment for 4.7? It looks like just the thing I need for a project.
Comment #12
jjeff commentedThough there's an off chance that I'll get a burst of energy to update this module, I'm not using on any of my current sites, so it's kind of fallen by the wayside.
If anyone would like to adopt it, please contact me.
-Jeff
Comment #13
codepoet commentedI actually have ported this to Drupal 5 already. I've sent Jeff a request to adopt the module. Which is to say, one way or another this will keep going.
Comment #14
jjeff commentedHey Codepoet...
Sure, I'd love to set you up as the maintainer of this module.
I had an email snafu recently, so send me another email. We'll get you all set up so you can commit all your fixes!
-jeff
Comment #15
codepoet commentedPatch applied.
Comment #16
spooky69 commentedCodepoet - it was stated above that you had already ported this to 5 and it seemed likely that you would be taking over this module. Is this available for 5 yet?
Comment #17
(not verified) commentedComment #18
johan_lunds commentedYeah I'd also like to see a port to Drupal 5.
Comment #19
codepoet commentedHey guys. I've taken it over and I'm working on the 5.0 version, yes. I want to be on 5.0 as well, so please bear with me. :)