11
m0nty
Re: Problem After Install
  • 2005/11/28 23:45

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


you have been editing the wqrong file

that's mainfile.dist.php not mainfile.php

12
goldylhim
Re: Problem After Install
  • 2005/11/28 23:49

  • goldylhim

  • Just popping in

  • Posts: 14

  • Since: 2004/10/28


Like I said. Mainfile.php was empty. it had NONE of this stuff. Here's what mainfile.php looked like BEFORE I added the define code in there.

// $Id: mainfile.php,v 1.6 2003/02/12 03:37:37 okazu Exp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                                                    //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //
/**
 * XOOPS is not installed, redirect to the installer 
 **/

// XOOPS is not installed yet.
if(! defined('XOOPS_INSTALL')){
    
header('Location: install/index.php');
}
?>

13
m0nty
Re: Problem After Install
  • 2005/11/28 23:53

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


you must have copied over mainfile.php with the files from the XOOPS package..

did you try to copy the files again, when your ex screwed the site up initially?

copy the contents of mainfile.dist.php into mainfile.php and fill in all the fields required.

the url, path, db username, db hostname (localhost), password etc etc..

or if you have the install directory on the server, you can run the installer, fill in the fields, then when it says the contents have been copied to the server.. you can quit before it gets to the database section..

14
goldylhim
Re: Problem After Install
  • 2005/11/29 0:00

  • goldylhim

  • Just popping in

  • Posts: 14

  • Since: 2004/10/28


and its working again. I love you forever m0nty!

15
m0nty
Re: Problem After Install
  • 2005/11/29 0:07

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


no probs, you're welcome :)

Login

Who's Online

172 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits