Posted on: 2004/6/15 7:16
Re: 2.06 to 2.07
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
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// 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])
// Choose the database to be used
// 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'.
// Database Hostname
// Hostname of the database server. If you are unsure, 'localhost' works in most cases.
// Database Username
// Your database user account on the host
// Database Password
// Password for your database user account
// Database Name
// The name of database on the host. The installer will attempt to create the database if not exist
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.