[HELP]DB or Reg. Page?

12/24/2009 04:00 PissOffMate#1
Ok so my personal pserver is experiencing difficulties.. I was trying out a reg page i found on here a couple days ago and now theres a problem... I've set up my web page and it says successfully registered, however when i go to log in it says incorrect ID. I have checked the db and it's using the same user_no more than once i think this is the problem.
So would this be a php script error? Or db error?
12/24/2009 05:23 Decima#2
well, i wasnt even aware the DB would allow for duplicate entries for the user_no, but apparently its the php script passing the same user no each time.

find another reg page on here, try it, if it does the same thing, then its ur php, not the script
12/24/2009 06:05 PissOffMate#3
Hmm, well i think i know whats going on but don't have a clue how to solve.. The user_profile is only going up to 100 -.- and then the register keeps using 01,02,03 etc etc all over again... Any ideas?
Thanks in advance.

EDIT:it's the user_profile thats only going up to 100 but when i register the user_no keeps going up like 101, 102, 103 etc etc..
12/24/2009 09:10 janvier123#4
i never heard about this ...
and its impossible to have the same user_no

Here is how (my script) does it

PHP Code:
        $dk_time=strftime("%y%m%d%H%M%S");
         list(
$usec1$sec1) = explode(" ",microtime());
         
$dk_user_no=$dk_time.substr($usec1,2,2); 
here is [Only registered and activated users can see links. Click Here To Register...]
Register Page (PHP Only - No ODBC)
12/24/2009 18:39 ҉ THT ҉#5
Ya I know it was also with me >.<"
PHP Code:
 $dk_time=strftime("%y%m%d%H%M%S"); 
when I add this row, me register page give some error
12/24/2009 23:01 janvier123#6
Quote:
Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /opt/lampp/htdocs/killhack/lib/ezutils/classes/ezdebug.php on line 898
Quote:

With a little help from my god new mates i found on #ezpublish @ freenode.net the problem was solved

The problem was in the php.ini file you most go to:
and roll down to you se.

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Date]
date.timezone = CET

and add [Date] date.timezone = CET and save and restart the webserver

I hope this can be useful for others

Thanks for help guys!
there is your fix
if not look [Only registered and activated users can see links. Click Here To Register...]