Hey, question.module is great! Help me update for 4.7, please?

guckie - March 1, 2006 - 10:28
Project:Question
Version:HEAD
Component:Code
Category:support request
Priority:minor
Assigned:Unassigned
Status:closed
Description

Hi,

I'd love to use this module on a 4.7 installation, if possible. I updated it for drupal's 4.7 forms api (by running the code through formupdater - hey, that's another neat module!) and I've attached the resulting module file.

Now I'm just left with this error to debug:

Fatal error: Cannot create references to/from string offsets nor overloaded objects in /home/xaccountx/public_html/drupaldir/includes/form.inc on line 312

I'm testing on drupal cvs 2/28. Line 312 of form.inc is:
    $form['#ref'] = &$ref;

Any chance someone could help with this? Are there plans to support this module for 4.7?

AttachmentSize
question.module15.39 KB

#1

guckie - March 1, 2006 - 10:38

Ehhh, I forgot to mention that the error I described above is triggered by clicking 'ask a question'.

#2

Tigerstorm@crea... - March 20, 2006 - 14:07

Check my bugreport..

I managed to get "Ask a question" working but instead got problem with the admin tool..
Hope that can help you :)

#3

Tigerstorm@crea... - March 20, 2006 - 14:08

Sorry I meant patch ;)

#4

codepoet - April 16, 2006 - 06:58
Status:active» closed

The patch for 4.7 is in http://drupal.org/node/54822

 
 

Drupal is a registered trademark of Dries Buytaert.