1
iolai
Moving to new host problems
  • 2007/1/7 9:42

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


Hello,

I just moved one of my sites to another host (from godaddy to dreamhost), copied all the files, changed everything I needed in mainfile.php and when I try to access my site, I get this message:

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

I made sure there is no trailing backslash after XOOPS_ROOT_PATH and I am sure I am using the correct XOOPS_ROOT_PATH.

How can I solve this problem?
- Eli Baskin.
Dune MUD
AtomsWorld.com

2
wodnick
Re: Moving to new host problems
  • 2007/1/7 10:36

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi there.

Make some "mistake" in index.php file, b.e. change first line of code to:
include "mainfile_fake.php";
so in error communicate You can see right path to files in new file system.

regards,
wodnick
========
Pozycjonowanie

3
dizzymarkus
Re: Moving to new host problems

Howdy,
(Just to check the path)

Copy / paste this code into your editor and save as "get.php"


echo str_replace('\','/',getcwd()); 
?>


upload to your root then run :

http://www.YOURSITE.COM/get.php

this will return the full script path.

Make sure it in the root and remove it when your done. If you put it in the module folder and call it up it will give you the path to that module etc. So please make sure the get.php is in the root.
Good luck,

Markus

4
iolai
Re: Moving to new host problems
  • 2007/1/7 15:41

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


Thank you very much!

Site is up and running :)
- Eli Baskin.
Dune MUD
AtomsWorld.com

Login

Who's Online

346 user(s) are online (221 user(s) are browsing Support Forums)


Members: 0


Guests: 346


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