Sorry for this question but where in class.account.php do i have to edit it? xD
really sorry but im a noob at .php
And i got still this above the register page :
Quote:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\conquer2\index.php:80) in C:\AppServ\www\conquer2\classes\class.account.php on line 2
when i edit the code to function createaccountconquer i get error. can u exactly say what i have to do to get this site work in 12Talis?
Thnx
Edit: I fixed the Warnings at register and change pass. u have to put this code under <?php: session_start() in the index.php so put session_start() at line 2
and now when i try to register it says thanx but in my mysql database theres nothing?
if(file_exists($this->fullpath)):
echo $this->message('Thank you for registering.');
else:
echo $this->message('Error in Creating account please try again!');
endif;
else:
echo $this->message('Account '.$this->username.' is already in use.');
endif;
else:
echo $this->message('You must fill in your select question');
endif;
endif;
endif;
endif;
}
thats the whole code. and now?
But a weird thing. i tried to make some accs and they are not in my accounts db. but i got the .ini files in my D:\...\AuthServer\Database directory xD i need them in my database xD
/*
* Check type of server used to create accounts.
* -- --------------------------------------------------------------------
* $checkAccountType: mysql - Use mysql database.
* $checkAccountType: files - Use files .ini as a database.
-- If you use files (.ini) as a database, go to (modules/register.php)
and remove the comment involving (realname), lines 42 to 46.
*/
public $checkAccountType = 'files';
public $args = array();
public $maxAllowLoggedAccounts = 800;
function OpenConnection(){
try{
$this->conn = new PDO("mysql:host=".$this->ip.";dbname=".$this->coMysqlDb."", $this->coMysqlUser, $this->coMysqlPass);
}catch(PDOException $e){
echo $e->getMessage();
}
}
thats it.
when i change public $checkAccountType = 'files'; files into mysql i dont see the page only the background.
okay after doing the basic's settings it asked for and getting spammed with different errors I wouldn't even take my time to figure out the issue, I would just find a different reg page and over write the current one in modules.
Starting my own Conquer site... 06/02/2010 - CO2 Programming - 0 Replies Starting with packet structs, and working through memory functions later. Will also have tutorials and some example classes for different languages on how to do some things.
Main Page (Conquer Online Documentation)
conquer v2 new site + server is on soon 02/18/2009 - CO2 Private Server - 11 Replies heey people conquer v2 has an new site join it today website Link here server will be up soon join today and become vip.
fully translated server every bug fixed from patch 5065 when we got mor players we will update is to an higher patch..
our site has chatbox reg page etc new style look for yourself
p.s dont flame this topic