Hello.
It's my first post here and I'm newbie with Elgg. Well, I installed the Form plugin in a localhost to test it, but I'm having problems when I try to create the form, in fact it is created but when I try to add a field or change the configuration the result is a blank page. The Elgg version installed is 1.7 and Form plugin 0.8.5
Thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Edited the internal name for the field with underscore. The blank page continues. Error log shows
[Thu Mar 11 13:52:21 2010] [error] [client 127.0.0.1] WARNING: 2010-03-11 13:52:21 (CET): "Invalid argument supplied for foreach()" in file ...\\xampp\\htdocs\\elgg\\mod\\form\\views\\default\\form\\forms\\manage_field.php (line 580), referer: http://localhost/elgg/mod/form/manage_form.php?id=289
Maybe I should do a fresh installation of elgg without plugins and only install the plugin form...
That last error message is not relevant to your blank page (remember that page is my_forms.php, not manage_field.php), but is interesting because it says that you have a choice field with no choices.
Perhaps you should just delete your existing forms and start over? If those forms were created when you had the ElggUnsearchableObject problem, they may have become corrupted.
By the way, what happens if you go into my_forms.php and comment out these two lines:
$_SESSION['last_search_qs'] = null;
$_SESSION['last_view_qs'] = $_SERVER["QUERY_STRING"];
The same situation.
I think that I'll install again Elgg and the plugin form
If you do that, remove the run_once line in mod/form/start.php or you'll have the same problem again.
And do it *before* you activate the plugin.
Make sure that the form plugin is ordered before the other ones as well. I don't know if it matters, but just in case.
Ok. Can I edit the function if it's a new installation?
function form_run_once()
{
// Register classes
// Most of these are set to avoid appearing in search results
add_subtype('object', 'form:form',"ElggUnsearchableObject");
add_subtype('object', 'form:config',"ElggUnsearchableObject");
add_subtype('object', 'form:field',"ElggUnsearchableObject");
add_subtype('object', 'form:field_map',"ElggUnsearchableObject");
add_subtype('object', 'form:field_choice',"ElggUnsearchableObject");
add_subtype('object', 'form:search_definition',"ElggUnsearchableObject");
add_subtype('object', 'form_data');
}
to
function form_run_once()
{
// Register classes
// Most of these are set to avoid appearing in search results
add_subtype('object', 'form:form');
add_subtype('object', 'form:config');
add_subtype('object', 'form:field');
add_subtype('object', 'form:field_map');
add_subtype('object', 'form:field_choice');
add_subtype('object', 'form:search_definition');
add_subtype('object', 'form_data');
}
That would work, although really the function is not necessary at all.
Well, I did a fresh installation of Elgg and new database. No more third plugins installed, only the elgg's plugins. After I installed the form plugin, I enabled it and created to test a simple form with a small text box. So far allright, but, the same problem with the View all link.
- Previous
- 1
- 2
- 3
- 4
- 5
- 6
- Next
You must log in to post replies.