Problem trying to add fields

Hi,

Sorry about this, I'm really new to Elgg, just installing it now. I'm trying to add a custom registration form with this plug in and while I can add the form fine, it won't allow me to add any fields. I can get to the add fields tab but when I press the submit button, it just takes me back to my profile. I'm not using a custom template or anything like that. I've tried it in Opera, Firefox and IE7 with no success.

Just wanting to know what I'm doing wrong and how I can go about doing it right.

 

Thanks,

Courtenay

  • When you say "it just takes me back to my profile", do you mean that it forwards you to your dashboard page?

    Does your server meet all the Elgg requirements:

    http://docs.elgg.org/wiki/Installation/Requirements

    including not running in CGI mode?

    Do you see any relevant information in your PHP error log?

    I'm happy to try to help, but I need more information.

  • Just checking - did you install the latest version of the plugins? This is currently 0.86.

    Have you ever installed any other version?

  • Howdy,

    I downloaded the plug in that is on the plug in page. Checking the versions that are in my tools area, there is version 0.8 for all of the plug ins included with the download besides flexreg which is 1.0. This is a fresh install.

    When I mean it takes me back to my profile, I mean the root of the install, i.e. http://*****.com/profiles/ (not sure whether this is my dashboard or what?). I go back into the fields page through the admin panel to see if the field was added, and it wasn't.

    Just checked my php info file and it seems like it meets the requirements, though I can't be sure as I'm more of a html/css kinda person. Is there some way I can PM you on here with a link to my phpinfo file? Where can I find the error log?

    Thanks for your time :)

     

    EDIT: going to try reinstall one more time

    EDIT2: no such luck. Not sure that I'm uninstalling correctly though. I just delete the folder in the mods directory and then re-upload. Is that right?

    EDIT3: just noticed it's not letting me add new forms either, so it's not just fields. Hmmm...

     

     

     

     

  • In normal Elgg if you are sent to the front page when logged in, you are forwarded back to your dashboard:

    /pg/dashboard

    You shouldn't be able to view your front page when logged in (unless you have a non-standard plugin installed beyond mine).

    If you have any non-core plugins beyond the form set, could you try deactivating them?

  • The only other plug in I have is vazco_forum. Just deactivated that now as you suggested, still cant add fields :(

     

    EDIT: I just deactivated a few other plugins that came with the 1.7 download (defaultwidgets, riverdashboard, externalpages) and it now takes me back to the dashboard.

  • Unless you can give more information (eg. relevant messages from your PHP error log),  there is really nothing I can do to help.

    I've never seen the problem you mention.

    I can't tell you where your error log is - that depends on your server configuration.

  • Here we go, found the log through cpanel:

    [Sat Mar 20 08:05:59 2010] [error] [client 115.131.22.167] WARNING: 2010-03-20 09:05:59 (EST): "in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument" in file /home/hope/public_html/profiles/views/default/canvas/layouts/widgets.php (line 113), referer: http://*******************.com/profiles/mod/form/manage_form.php?id=18
    [Sat Mar 20 08:05:59 2010] [error] [client 115.131.22.167] WARNING: 2010-03-20 09:05:59 (EST): "in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument" in file /home/hope/public_html/profiles/views/default/canvas/layouts/widgets.php (line 112), referer: http://*******************.com/profiles/mod/form/manage_form.php?id=18
    [Sat Mar 20 08:05:04 2010] [error] [client 115.131.22.167] WARNING: 2010-03-20 09:05:04 (EST): "in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument" in file /home/hope/public_html/profiles/views/default/canvas/layouts/widgets.php (line 113), referer: http://*******************.com/profiles/mod/form/manage_form.php?username=Courtenay
    [Sat Mar 20 08:05:04 2010] [error] [client 115.131.22.167] WARNING: 2010-03-20 09:05:04 (EST): "in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument" in file /home/hope/public_html/profiles/views/default/canvas/layouts/widgets.php (line 112), referer: http://*******************.com/profiles/mod/form/manage_form.php?username=Courtenay
    [Sat Mar 20 07:55:52 2010] [error] [client 115.131.22.167] WARNING: 2010-03-20 08:55:52 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/custom_index/views/default/canvas/layouts/new_index.php (line 92), referer: http://*******************.com/profiles/mod/form/manage_form.php?id=17
    [Sat Mar 20 07:55:52 2010] [error] [client 115.131.22.167] WARNING: 2010-03-20 08:55:52 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/externalpages/views/default/expages/front_right.php (line 18), referer: http://*******************.com/profiles/mod/form/manage_form.php?id=17
    [Fri Mar 19 23:23:09 2010] [error] [client 115.131.0.227] WARNING: 2010-03-20 00:23:09 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/custom_index/views/default/canvas/layouts/new_index.php (line 92), referer: http://*******************.com/profiles/mod/form/manage_form.php?username=Courtenay
    [Fri Mar 19 23:23:09 2010] [error] [client 115.131.0.227] WARNING: 2010-03-20 00:23:09 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/externalpages/views/default/expages/front_right.php (line 18), referer: http://*******************.com/profiles/mod/form/manage_form.php?username=Courtenay
    [Fri Mar 19 23:15:19 2010] [error] [client 115.131.0.227] WARNING: 2010-03-20 00:15:19 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/custom_index/views/default/canvas/layouts/new_index.php (line 92), referer: http://*******************.com/profiles/mod/form/manage_form.php?username=Courtenay
    [Fri Mar 19 23:15:19 2010] [error] [client 115.131.0.227] WARNING: 2010-03-20 00:15:19 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/externalpages/views/default/expages/front_right.php (line 18), referer: http://*******************.com/profiles/mod/form/manage_form.php?username=Courtenay
    [Fri Mar 19 23:12:43 2010] [error] [client 115.131.0.227] WARNING: 2010-03-20 00:12:43 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/custom_index/views/default/canvas/layouts/new_index.php (line 92), referer: http://*******************.com/profiles/mod/form/manage_form.php?id=13
    [Fri Mar 19 23:12:43 2010] [error] [client 115.131.0.227] WARNING: 2010-03-20 00:12:43 (EST): "Invalid argument supplied for foreach()" in file /home/hope/public_html/profiles/mod/externalpages/views/default/expages/front_right.php (line 18), referer: http://*******************.com/profiles/mod/form/manage_form.php?id=13

  • None of these are relevant unfortunately. What matters is not the referrer (that just says where you are coming from) but the file where the error or warning occurs.

    These are all minor warnings and none of them occur in any files from my plugins.

    So, sorry, but this does not help.

  • Then there doesn't seem to be any errors relating to this... how weird. The only other errors were from the Elgg install telling me the database credentials are wrong and then some errors from a theme which I have since deleted from the system.

  • One interesting thing - you say you were able to add one form, but now can't add any new ones?

Form and related plugins

Form and related plugins

User-generated content, flexible user and group profiles, registration forms, custom file forms