The plugin itself does no security checks at all, so it's most likely a problem with your MODX install or your security settings.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Hmm, yay. Troubleshooting this one is completely beyond me..
It's tough. Maybe someone else will recognize that error and make a suggestion.
One easy thing to try that sometimes works for weird problems is to manually delete all the files in the core/cache directory and clear your browser cache and cookies. Another would be to go into PhpMyAdmin and repair all tables in the DB.
What exact version of MODX are you using?
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
-
☆ A M B ☆
- 24,524 Posts
/connectors/security/user.php is the connector for handling user management functionality:
<?php
require_once dirname(dirname(__FILE__)).'/index.php';
$modx->request->handleRequest(array('location' => 'security/user'));
It's basically just telling MODx that the incoming form submission is involving security/user issues (as opposed to security/role, or any of the other security functions that may or may not be actions like login or logout), and has the REQUEST values sanitized before being passed on for processing.
@BobRay: Neither of those had any effect. I'm using 2.2.4.
I am however using the (maybe slightly modified, but I think not) MemberPages plugin from your book, which is also triggered OnUserFormSave. Could that be messing things up somehow? Like the "break;" statement or so?
@sottwell: Ok. What does that mean?
@BobRay: Just occurred to me that I could try it myself instead of asking you. And no, the MemberPages plugin is not causing the problem.
Good news! After updating to 2.2.5 everything works like a charm.
Thanks for your efforts though!
Glad to hear it's working. Wish I knew what happened, though.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html