PDA

Voir la version complète : Divers coolfreepages


Brelok
17/04/2003, 23h25
Bonjour à tous,

voilà il y a pas longtemps je me suis lancé dans le vbulletin (environ 2jours) et j ai choisi de faire mes essais sur des hebergeurs gratuits l histoire de se faire la main...

alors voilà j ai trouvé un petit hébergeur sympa gratuit http://coolfreepages.com/ il propose 50 mega d 'espace, traffic illimité une base mysql et php4....

Alors apres bien lu toutes vos recommandations je me lui lancer à l attaque mais je reste bloquer au premier point, j ai pourtant bien lu et relu vos tutos et faq de coolfreepages, il m affiche pour le fichier config.php


Please note that if you get any errors when connecting, //
// that you will need to email your host as we cannot tell //
// you what your specific values are supposed to be //
/////////////////////////////////////////////////////////////

// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql";

// hostname or ip of server
$servername="localhost";

// username and password to log onto db server
$dbusername="root";
$dbpassword="";

// name of database
$dbname="forum";

// technical email address - any error messages will be emailed here
$technicalemail = "dbmaster@your-email-address-here.com";

// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect = 1;

?>
Make sure that when you upload the config.php file that there is no spaces before or after the

Once you have uploaded the new config.php file, reload this page.


Le truc bizarre dans cette histoire c'est que j ai changer ce fichier config mais apparement il le lit comme l originale....

je vous remercie pour vos réponses

PS il faut que je vous avoue qu au niveau php, je suis un tout jeune débutant c3

Gizmo
18/04/2003, 07h22
hostname or ip of server = sql.free.fr
c pe etre cela ki t'empeche de passer la premiere étape...

xcheater2
18/04/2003, 08h39
Since phpMyAdmin 2.2.1, the database(s) name(s) may contain MySQL wilcards characters ("_" and "%":
if you want to use literal instances of these characters, escape them (ie use 'my\_db' and not 'my_db').
---- taken from the file: documentation.txt (phpMyAdmin 2.2.3)

So the things that you should for example have in your config.inc.php:
$cfgServers[1]['host'] = 'localhost';
$cfgServers[1]['auth_type'] = 'config';
$cfgServers[1]['user'] = 'nacXXXXX';
$cfgServers[1]['password'] = 'XXXXXX';
$cfgServers[1]['only_db'] = 'DB\_nacXXXXX';



trouvé ici :
http://coolfreepages.com/faq.html


donc :


<?
////////////////////////////////////////////////////////////////////////////
//Please note that if you get any errors when connecting, //
// that you will need to email your host as we cannot tell //
// you what your specific values are supposed to be //
////////////////////////////////////////////////////////////////////////

// type of database running
// (only mysql is supported at the moment)
$dbservertype="mysql"; // celui ci pas sur essaye

// hostname or ip of server
$servername="localhost";

// username and password to log onto db server
$dbusername="nac suivie sans espace de ton pseudo";
$dbpassword="ton pass de la base";

// name of database
$dbname="DB\_nac suivie sans espace du nom de ta base";

// allow password viewing / editing in control panel
// 0 = not visible or editable
// 1 = not visible, but can be edited
// 2 = visible and can be edited
$pwdincp=2;


// technical email address - any error messages will be emailed here
$technicalemail='ton adresse email';

// use persistant connections to the database
// 0 = don't use
// 1 = use
$usepconnect=0;


//$canviewadminlog = "1";
$canpruneadminlog = "1";

?>

Brelok
18/04/2003, 12h40
Merci Xcheater2,

J avais bien fait cela, mais il m affiche toujours le même message....

merci quand même