Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Moving Server
by seolio on 2006/4/7 1:27:14

Me again,
Sorry for all of your trouble guys and thanks for all your help, I got onto my host, and he said that even though I host both on my reseller, the new domain, donotneter.co.uk, has been put on the new server, so he gave me the path and it works correctly now, thanks again....

Nick
Re: Moving Server
by seolio on 2006/4/7 1:20:12

Quote:

adrock wrote:
well....
can you show us what your mainfile is currently showing?

le="color: #000000"><?php if ( !defined("XOOPS_MAINFILE_INCLUDED") ) { define("XOOPS_MAINFILE_INCLUDED",1); // XOOPS Physical Path // Physical path to your main XOOPS directory WITHOUT trailing slash // Example: define('XOOPS_ROOT_PATH', '/usr/local/psa/home/vhosts/donotenter.co.uk/httpdocs/enter'); define('XOOPS_ROOT_PATH', '/home/donotenter/public_html/enter'); // XOOPS Virtual Path (URL) // Virtual path to your main XOOPS directory WITHOUT trailing slash // Example: define('XOOPS_URL', 'http://72.20.8.200/~donotenter/enter'); define('XOOPS_URL', 'http://72.20.8.200/~donotenter/enter'); define('XOOPS_CHECK_PATH', '1'); // Protect against external scripts execution if safe mode is not enabled if ( XOOPS_CHECK_PATH && !@ini_get('safe_mode') ) { if ( function_exists('debug_backtrace') ) { $xoopsScriptPath = debug_backtrace(); if ( !count($xoopsScriptPath) ) { die("XOOPS path check: this file cannot be requested directly"); } $xoopsScriptPath = $xoopsScriptPath[0]['file'];

Sorry it has taken so long, I have been really busy recently.

here is the mainfile.php, the parts that you wanted to see!

I changed the path as it is on another one of my sites on the same server, except for the /donotenter/enter part.

Hope you can help because it still isn't working.

Thanks all....
Re: Moving Server
by seolio on 2006/4/5 19:32:36

Thanks all for your help,
I will have to try it all later on as the server has just gone down, Thanks, will reply again when server is back up and I have tried your tips.

Thanks All
Re: Moving Server
by carnuke on 2006/4/5 11:17:05

The first check is to drop an index.html into the root of the webspace
le="color: #000000"><?php <html> <head></head> <body> This is my site root </body> </html>

Now call your site IP http://72.20.4.6/~donotenter/, or whatever the root address is and make sure the index page displays. It will take precedance of index.php of the XOOPS site, so dont forget to remove it!

If the page show OK, now call your domain name. If it displays the same page, it's resolved ok. If not, you have to wait a while.

Also make sure that your site URL is set correctly I mean

http://***** or http://www.***** it make a difference.
Re: Moving Server
by stefan88 on 2006/4/5 9:47:12

Also don't forget for any XOOPS or module hacks, that may have hardcoded path ...

Who's Online

214 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

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

Latest GitHub Commits