1
koralex90
DNS Transfer Error.
  • 2007/7/6 6:51

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


Hi.

I have hosted a XOOPS site in one server and I decided to move to another provider, Bluehost. I uploaded the home directory and my sql backup of my site and asked my previous provider to initiate the dns transfer. When I loaded my site, I got this error.

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

One live chat support staff member said this error would be gone if the DNS transfer was completed. The site didnt run for five days so I contacted them again and they stated that the DNS transfer was complete. Then how come this error has not disapeared? Did i do something wrong? If so, how do I correct this? Please give specific instructions.

One change that I noticed was that the ftp address changed from just mydomainname.com to ftp.mydomainname.com after i went to the new provider. does this have anything to do with this error?

Please help. Thanks

2
Catzwolf
Re: DNS Transfer Error.
  • 2007/7/6 7:00

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


You need to make sure that the paths inside XOOPS_ROOT/mainfile.php are the same as your new hosting provider.

When you moved the path to your XOOPS install will have change.

Your hosting provider will have provided your absolute path and you need to use this one instead of the old one.

This line requires changing:
define('XOOPS_ROOT_PATH', 'changeoldonetonewone');

And possibly:
define('XOOPS_URL', 'http://newurlifchanged');

ATB

Catz

3
peterr
Re: DNS Transfer Error.
  • 2007/7/6 7:04

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


If the domain in question is the one in your profile, there is plenty that is "missing" in the DNS records.

For starters, there are no name servers.

Trying to access the domain, it looks like it is 'parked' also.

Yep, the DNS side of things needs additional records.
NO to the Microsoft Office format as an ISO standard.
Sign the petition

4
koralex90
Re: DNS Transfer Error.
  • 2007/7/6 7:14

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


the domain name is boashouse.com. I tried changing the root path and url but now it says the db connection failed.

5
peterr
Re: DNS Transfer Error.
  • 2007/7/6 7:21

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Okay, the DNS side of things certainly looks ok for that domain.

With the msg you are getting now, have you checked mainfile.php, to ensure the db, username, and passwords are all okay. Does bluehost use 'localhost' for db connections ?

Some sites "prefix" db connections with the username and an underscore. Possibly it was different at the old host ??
NO to the Microsoft Office format as an ISO standard.
Sign the petition

6
koralex90
Re: DNS Transfer Error.
  • 2007/7/6 7:24

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


i asked them and they use localhost for their db connections.

Anyone care on helping me directly? I'm in dear need of help.

7
jdseymour
Re: DNS Transfer Error.

Check phpmyadmin, make sure the database is in fact there. Check the username and password are the same as in mainfile.php.

You may even have to create the new user for the database.

8
Catzwolf
Re: DNS Transfer Error.
  • 2007/7/6 7:34

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Are you sure that the absolute path is correct in mainfile.php?

Open mainfile.php and add this line:
echo "Path:" .$xoopsScriptPath;

just above this:
if ( strcasecmpsubstr($xoopsScriptPath0strlen(XOOPS_ROOT_PATH)), str_replaceDIRECTORY_SEPARATOR'/'XOOPS_ROOT_PATH)) ) {
exit(
"XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
        }


Go to your website and see if it displays any path. Check that against what you have in:

define('XOOPS_ROOT_PATH', 'C:/wamp/www/xoops216');

If they are the same, then you have another problem and I would contact your hosts again and see if they can find the problem.

If they are different, replace the old one with the new one.

Hope that helps.

9
koralex90
Re: DNS Transfer Error.
  • 2007/7/6 7:35

  • koralex90

  • Just popping in

  • Posts: 97

  • Since: 2005/3/15


thank you! it worked!

10
jdseymour
Re: DNS Transfer Error.

Quote:

koralex90 wrote:
thank you! it worked!


Glad to hear you got it fixed.

Login

Who's Online

432 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 432


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