1
Maadman
HELP! : XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2006/8/5 20:19

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


I receive this error

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

I have not changed anything in months, I did a search for this problem and found 2 topics and tried everything they listed. I am running XOOPS 2.014 and php version 4.3.10

I ran test.php on my server and apparently my host DID change my physical path, I have went into the mainfile.php and changed

define('XOOPS_ROOT_PATH'

to the correct physical path.


I have also changed

define('XOOPS_CHECK_PATH', 1);

to

define('XOOPS_CHECK_PATH', 0);

This did not correct the problem either I still get the error message. Please help me as my site is live and need to get it back online as soon as possible. Thanks.

2
skenow
Re: HELP! : XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2006/8/5 22:50

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Have you tried this? If your web host changed your physical path, they may have added a symlink, too.

3
Maadman
Re: HELP! : XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2006/8/6 21:01

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


this is the email i received back from the hosting company.

----------------
Your path currently shows as correct in both the Xoops
config file and the Environment Site Tool.

The following are common paths required to configure your CGI/Perl scripts.

Perl 5 Location
#!/usr/bin/perl

Sendmail Location
/usr/lib/sendmail

Full or Absolute root path for Non-forwarded Domains:
We recommend using the DOCUMENT ROOT environment variable to automatically insert
the path in your Perl script:

$ENV{'HOMEDIR'}/www

You may have to use "double quotes" around the path.

For example the full path to your www directory would be:
"$ENV{'HOMEDIR'}/www"


Full or Absolute root path for Forwarded Domains (eg. yourdomain.com forwarded to
/www/yourdomain.com/):
$ENV{'HOMEDIR'}/www/yourdomain.com

The full path to your cgi-bin directory would be:
"$ENV{'HOMEDIR'}/cgi-bin"
-------------------------------------

does this mean i need to add
$ENV{'HOMEDIR'}/www
somewhere in the mainfile.php?

4
WarDick
Re: HELP! : XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2006/8/6 22:10

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


What script are you trying to run?
Urging XOOPS to be the Best It Can Be.
Richard......

5
Maadman
Re: HELP! : XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2006/8/6 22:48

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


I'm just trying to run xoops. It only gives me

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

Even though my path in mainfile.php is correct.

6
Maadman
Re: HELP! : XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.
  • 2006/8/7 5:25

  • Maadman

  • Just popping in

  • Posts: 64

  • Since: 2006/1/17


I have solved this problem. For some reason my web hosting company moved my site folder to 3 different locations in 3 days without telling me anything about it...

Login

Who's Online

176 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits