Moderator: moderators
dr3van wrote:Also after looking into it, I am a little confused on how your password reset function works? Why do the emails link to "http://api.schattorie.nl/gbuser/changepass.php?id="? Should it be linked to you or should it have been changed to something on my end?
dr3van wrote:Any idea why my registration seems to take forever? After filling out the registration page it seems to take about 3-5 minutes before it goes to the next page. Same happens when clicking the approve on the admin page. I have looked at the user tables in mySQL while registering a test user and it is almost instantaneous. I have also set the php memory up substantially but saw no performance increase. Any ideas where to look to speed it up a bit?
gurutech wrote:For me, it's because I don't have the "sendmail" component configured on my system. It still goes through the motions of scripting the email and "sending" it, but since there is nothing in place to actually send it, it can take a couple minutes to go to the next page.
sendmail_path = /usr/sbin/sendmail -t -i -r noreply@yourdomaon.com
SparkyRih wrote:Is your php.ini setup correctly:
- Code: Select all
sendmail_path = /usr/sbin/sendmail -t -i -r noreply@yourdomaon.com
echo 'this is a test'| mail -s test_email user@somedomain
SparkyRih wrote:Have you tried rebooting the server?
echo "</center>\n";
exit();
}elseif($_POST['delete']) {
SparkyRih wrote:I think you need to review all your server settings than...
My servers and all the test servers run the new script, neither of them runs slow...
And if the mail is send quickly, that means that the script already finished, because that's the last thing it does...
You can try to add exit(); on line 54 in the approve.php, but I dont'think that will change anything...
- Code: Select all
echo "</center>\n";
exit();
}elseif($_POST['delete']) {
echo 'this is a test'| mail -s test_email user@somedomain.com
willieb wrote:Ok I changed the mysql user to root and was able to get the registration part working, but no email yet. Stay tuned, still working on it as time permits. Thanks for these great mods!
Return to Subsonic Registration Engine
Users browsing this forum: No registered users and 5 guests