Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 12:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]DB or Reg. Page?

Discussion on [HELP]DB or Reg. Page? within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 56
Received Thanks: 5
[HELP]DB or Reg. Page?

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?
PissOffMate is offline  
Old 12/24/2009, 05:23   #2
 
Decima's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
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
Decima is offline  
Old 12/24/2009, 06:05   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 56
Received Thanks: 5
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..
PissOffMate is offline  
Old 12/24/2009, 09:10   #4
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
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
Register Page (PHP Only - No ODBC)
janvier123 is offline  
Old 12/24/2009, 18:39   #5
 
҉ THT ҉'s Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 912
Received Thanks: 250
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
҉ THT ҉ is offline  
Old 12/24/2009, 23:01   #6
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
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 *** 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
janvier123 is offline  
Reply


Similar Threads Similar Threads
Page.
03/24/2010 - CO2 Private Server - 12 Replies
Hello all, i have question i download page for patch 5165 Where do I have to put in order to my side joined from datum feature of data? and she founded in her account?? For my server???
Reg-Page
12/19/2009 - Metin2 Private Server - 12 Replies
Morgen, mein Server läuft über Hamachi undso, nur ich möchte keine Accounts manuell über die Database machen. Also hab ich mir gedacht: Machste eine Registrierungspage ! Diese funktioniert aber nicht, da Apache in Xampp nicht starten will. Kann sich das jemand per Teamviewer genauer anschauen? Wäre sehr nett. Wer nur im Thread posten will, für den hab ich hier das Problem : http://1click-image.de/user/image/810179726.jpg
Reg page
05/18/2009 - CO2 Private Server - 1 Replies
NVM!! sorry for making thread :S #request close
PK page.
12/12/2008 - EO PServer Hosting - 2 Replies
hi everyone, does any1 know where cna i find the pk page? the one you can put on the website and see who is the top pker and stuff..i was looking everywhere but i couldn't find it.



All times are GMT +1. The time now is 12:22.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.