Transplanting??

Bill.D

Active member
Ok.. 1st I am a Xenforo noob! :(
So here is the question: Is it possible to "transplant" a whole Xenforo sites files over to a new server and run it? If so, How? lol

So I have the DB up & The new server can connect to it.. I have the new server and all the files moved over. The index page comes up fine but when i goto the Forums page i get a blank page with this massage: "The board is currently being upgraded. Please check back later."

Sorry for the stupid question, Thanks,
-Bill
 
It is possible to move a XenForo site to a different server, yes.

Has the domain name changed?

Can you log in to your Admin CP? If the domain name has changed you will need to update the Board URL.

If you let us know what the site is we might be able to have a look.
 
It has changed.. but i cannot access the Admin CP.. At least I dont think i can.. I going to take a look at the thread posted above and I'll get back if t worked or not. Thanks :LOL:
 
Ok, So I am not able to get to the Admin.PHP page.. Or rather.. I can but its completely blank o_O.. I did a backup of the DB and placed in a new MySQL server b4 all of this and the Config.PHP is set for the new server and I can confirm that the new host server can access the new MySQL server and select data by command line.. However because i cannot get to the admincp i cannot change the Board URL.. Is there a file somewhere that holds that that i can change manually?
 
A blank page is often a suppressed error. Try adding this line to your library/config.php file to see if that reveals any specific error message on the blank page:

Code:
ini_set('display_errors', true);
 
So i tryied adding the code above and still nothing o_O.. the page remains blank.. This is my Config.php sans personal info:
PHP:
<?php
 
$config['db']['host'] = 'xx.xxx.xx.xx';
$config['db']['port'] = '3306';
$config['db']['username'] = 'xxxxxx';
$config['db']['password'] = 'xxxxx';
$config['db']['dbname'] = 'xxxxxx';
 
 
$config['superAdmins'] = '1';
 
$config['debug'] = true;
 
ini_set('display_errors', true);

I have tried commenting out one & both of the debug & superadmin entries as well as setting debug on and off.
I have also review anything I could about Apache's setup. I had just a standard setup and also used a copy of the settings from the org server and neither gets me any closer.

..a follow up.. I wondered if that last entry needed a '$' infront. I tested it and and makes it so the site is completely unreachable.. So i dont think thats it.. lol
 
Try disabling addons too:

Code:
$config['enableListeners'] = 0;

Otherwise if the problem persists then send me your server and forum login info. I will take a look.
 
:confused:.. didnt work.. but! a clue! I ran the requirements php and it says
XenForo also requires MySQL 5.0 or newer. Please manually check that you meet this requirement.
I do have the latest MySQL and it is running tested via "service MySQL status" but they system doesn't seem to see it.. Also that DB that is set in the config is a remote DB and that DB is Also up to date and I test the connection from command line using the setting a placed in the config.php file and that was successful.. Any thoughts?
 
:confused:.. didnt work.. but! a clue! I ran the requirements php and it says

I do have the latest MySQL and it is running tested via "service MySQL status" but they system doesn't seem to see it.. Also that DB that is set in the config is a remote DB and that DB is Also up to date and I test the connection from command line using the setting a placed in the config.php file and that was successful.. Any thoughts?
The requirements.php does not test the MySQL version, so as quoted above you must verify it manually. If everything is OK, you don't need to worry.
 
So still minor progress.. I am able to goto the install site and it asks for a User Name & Pass.. I have entered many different admin users PLUS the Main Admin info and the page goes nowhere.. It just its there after submission.. So I have tried a new installation and replaced the new install's DB with the Old DB.. I get a little further now.. I am able to get Admin.PHP to come up but is simply states:
The board is currently waiting to be upgraded. Please complete the upgrade.
So I click the "Complete the Upgrade" option witch just takes me the the install site which acts in the same ways as the attempts above.. I enter the information and nothing happens :-\
 
update.. I have directly accessed the DB and altered Blob that contained the old URL and altered the blod to contain the new URL. System still not working. :-\
 
Did you try clearing your browser cache? I'm not an expert at anything, but I've ran into this problem where simply using a different browser solved it. Another suggestion you might want to consider is to also clear any dns cache your computer has.
 
Hey All.. Update.. Up till this point it was my fault.. Main problem was my uploading method of the Database.. I re-uploaded the DB and then ran an upgrade and now everything shows up.. ALMOST :confused:.. So the site shows and I can see all of the Forum Threads listed.. BUT.. when I click on one all I get is a page "Not Found" and that it cant find it on the server.. Any thoughts ? Thank you for all of the help.. this has been a good crash course :-)
 
Hmm I had a similar issue when switching from one server to another one. My problem was the .htaccess file. So my new server hadn't mod_rewrite enabled and I had to enable this. Another point was this line in my .htaccess:

Code:
RewriteBase /

I had to remove the "#" before this line.

You could check if it is a rewrite problem by disable here /admin.php?options/list/seo the friendly urls!

Benny
 
Top Bottom