Hi Andy,
If I don't return @args then the script prints an error message along the lines of:
Can't use a scalar(1) as a hash reference, User.Pm line xxx
At the moment all I get in the errorr log is:
GT::Plugins (16115): Plugin post auth_add_user stopped further plugins. at /home/ckd/public_html/sites/cwinfo/admin/GT/Plugins.pm line 120.
Nevertheless, thanks for your help. Not sure why the server is crashing, but the hosting staff tell me it is probably my perl scripts.
I think something may be fundamentally wrong with the code above. Either I am using the wrong hook, or something else may be the matter. It doesn't seem to be very clean .
If I don't return @args then the script prints an error message along the lines of:
Can't use a scalar(1) as a hash reference, User.Pm line xxx
At the moment all I get in the errorr log is:
GT::Plugins (16115): Plugin post auth_add_user stopped further plugins. at /home/ckd/public_html/sites/cwinfo/admin/GT/Plugins.pm line 120.
Nevertheless, thanks for your help. Not sure why the server is crashing, but the hosting staff tell me it is probably my perl scripts.
I think something may be fundamentally wrong with the code above. Either I am using the wrong hook, or something else may be the matter. It doesn't seem to be very clean .