Closed (fixed)
Project:
Conference Organizing
Version:
5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
29 Oct 2007 at 00:01 UTC
Updated:
31 Jul 2008 at 20:33 UTC
On preview of conference creation form I get:
warning: Invalid argument supplied for foreach() in
/path/to/conference_organizing/conference_organizing.module on line 891.
$form['submitted'] seems to be empty??? hmm, of course i put some values into the form... sorry, to tired now to look deeper into it... goto_sleep($now);
Comments
Comment #1
jheretic commentedI am experiencing the exact same problem, otherwise installation works smoothly. Using Freebsd 6.2-STABLE with lighttpd-1.4.18, mysql-5.1.22 and php-5.2.5. Error exists on multiple clean reinstallations, using both Drupal 5.5 and 5.6, with both stable and cvs checkouts (as of 1/10/08) of conference_organizing and webform modules. Get the error on preview, get WSOD on submission. Other site functionality seems to work fine. Anyone have any luck with this one?
Comment #2
burningdog commentedI have the same thing - directly after multiple clean installs (Drupal 5.6 and conference_organizing 5.x-1.x-dev) I put some data into the /node/add/webform/ page and hit "preview". Aside from the preview page looking like no data actually gets carried through, I get:
warning: Invalid argument supplied for foreach() in /path/to/profiles/cod/modules/conference_organizing/conference_organizing.module on line 891.Something weird is happening with
foreach ($form['submitted'] as $key => $values)on line 891. Doing a debug_backtrace shows that the variables are being passed through to the preview page.Since this bug won't let me add a conference it renders the site unusable...so I've bumped it up to "critical".
Comment #3
burningdog commentedI've just download the latest version from cvs (v 1.10 2007/12/24 17:15:22) and the bug is still there, although this time on line 948 (still the same function). The version I was previously using was v 1.1 2007/07/27 01:28:34
Comment #4
thijsvdanker commentedI'm having the same problems as above, using the v1.11 on 29/12/2007 (although text says 1.10)
I've installed fresh numourus times, and can't get past the first conference webform, so the site is useless
Comment #5
Bèrto ëd Sèra commentedThis is not a bug, but a wrong coupling of modules. The webform module has moved to a 5-x.2 version that is now recommended. Yet this version has big changes in its API, so it won't work. Choosing to use 5.x-1.10 will produce better results, but it's still not enough to make it work, because alterations in the webform API where already in progress even in the 5-x.1 branch. Notably, you'll have problems with
where the $pid param was unknown at the time in which the conference_organizing module was issued. The module will allow you to insert a conference if you choose this version of webform, but many things will still be broken. I'll try and see if we can trace a previous version of webform that can solve the problem.
Comment #6
Bèrto ëd Sèra commentedSolved. On install you should choose webform-5.x-1.7.tar.gz this seems to work fine.
Comment #7
Bèrto ëd Sèra commented