I'm using Drupal 6.15 and I'm working on my first Drupal site. I'm attempting to theme stuff to look nice, but the touble I've got myself in to is that I now can't create a new user account without getting 500 - Internal server error! There is a problem with the resource you are looking for, and it cannot be displayed.

The site is http://newagegiftshops.com and if you click on 'Your Account' there is the option to log in (which works fine) and just underneith that there's a 'register now' button.

The Account Information screen appears with the username and email address but as soon as I click on the 'Create New Account' button I get the 500 error...

If I log in to Drupal as Admin, I can see that the username has actually been created. If I edit the User's account I can see their username and email address.

Should there not be a text box asking for a password? I'm sure something else is supposed to happen other than a 500 error. I have un-ticked the need for an e-mail to be sent on registration, so it's not an email problem... Am now a bit stuck

Is there anyone who is in a position to help me?

Comments

zietbukuel’s picture

What about the server logs??

--
Juan Timaná

scifisi’s picture

Thanks Juan - Good suggestion! I hadn't though of tracking it that way.

2010-02-16 11:10:37 xxx.xxx.xxx.xxx GET / q=user 80 - 192.168.111.4 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-GB;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 655
2010-02-16 11:19:12 xxx.xxx.xxx.xxx GET / q=user/register 80 - 192.168.111.4 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-GB;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 624
2010-02-16 11:19:45 xxx.xxx.xxx.xxx POST / q=user/register 80 - 192.168.111.4 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-GB;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 200 0 0 592
2010-02-16 11:20:11 xxx.xxx.xxx.xxx POST / q=user/register 80 - 192.168.111.4 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-GB;+rv:1.9.2)+Gecko/20100115+Firefox/3.6 500 0 0 546

The files issued by IIS7 before this are fine.

I've tried reinstalling Drupal core over my site, but the problem isn't there. I'm wondering if I should remove my theme files and then see what happens?

scifisi’s picture

I found out the problem. Even though I set user accounts to become immediately active (not requiring e-mail activation) Drupal still attempts to send an e-mail anyway. The SMTP Authentication not being properly configured for this site was causing the 500 error to be thrown.

Strange. I'm happy I found out the problem, but I would have thought that NOT requiring email confirmation would have meant that - email confirmation is not required, but no. Drupal 6.15 with the SMTP authentication module will ignore its settings and just go ahead and attempt to send one anyway.

Looks like a gotcha to keep in mind.