1
jcera
How do i reinatall xoops?
  • 2005/5/30 6:35

  • jcera

  • Just popping in

  • Posts: 72

  • Since: 2004/6/5 6


I reinstalled my apache server and somehow, i could't get the login page up. All i have is the ff page when i try to go to index.


<?php
// $Id: index.php,v 1.8 2003/03/23 23:03:58 okazu Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <https://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 //
// ------------------------------------------------------------------------ //
/**
* Catch new users and redirect them to the start page, if any
* @copyright © 2000 xoops.org
**/

/**
* redirects to installation, if XOOPS is not installed yet
**/
include "mainfile.php";

//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
exit();
} else {
$xoopsOption['show_cblock'] =1;
include "header.php";
include "footer.php";
}
?>


i want to reinstall XOOPS on my machine. is deleting the whole folder enough? I tried renaming it, hooping that when i fo to ../html, it will redirect me to the install page. but somehow it knows that it's already installed in this machine. please help!

2
jdseymour
Re: How do i reinatall xoops?

Well two things to consider when wanting to start over from scratch. Maybe three.

1. When you installed XOOPS and started using it you were reminded to delete the install folder. That folder would need to be replaced to re-install.

2. Mainfile.php has the paths defined already. This also is part of the install process.

3. If your database already exist, with tables, you will receive an error when you reach that point of the install script. So either delete the tables and contents or create a new database for XOOPS.

HTH.

3
pepokiro2
Re: How do i reinatall xoops?
  • 2005/5/30 21:57

  • pepokiro2

  • Just popping in

  • Posts: 10

  • Since: 2005/5/29


Quote:

jdseymour wrote:
...
2. Mainfile.php has the paths defined already. This also is part of the install process.
....


Hi. Do I need to reinstall if I change paths in mainfile.php only? Is that enough?

4
jdseymour
Re: How do i reinatall xoops?

You can change the path in mainfile.php manually or with the install script.

The main job that the install script does is create and populate tables in your database.

So yes, if your path changed, just edit mainfile.php manually no need to run the install script.

5
pepokiro2
Re: How do i reinatall xoops?
  • 2005/5/31 6:20

  • pepokiro2

  • Just popping in

  • Posts: 10

  • Since: 2005/5/29


Thanks.

6
jcera
Re: How do i reinatall xoops?
  • 2005/6/2 12:37

  • jcera

  • Just popping in

  • Posts: 72

  • Since: 2004/6/5 6


Hi. Thanks for responding. But another error seems to have come up. I discovered that my server is not runnign my php scripts but instead, only displays the script itself, just like the one on top.

I replaced my motherboard with a new one, without reformatting my hard disk. Could that have caused this?

I tried reinstalling PHP, and Apache. Apache seems to be working, however, it does not run my script. I'm stuck!

Login

Who's Online

202 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

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

Latest GitHub Commits