Topic: Problem with "New Window Link" mod and New registrations. Help!

Have just installed the mod "New Window Link" everything worked fine until you try to registrate a new member. Fali message below:
____
An error was encountered
Error: Unable to create user.
___

Thats the only message i get.

I have already changed the modded files back to normal, but stil got the same problem.

So the problem must be in my database? It´s a Install_mod release.

Help please. smile

Re: Problem with "New Window Link" mod and New registrations. Help!

Enable debug mode, paste the full error

3 (edited by adjust 2007-01-14 14:59)

Re: Problem with "New Window Link" mod and New registrations. Help!

Sorry I missed that.

Here is full message:
_____________________
File: /forum/register.php
Line: 190

PunBB reported: Unable to create user

Database reported: Field 'new_window_link' doesn't have a default value (Errno: 1364)
_____________________

Re: Problem with "New Window Link" mod and New registrations. Help!

You didn't undo the changes to the database that install_mod.php made

5 (edited by adjust 2007-01-14 16:06)

Re: Problem with "New Window Link" mod and New registrations. Help!

How do i do that? Database stuff is not my area.

Re: Problem with "New Window Link" mod and New registrations. Help!

If you have access to phpMyAdmin or similar, you can assign a default value to new_window_link (it's probably in the users table).

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Problem with "New Window Link" mod and New registrations. Help!

I have phpMyAdmin. I found in new_window_link in the user table. Can't I just delete it directly?

Re: Problem with "New Window Link" mod and New registrations. Help!

Yes, you can drop the column: that would be the way to fully undo what install_mod.php did

Re: Problem with "New Window Link" mod and New registrations. Help!

Shit... I maked new_window_link and pressed delete, the only problem was that i used the delete buttom on the top wicth deletet the everything under _user.

Is there any way to restore _user?

hmm

Re: Problem with "New Window Link" mod and New registrations. Help!

You mean you deleted your whole users table?
Unless you or your host have backups, there's nothing that can be done

Re: Problem with "New Window Link" mod and New registrations. Help!

Try using the DB Management plugin to restore your backup