Beeveer wrote:You didn't all the changes in includes/usercp_register.php then.
I looked includes/usercp_register.php. I done all the changes, but the situation is the same...
Gadget Wizard wrote:I'm not sure if I was clear in my response. Please accept my apology if I was not.
If the date is defaulting back to 1970, then most likely the date value is the database is getting set to ZERO(0) instead of (999999).
When the date field is initialized or cleared properly, it should be getting set to 999999 in the database.
That should help you track down your problem.



shawng wrote:Okay the answer has been on this board for 2 almost 3 years.
http://mods.db9.dk/viewtopic.php?t=2009 ... 2+jan+1970
Scroll down to warmweer and see what he has to say. The fact is that the ordering of these variables on the insert is very crucial. after the 0,1 on the values and before user_active on the insert line resolved the issue when ALL ELSE FAILED. Thank you to Warmweer- 2 years later!!!
-Shawn

SQL Error : 1062 Duplicate entry '' for key 2
UPDATE phpbb_users SET user_email = '***@****, user_icq = '', user_website = '', user_occ = '', user_from = '****', user_interests = '', user_birthday = '3410', user_next_birthday_greeting = '2006', user_sig = ****.', user_sig_bbcode_uid = '2700276692', user_viewemail = 0, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 1, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 2, user_dateformat = 'D M d, Y g:i a', user_lang = 'romanian', user_style = 4, user_active = 1, user_actkey = '', user_gender = '2' WHERE user_id = 76
Line : 593
File : usercp_register.php

Return to Birthday [2.0.10/EM]
Users browsing this forum: No registered users and 1 guest