I have installed the form plugin on a new install of 1.5. Only the core plugins exist in this install and only a few are enabled. I enabled form only and not any of the other form related plugins yet. When I add a new form, it does save the form, but redirects me to the dashboard. When I try to add a field, it does not save it and redirects me to the dashboard.
Any ideas what is wrong?
I'm on a Windows server running Apache 2.2.10 with mod_rewrite enable, PHP 5.2.9 (with GD, SOAP, and DOM), and MySQL 5.1.30.
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.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- Steve C@SteveC
Steve C - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- yasyas@yasyas
yasyas - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- charismeki@charismeki
charismeki - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- Steve C@SteveC
Steve C - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
You must log in to post replies.No idea. Sounds like you have a broken Elgg install.
Are you sure that your server meets the minimum requirements as described here:
http://docs.elgg.org/wiki/Installation/Requirements
including
"PHP 5.2+ needs to be installed as an Apache module (not in CGI mode or safe mode)"
None of the form plugins require anything beyond the minimum requirements.
All the standard Elgg plugins work fine and all the minumum requirements for the install have been met (no, PHP is not in CGI mode or safe mode). Only the form plugin seems to have any issues. I added a third-party, 1.5 compliant theme afterward I couldn't get the form plugin to work and the them works fine. I'll probably try some other plugins now and see what happens.
Hi Steve,
Doubtless there are remaining bugs in the form plugin. However, I don't think the behaviour you are reporting is caused by this plugin as many people are using it successfully to create forms. There is no difference between the form plugin behaviour and other plugins that also submit forms (like the blog plugin for example). Perhaps there is a problem with the third party theme you are using?
same issue with me,it directs me to the dashboard.mine is without any themes.
At the risk of repeating myself, a large number of people are using the same code to create forms successfully. This means that the problems you are experiencing do not come from this plugin but something else in your server configuration.
I can only address bugs that I can actually reproduce!
If you are seeing this strange behaviour, I suggest that you don't use this plugin. However, since there is actually no difference in how the form plugin functions compared with many other plugins, I suspect that you are going to be having problems with other plugins as well.
This sounds like some people had a similar problem with the messages plugin (relating to PHP output buffering):
http://groups.google.com/group/elgg-users/browse_thread/thread/c52ee6774342c40e/687e8cabfadfda4f?lnk=gst&q=redirects+to+dashboard#687e8cabfadfda4f
Hi Kevin,
I also have this behaviour sometimes. In the first run the form field is set up correctly but after trying to edit it again I will be redirected to the dashboard of your plugin to setup a complete new form. Strange.
Hi charismeki,
What do you mean by "dashboard of your plugin"? This sounds like a completely different problem.
The other reports are about redirection to the Elgg dashboard, which is almost certainly a server configuration issue (it is caused by Elgg permission errors/PHP errors/Apache misconfigurations etc. )
If you are being sent to the "create a new form" page, this is an issue specific to the form plugin likely caused by a missing form id. If you can tell me how to reproduce the problem I can try to fix it.
I read the PHP output buffering issue and checked my Apache configuration, but that wasn't it. In my search for a solution I came across several other people with the same problem, all using 1.5. Oh well, I'll just remove the plugin and find (or write) an alternative that will fulfill my needs. Thanks anyway.
Hi Steve,
Who are those people? If they are having problems with the plugin they haven't reported it to me.
I can't fix a "bug" that I can't reproduce and that no one except you (and possibly yasyas) is experiencing. I'm quite eager to get bug reports and fix bugs (my latest release fixes five of them) but the behaviour you are reporting is completely off the scale. Everyone else can at least create forms.
If you can give me a PHP error message that suggests a problem with the plugin, I'd be happy to look at it. So far you've given me no information that I can work with.