12
the mainfile.php found in your XOOPS files in your localhost server has to have the following lines according to the settings of your local webserver:
LINES 31-39, configure physical path and virtual path,
Ex. physical path: C:/xampplite/htdocs/xoops
Ex. virtual path:
http://localhost/xoopsQuote:
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', 'C:/xampplite/htdocs/xoops');
define('XOOPS_ROOT_PATH', 'C:/xampplite/htdocs/xoops');
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://localhost/xoops');
define('XOOPS_URL', 'http://localhost/xoops');
LINES 62-84, configure database details here:
Quote:
// 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', 'xoops');
// 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', '');
// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
define('XOOPS_DB_NAME', 'mydatabasenamehere');
upload the back up of your database to your localhost in phpmyadmin.
www.polymorphee.com
www.xoopsdesign.com