Transfert de mon site internet en local | Titre du sujet : Transfert de mon site internet en local par mcgeek sur 06/08/2007 04:19:05
Bonjour,
Je souhaiterais transférer mon site internet hébergé chez free en local sur ma machine.
Voila ce que j'ai fait:
- Installé Easy PHP sur mon poste - Récupéré les fichiers du site via FTP - Copier les fichiers dans le repertoire www - Modifier le mainfile.php comme cela:
Avant modifications :
// Database // Choose the database to be used define('XOOPS_DB_TYPE', 'mysql');
// Table Prefix // This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'. define('XOOPS_DB_PREFIX', 'als');
// Database Hostname // Hostname of the database server. If you are unsure, 'localhost' works in most cases. define('XOOPS_DB_HOST','sql.free.fr');
// Database Username // Your database user account on the host define('XOOPS_DB_USER', 'mon_login');
// Database Password // Password for your database user account define('XOOPS_DB_PASS', 'mon_password');
// Database Name // The name of database on the host. The installer will attempt to create the database if not exist define('XOOPS_DB_NAME', 'Base_als');
// Use persistent connection? (Yes=1 No=0) // Default is 'Yes'. Choose 'Yes' if you are unsure. define('XOOPS_DB_PCONNECT', 1);
Après modifications
// Database // Choose the database to be used define('XOOPS_DB_TYPE', 'mysql');
// Table Prefix // This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'. define('XOOPS_DB_PREFIX', 'als');
// Database Hostname // Hostname of the database server. If you are unsure, 'localhost' works in most cases. define('XOOPS_DB_HOST', 'localhost');
// Database Username // Your database user account on the host define('XOOPS_DB_USER', 'root');
// Database Password // Password for your database user account define('XOOPS_DB_PASS', 'sans_password');
// Database Name // The name of database on the host. The installer will attempt to create the database if not exist define('XOOPS_DB_NAME', 'Base_als');
// Use persistent connection? (Yes=1 No=0) // Default is 'Yes'. Choose 'Yes' if you are unsure. define('XOOPS_DB_PCONNECT', 1);
- Ensuite j'ai copier ma base de donnée 'Base_als" de chez free à chez moi (je note un problème au niveau de la taille de ma base : elle est de 856,0Ko chez free et seulement 807,2Ko chez moi)
Mais quand je clique sur weblocal de EasyPHP j'obtiens ce message: XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
J'ai grand besoin d'aide s'il vous plaît!?!
|
|