Just did an install of the full Form/Flex mods in ELGG 1.6.1 . I can add forms, but when I go to add a field it errors out and goes to the home page. The form is trying to post to the following url (which doesn't exist with the install):
"http://<myserver>/elgg/action/form/manage_field"
This file, and /action/form/, do not exist. Did I miss part of the install directions? Is this URL being improperly formed? Any help is appreciated.
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.
No, those URLs are just fine. Elgg automatically rewrites them to correct action URLs.
A very few people have reported redirect-to-home page problems (and not just for my plugins). I suspect that the problem may be related to running Elgg on shared host servers that allocate too little memory to PHP, but I don't know.
Most people seem to solve the problem by moving to a different server. It's not a problem with the plugin itself as the vast majority of people using the software (including all my clients) never see that problem. So it must be server-related.
You could check your PHP log. If you see an error message (an error message, not just a warning because Elgg generates a number of those and they mean nothing), then that might be useful to know.
I'm running this on a locally hosted box, a dedicated WAMPServer install.
The following is the error I've pulled down. Only warnings, but I'm still being redirected to the homepage with no created elements.
[error] [client 111.111.111.111] WARNING: Action form/manage_field was called without an action token. It is stongly recommended that you consider doing this. Plugin authors should use 'input/form' or pass is_action=true to 'output/confirmlink' or 'output/url'., referer: http://000.000.000.000/elgg/mod/form/manage_form.php?id=28
[error] [client 111.111.111.111] WARNING: 2009-10-09 17:03:21 (UTC): "The magic method __get() must have public visibility and cannot be static" in file C:\\wamp\\www\\elgg\\engine\\lib\\relationships.php (line 63), referer: http://000.000.000.000/elgg/mod/form/manage_form.php?id=28
[error] [client 111.111.111.111] WARNING: 2009-10-09 17:03:21 (UTC): "The magic method __set() must have public visibility and cannot be static" in file C:\\wamp\\www\\elgg\\engine\\lib\\relationships.php (line 77), referer: http://000.000.000.000/elgg/mod/form/manage_form.php?id=28
No idea.
The only message there that refers to the plugin is an action token warning. Many core Elgg links and form submits are missing that action token as well and I think your system would be completely unusable if that was the issue.
If you find a solution, please post it here.
Thanks, I'll keep at it. If anybody else has any ideas I would really appreciate it. This is a default install just done last week. The only plugin I've installed is this one (the set of 3).
Just out of curiosity, what happens if you bump up the php memory_limit to 128M?
That should not be necessary, but it would be interesting to hear if it makes any difference.
WAMPServer defaults to 128M, I guess, so it's already set up that way. Surprised me too!
The Elgg .htaccess file sets the memory_limit to 64M by default, so you may need to increase it there.
You are quite right, sir, my apologies. I changed the setting with no change to the behavior and the same error exists in the logs.
The log warnings have nothing to do with your problem I think. Too bad about the behaviour not changing.
Without more information I can't help I'm afraid.
I develop my own code using XAMPP under Windows by the way. Would be interesting to hear what happens if you switched to that:
http://www.apachefriends.org/en/xampp-windows.html
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.