Bonjour, je veux installer php nuke sur mon ftp et il y a un readme pour la config, et ca me dit ca :
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "";
$gfx_chk = 0;
$subscription_url = ""; Si vous avez un lien seulement, sinon laissez vide par défaut.
$admin_file = "admin";Vous pouvez ainsi renommer le lien vers l´admin. Attention le fichier admin.php devra alors etre lui aussi renommer bien évidemment ![]()
--- exemple on renomme admin par AdminPanel
$admin_file = "AdminPanel";
et le fichier admin.php, devra être renommé, AdminPanel.php tout simplement !!
Et je sais pas trop ce qu´il faut mettre alors si vous pouvez m´éclairsir ca serait sympa !
$dbhost = "localhost";
C´st ou se trouve ta base de donnée
$dbuname = "root";
Le login pour s´y connecter
$dbpass = "";
Le password pour s´y connecter
$dbname = "nuke";
Le nom de la base de données
$prefix = "nuke";
Le prefix des tables ex : nuke_user
$user_prefix = "nuke";
$dbtype = "MySQL";
Le type de base
ok merci mais pour $dbhost = "localhost"; pour moi qui suit sur free, c´est sql.free.fr ?
Pour $dbuname = "root"; et $dbpass = "";
je les choisis ou ce sont ceux de mon compte free ?
$dbname = "nuke";
je lui donne le nom que je veux ou j´en ai un précis (mon pseudo free est Nico181)
$prefix = "nuke";
je dois mettre quoi ?!
$dbtype = "MySQL";
et là je met quoi ?
Déjà, je te remercie de la réponse dont tu m´a fait part et j´attends avec impatience la réponse de mon deuxième message ![]()
merci mais je mets quoi là
et la
et là
![]()
voilà, quand je vais là
http://nico181.free.fr//PHPNUKE76FR/PHPNUKE76FR/html/index.php ca me met ca
Il semble que ce site rencontre actuellement quelques problèmes techniques.
Nous vous prions de bien vouloir nous en excuser et vous proposons de repasser nous rendre visite plus tard.
Veuillez patienter, vous allez être redirigé ...
Sachant voici le config.php
<?php
#
#
#
#
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;
/*************************************************
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*************************************************
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU´RE DOING
$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER[´PHP_SELF´], "config.php")) {
Header("Location: index.php");
die();
}
?>
Quesqu´il ne va pas ?
les infos du dessus doivent etre entre " " exemple:
$nom_de_quelque_chose = "la valeyr de ce quelque hose";
voilà, maintenant j´ai ca
<?php
#
#
#
#
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;
/*************************************************
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*************************************************
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU´RE DOING
$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER[´PHP_SELF´], "config.php")) {
Header("Location: index.php");
die();
}
?>
j´ai pas dit de mettre > : mais ça > =
VOILA
<?php
#
#
#
#
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;
/*************************************************
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to http://yourdomain.com/admin.php */
/* */
/* Remeber to go to Settings section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*************************************************
// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU´RE DOING
$reasons = array("As Is",
"Offtopic",
"Flamebait",
"Troll",
"Redundant",
"Insighful",
"Interesting",
"Informative",
"Funny",
"Overrated",
"Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"ul"=>1);
$CensorList = array("fuck",
"cunt",
"fucker",
"fucking",
"pussy",
"cock",
"c0ck",
"cum",
"twat",
"clit",
"bitch",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (stristr($_SERVER[´PHP_SELF´], "config.php")) {
Header("Location: index.php");
die();
}
?>
ya encore des erreurs ?!
ben essaye et tu verras
ben j´ai essayer comme ca et ca marche po ![]()
ce qui me semble provenir de l´erreur, c´est apres ce que j´ai rempli, c´est a dire ca
$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";
$display_errors = 0;
faut laisser comme ca ?
![]()
![]()