5
You went ahead anyway and overwrote ALL your original files with the FULL 2.0.7 package?? Next time, PLEASE read the upgrade instructions.
Now, to fix this:
Open mainfile.php.dist in a text editor and put all the correct values (these have been provided by your hosting provider when you signed up) in there (marked in
red):
le="color: #000000"><?php // XOOPS Physical Path // Physical path to your main XOOPS directory WITHOUT trailing slash define('XOOPS_ROOT_PATH', '[color=CC0000]path/to/your/xoops/site[/color]'); // XOOPS Virtual Path (URL) // Virtual path to your main XOOPS directory WITHOUT trailing slash define('XOOPS_URL', 'http: //[color=CC0000]www. your_url.here[/color]'); ([color=CC0000]due to the code formatting here, please remove the whitespaces between http: and //, and between www. and your_url[/color]) // 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', '[color=CC0000]xoops[/color]'); // Database Hostname // Hostname of the database server. If you are unsure, 'localhost' works in most cases. define('XOOPS_DB_HOST', '[color=CC0000]localhost[/color]'); // Database Username // Your database user account on the host define('XOOPS_DB_USER', '[color=CC0000]databaseusername[/color]'); // Database Password // Password for your database user account define('XOOPS_DB_PASS', '[color=CC0000]databasepassword[/color]'); // Database Name // The name of database on the host. The installer will attempt to create the database if not exist define('XOOPS_DB_NAME', '[color=CC0000]databasename[/color]');
Now:
save this edited file as mainfile.php and upload that to the server, overwriting your current mainfile.php. Now you should have a working site back.
Herko