MyIkariam -Opensource project

Stato
Discussione chiusa ad ulteriori risposte.
Voglio fixxare tutti i bug segnalati e aggiungere:
- Alleanza
- Agorà
- Sistema di aggiornamento automatico da github

Il problema è che ho letto che codeigniter è fuori sviluppo, quindi cercavo un framework più recente.
 
ragazzi io ho un grosso problema!! [MENTION=142925]idro96[/MENTION]
non riesco a far partire il server ho seguito tutte le tue istruzioni ma niente da fare quando vado alla pagina del gioco mi da indice di / e ci trovo tutti i file del gioco . da quanto ho letto dovevo caricare un file .sql su phpmyadmin ho provato a caricare tutti i file sql presenti nella cartella ma mi da errore :omfg:
Vi prego aiutatemi!! Grazie in anticipo! ;)
 
ma quindi io che faccio? come mai il server pandora ci è riuscito ?(a me basta metterlo online) [MENTION=142925]idro96[/MENTION]
 
Ultima modifica:
be mettendo che i file non siano buggati per far partire il server servirebbe un file .sql giusto?(tipo il file sql.sql che ce nell'archivio o è buggato anche quello?) @idro96
Aggiungo anche il file myikariam.sql non ce e io non riesco a far partire il server se entro nella pagina mi da che devo creare un database che faccio lo creo?
 
adesso ho capito come inserire il database .sql nella pagina phpmyadmin e questo passaggio l'ho fatto però mi rimane sempre la pagina Install|Ikariam
Che devo fare? [MENTION=142925]idro96[/MENTION]
2hwdzex.jpg
 
per favore puoi essere piu specifico? cmq grazie [MENTION=142925]idro96[/MENTION] :D
p.s :poi fatto questo mi viene la pagina di gioco?

- - - Updated - - -

PHP:
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');/*| -------------------------------------------------------------------| DATABASE CONNECTIVITY SETTINGS| -------------------------------------------------------------------| This file will contain the settings needed to access your database.|| For complete instructions please consult the "Database Connection"| page of the User Guide.|| -------------------------------------------------------------------| EXPLANATION OF VARIABLES| -------------------------------------------------------------------||	['hostname'] The hostname of your database server.|	['username'] The username used to connect to the database|	['password'] The password used to connect to the database|	['database'] The name of the database you want to connect to|	['dbdriver'] The database type. ie: mysql.  Currently supported:				 mysql, mysqli, postgre, odbc, mssql, sqlite, oci8|	['dbprefix'] You can add an optional prefix, which will be added|				 to the table name when using the  Active Record class|	['pconnect'] TRUE/FALSE - Whether to use a persistent connection|	['db_debug'] TRUE/FALSE - Whether database errors should be displayed.|	['cache_on'] TRUE/FALSE - Enables/disables query caching|	['cachedir'] The path to the folder where cache files should be stored|	['char_set'] The character set used in communicating with the database|	['dbcollat'] The character collation used in communicating with the database|| The $active_group variable lets you choose which connection group to| make active.  By default there is only one group (the "default" group).|| The $active_record variables lets you determine whether or not to load| the active record class*/
// The following values will probably need to be changed.$db['default']['username'] = "%USERNAME%";$db['default']['password'] = "%PASSWORD%";$db['default']['database'] = "%DATABASE%";$db['default']['installed'] = true;
// The following values can probably stay the same.$db['default']['hostname'] = "%HOSTNAME%";$db['default']['dbdriver'] = "mysql";$db['default']['dbprefix'] = "";$db['default']['pconnect'] = TRUE;$db['default']['db_debug'] = TRUE;$db['default']['cache_on'] = FALSE;$db['default']['cachedir'] = "";$db['default']['char_set'] = "utf8";$db['default']['dbcollat'] = "utf8_general_ci";
$active_group = "default";$active_record = TRUE;
/* End of file database.php *//* Location: ./application/config/database.php */

dove metto true? [MENTION=142925]idro96[/MENTION]:taummae:
 
Ultima modifica:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the "Database Connection"
| page of the User Guide.
|
| -------------------------------------------------------------------
| EXPLANATION OF VARIABLES
| -------------------------------------------------------------------
|
| ['hostname'] The hostname of your database server.
| ['username'] The username used to connect to the database
| ['password'] The password used to connect to the database
| ['database'] The name of the database you want to connect to
| ['dbdriver'] The database type. ie: mysql. Currently supported:
mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
| ['dbprefix'] You can add an optional prefix, which will be added
| to the table name when using the Active Record class
| ['pconnect'] TRUE/FALSE - Whether to use a persistent connection
| ['db_debug'] TRUE/FALSE - Whether database errors should be displayed.
| ['cache_on'] TRUE/FALSE - Enables/disables query caching
| ['cachedir'] The path to the folder where cache files should be stored
| ['char_set'] The character set used in communicating with the database
| ['dbcollat'] The character collation used in communicating with the database
|
| The $active_group variable lets you choose which connection group to
| make active. By default there is only one group (the "default" group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/


// The following values will probably need to be changed.
$db['default']['username'] = "%Ikaram%";
$db['default']['password'] = "%lamiapassword%";
$db['default']['database'] = "%sql.sql%";
$db['default']['installed'] = true;


// The following values can probably stay the same.
$db['default']['hostname'] = "%http://ikaram.altervista.org%";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";


$active_group = "default";
$active_record = TRUE;


/* End of file database.php */
/* Location: ./application/config/database.php */


è giusto come ho fatto?

- - - Updated - - -

ok adesso mi va però adesso mi da un altro errore *: riga n 346


// Initialize the db variable. Needed to prevent
// reference errors with some configurations
$CI->db = '';


// Load the DB class
* $CI->db =& DB($params, $active_record);
}



cmq grazie ancora :)

2gukrw3.jpg


- - - Updated - - -

mi mandi il codice per favore? (così vedo) ;)
 
Ultima modifica:
cioè che devo fare?

- - - Updated - - -

// Initialize the db variable. Needed to prevent
// reference errors with some configurations
$CI->db = 'sql.sql';


// Load the DB class
$CI->db =& DB($params, $active_record);

cosi?

ma ikaram è il nome utente
 
Stato
Discussione chiusa ad ulteriori risposte.