1
gamesty
XOOPS Physical Path.
  • 2005/3/28 12:19

  • gamesty

  • Just popping in

  • Posts: 46

  • Since: 2005/3/28


Hey,

I make a site by www.wyger.nl but i have a problem.
i don't know what i need to insert by XOOPS Physical Path.
Can somebody help me?

2
davidthomas1
Re: XOOPS Physical Path.

You mean the physical path in mainfile.php?

You need to enter the path to your XOOPS installation on the webserver.

e.g.

define('XOOPS_ROOT_PATH', '/home/wyger/public_html/yourxoopsfolder');

usually, the path has "/home/yourusername/public_html" first but you'll need to customise it for your implementation.

3
gamesty
Re: XOOPS Physical Path.
  • 2005/3/28 12:35

  • gamesty

  • Just popping in

  • Posts: 46

  • Since: 2005/3/28


But what file is that that i need to insert?

mainfile,index,...?

4
gamesty
Re: XOOPS Physical Path.
  • 2005/3/28 12:36

  • gamesty

  • Just popping in

  • Posts: 46

  • Since: 2005/3/28


There is a conflict between the detected physical path (/vhost/usr/webmasterworld/xoops/xoops-2.0.9.2/html) and the one you input.

That is the eroor i have

5
davidthomas1
Re: XOOPS Physical Path.

Check the settings in mainfile.php

It's in the main folder of your XOOPS installation.

You'll need to open it in an FTP program or CPanel File Manager.

Make sure the physical path matches the path to your XOOPS installation on your webserver.

6
gamesty
Re: XOOPS Physical Path.
  • 2005/3/28 12:45

  • gamesty

  • Just popping in

  • Posts: 46

  • Since: 2005/3/28


<?php
// $Id: mainfile.php,v 1.6 2003/02/12 03:37:37 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 //
// ------------------------------------------------------------------------ //
/**
* XOOPS is not installed, redirect to the installer
**/

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

I can't find the physical phath

Do you have msn?

7
davidthomas1
Re: XOOPS Physical Path.

It looks like you haven't installed XOOPS yet. You'll need to install first.

Go to yourxoopsfolder/install/index.php and try from there.

I'm no expert. I used CPanel's Fanstastico to install XOOPS automatically.

If you want to install XOOPS, you need to do more than simply upload the files. It requires a database to be created + configured too. I think the install script takes care of all that.

Have you installed XOOPS yet?

8
Bananadude
Re: XOOPS Physical Path.
  • 2005/12/8 11:30

  • Bananadude

  • Not too shy to talk

  • Posts: 155

  • Since: 2005/9/16


make a new file and add:

<?php
$show = realpath('index.php');
echo $show;
?>

to it, save it as WhatEverYouWant.php
Upload it to your server in xoops-rootfolder and call it from the browser, copy the output and add it to your mainfile.php (without index.php)

Best Regards,
Bananadude
--- censored by Bananadude ---

Login

Who's Online

157 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

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

Latest GitHub Commits