Hi Stone,
first, I'd like to thank you for the contribution of this code
I've tried to add it to my existing DBMan installation. After logging in and starting db.cgi&do=profile_form, everything is dispayed as it should (profile data is loaded into the form) and I can fill out the fields (e.g. overwrite wrong registration info).
But after submitting the new values with your form, it seems to hang somehow. The error_log keeps showing a "premature end of script" message and no data is being modified in the database. I have not uploaded the files in binary mode and there is no wrong path to perl in any script file. I have eaven made a fresh DBMan install to be able to test it again. But nothing seems to solve the problem. I never get a "Your profile was updated successfully!" reply
I've added your code to Home.pm - there is only one small modification (marked in red):
next if ( $c =~ /^Username|Status|view_p|add_p|delete_p|modify_p|admin_p/ );
As far as your profile_form.html template is concerned, I've just added a submit button to it (otherwise, I wouldn't have been able to submit the form).
I'd be glad if you could take a look at this issue.
Thank you for your support
Oliver
first, I'd like to thank you for the contribution of this code
I've tried to add it to my existing DBMan installation. After logging in and starting db.cgi&do=profile_form, everything is dispayed as it should (profile data is loaded into the form) and I can fill out the fields (e.g. overwrite wrong registration info).
But after submitting the new values with your form, it seems to hang somehow. The error_log keeps showing a "premature end of script" message and no data is being modified in the database. I have not uploaded the files in binary mode and there is no wrong path to perl in any script file. I have eaven made a fresh DBMan install to be able to test it again. But nothing seems to solve the problem. I never get a "Your profile was updated successfully!" reply
I've added your code to Home.pm - there is only one small modification (marked in red):
next if ( $c =~ /^Username|Status|view_p|add_p|delete_p|modify_p|admin_p/ );
As far as your profile_form.html template is concerned, I've just added a submit button to it (otherwise, I wouldn't have been able to submit the form).
I'd be glad if you could take a look at this issue.
Thank you for your support
Oliver