1
chf65
XOOPS path check: Script is not inside XOOPS_ROOT_PATH
  • 2006/12/28 3:34

  • chf65

  • Just popping in

  • Posts: 4

  • Since: 2006/12/28


Hi all,

I am new to XOOPS. JUst trying it out for now. I am running into the following problem while installing. I could not find a solution reading the forums.

XOOPS Version: 2.0.16 (used xoops-2.0.16.tar.gz)
Module Name/Version: No modules yet, just installing Core
PHP Version: 4.4.4
MySQL Version: 4.0.25
Web Server Software (Apache/IIS/Other): Apache 1.3.33
Operating System: Linux infong 2.4 #1 SMP (Debian)
A full description of the issue:
I follow the installation guide with no issues until it goes to check Path and URL (chapter 5 in the installtion guide). At that momemt, I get the following message:

XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.

I checked the paths in mainfile.php, and they are all correct.

As a matter of fact, when I run the xoopsinfo.php file that is attched in your "Read this first" post, I get the same message:
XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.

One extra peace of info: I am installing XOOPS in a subdomain URL. So, XOOPS_URL=http://portal.mysite.com
Does this make a difference?

This thing is puzzling me. I tried to see whether anything is obvious in mainfile.php, but nothing jumps at me. Any help would be appreciated.

Thanks

2
chf65
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH
  • 2006/12/28 3:46

  • chf65

  • Just popping in

  • Posts: 4

  • Since: 2006/12/28


Hi all again,

Also, I forgot to add:

Register Globals is ON

And I checked the setting of XOOPS_ROOT_PATH

XOOPS_ROOT_PATH = /full_path/location

I also tried:

XOOPS_ROOT_PATH = /full_path/location/

Not sure whether it make a differnce. Both had the same results.

Thanks.

3
chf65
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH
  • 2006/12/28 17:00

  • chf65

  • Just popping in

  • Posts: 4

  • Since: 2006/12/28


Hi all,

I have made another attempt today using a fresh download with the same results.

I am installing from scratch (not an update) following Horacio Salazar's XOOPS Installation Guide (dated 2004-05-21).

He mentions that:

"in order to begin your installation, you have to copy the contents of the full html directory to the root directory of your environment."

In version 2.0.16, there is no html directory. I assume this has been changed to htdocs directory.

Any comments or hints?

Thanks,

4
JCDunnart
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH
  • 2006/12/28 17:24

  • JCDunnart

  • Not too shy to talk

  • Posts: 114

  • Since: 2006/7/1 5


Are you uploading the files into the subdirectory which your subdomain points to?

The install document only explains how to install in the main directory (using main url). To install in a subdirectory/subdomain follow the same procedure but using the subdirectory. Usually you won't need to change the suggested url and root path during the installation.

5
iHackCode
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH

try uploading a php file in that subdomain.

File:
<?php 
echo getcwd();
 
?>


and run that file.. .. it should display the path of that file.. and since its in the same directory as mainfile.php then it is also what your XOOPS_ROOT_PATH should be.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

6
chf65
Re: XOOPS path check: Script is not inside XOOPS_ROOT_PATH
  • 2006/12/28 20:43

  • chf65

  • Just popping in

  • Posts: 4

  • Since: 2006/12/28


Thank you Bandit-X,

getcwd command indicated the problem I was having.

I am installing on a hosted server from 1and1.com and pwd shows files starting with /kunden/homepages/....etc.
But getcwd showed the path starting at /homepages/...etc. (no /kunden).

I do not know why a part of the path does not show up in getcwd, but without it evrything seems to be working.

In retrospect, I should have let the default suggested installation entry path stay and all would be OK.

I will get going now at installing a few modules.

Thanks a lot.

Login

Who's Online

122 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 122


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