Login

Username:

Password:

Remember me



Lost Password?

Register now!

Related Sponsor



Page (1) 2 3 4 »
Author : John Seymour
Article ID : 33
Audience : Top News
Version 1.00.01
Published Date: 2005/1/19 1:51:06
Reads : 14088

Click to see original Image in a new windowAs I found out recently, migrating a Xoops website from one server to another can be a daunting task to a new user.

But after doing it once, I now feel that if I need to make the move again, I can do it faster, easier and more efficiently than before. I would like to thank all the Xoops users that posted their tips on this subject in the faq. It help immensely. Out of this article I will be pulling parts to add to the faq some points that I felt was not enough information on.

So read on to my guide to site migration, with no access to the command line.


First off a little background on my reasons for my site move.

For me speed was the major issue. My former hosting company American Hosting I had no issues with. Uptimes were always great (over four years of use). I would recommend them to anyone that needs a cheap dependable hosting service.

But with my move to Xoops came new challenges. As I added modules my database queries went up along with the load time of my pages. Sometimes over six seconds with a cable connection. During the time that they made backups (once every evening, another thing that I liked of there service) my page loads sometimes went to over 45 seconds. So I could see the point that their hardware just could not handle the load of the websites on the shared server.

My solution. Well it happened kind of by accident. I was hanging out over at the Xoops forums when I saw a post titled Fastest MySQL hosting - Check out our Xoops demo!. I read the ad post, went to the site to check the demos (which were impressive, although barebones) clicked on the order/info link and got a 404 error page. Gave me a chuckle and I posted my feelings on the board, and others followed. I did not expect to see the advertising poster return, but he did. He offered, because of his blunder, double space on his servers.

At the time I still was not ready to bite. I emailed him and asked for more information, which was replied almost immediately. I did some research on the company, and the person. Found him posting on a lot of forums but mostly for his parent company Perfect10 hosting. The reviews of this company, and to find that the owner was the same guy, got me interested in his offer. So I ordered one month, which I am currently using.

Two things to remember about hosting companies is, do your research before commiting, and don't lock yourself into more than one month (even though you can save a few dollars by ordering for a year). Get the feel of the service, then if it is still to your liking sign up for more.

OK. Enough of my history lets get to migrating the website.

Page (1) 2 3 4 »
Printer Friendly Page Send this Article to a Friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
kiwiguy
Published: 2005/1/19 2:19  Updated: 2005/1/19 2:21
Supporter
Joined: 2005/1/9
From:
Comments: 27
 Re: Xoops Site Migration
Hey JD since I have migrated my site on numerous occasions and with only 1 major issue in one migration (which was the hosting services fault) I had been DDOS attacked and somebody was hotlinking files off me caused me to use 65gig of b/w in 2 days and my allowance is only 15gig a month luckily they did not charge me for exceess b/w. So i moved domain names the problem was that my host forgot the http refferers so my site never propergated It was unusual after a week and still no site..

Finally got it all done but I do have only 1 query and that was in your database restoration I used phpmyadmin to export m tables (143 tables roughly 6mb) and I was able to restore the database in one go through phpmyadmin and I am only on DSL 256 down 56 up. But I would say thats a better way and faster way of importing your database so well done on that mate...

As for moving well I would love to be able to get a dedicated server just like this but with no visa/bankcard/mastercard or whatever I am very limited in what hosting service I use edspecially with the adult content on my site (most XXX Rated) I find a lot of hosting services will not allow my site on there servers apart from US ones which I am now using one in florida which so far have been awesome.

The hosting site i went through got hit by all the cyclones and out of all of the cyclones there was only a 5 hour downtime as the cyclone cut the cables outside the building and the techises stayed onsite during it so they could get started repairing the damage as soon as it past there was no loss of data or damage to any of the servers now thats what I called committed to providing a great service...

As for your site IT ROCKS and well done mate on doing a awesome job on it maybe you can give me some pointers on how to improve my site mate be muchly appreciated.

cheers
kiwiguy
Guest
Published: 2005/1/19 8:19  Updated: 2005/1/19 8:19
 Re: Xoops Site Migration
Hi

I have a question that has bothered me for a while.
I do all of my development on my localhost and once the site is up and running migrate it to the web hosting server.
It is a simple case of FTP all the files up, change the details on the mainfile.php file to correspond to the web hosting servers details and then do a dump of my local database into the web hosting's mysql server.

The site wil then work, only small details will not be the same. For example, I changed the look of the left, right and center blocks so that they do not have a title or a border. On the one server it is just how I specified it and on the other not.
On the uploaded server the admin menu is only showing three module (although they are all installed and working just file) and when I redo the ftp of the system files, nothing changes.
I made a change on the localhost's theme.html file and uploaded it, but it never made the change on the web's site.

This has flumuxed me because if the information on both databases is EXACTLY THE SAME and the php and css and html files are EXACTLY THE SAME on both servers, why oh why, do they not look the same?

I am hoping that you can explain to me what is going on. I have posted in the xoops. org site, but there has been no response.

Thanks for your time.
jseymour
Published: 2005/1/19 9:21  Updated: 2005/1/19 9:21
Webmaster
Joined: 2004/11/5
From: Ponte Vedra Beach, Florida
Comments: 201
 Re: Xoops Site Migration
To your first question, I would say yes it should work (although I do my development on the web with backups to my local computer) just make sure that you clear any and all cache options. Update all modules especially the system module if you run into any page link problems. And remember any hard links will have to be changed.

On your second question, check to make sure all cache options are cleared. Go to Site Preferences and Edit General Settings. Put a tick mark in yes Update Themes and Templates. Do that just temporarily until you get all changes to show then disable again. On modules not showing, update the modules to rebuild the blocks, then in the Blocks Admin page make sure that you re-edit all updated blocks to your liking.

HTH. And good luck with your site.
Guest
Published: 2005/5/25 15:30  Updated: 2005/5/25 15:30
 Re: Xoops Site Migration
Hi everyone i went just did an update from 2.0 to 2.10 3 days ago no backup and since i do that all custom block that i have on my front page and other pages is not showing up no matter what i do
I follow the tutorial that ask us to move some folders that we don’t need

Now i went back to read some more then someone is talking about the main file .php

One other thing i have one person trying to register but only get blank pages i get a lot of them too when i try to make changes since the upgrade

On the upgrade are we suppose to do the 777 on any folders?
Take a look http://www.positiveweb.net/relate
tech@positiveweb.com
Thanks
jseymour
Published: 2005/5/26 11:22  Updated: 2005/5/26 11:22
Webmaster
Joined: 2004/11/5
From: Ponte Vedra Beach, Florida
Comments: 201
 Re: Xoops Site Migration
OK, I assime you mean that you upgraded to XOOPS version 2.0.10. In an upgrade you are right, the install folder is not needed. Mainfile.php should be protected to prevent overwrite, but is not included in the upgrade package so this should not be a problem.

As far as the blank pages, go to System Admin - Preferences - General Settings and enable PHP debug to view the errors on the blank page.

Also have the person with the problem registering check his/her firewall settings to make sure that the referrer information is not blocked (XOOPS uses this for security reasons.)

Chmod settings should still be the same from your original XOOPS installation. But check the cache, template_c and upload folders for chmod 777. mainfile.php should be chmod 444 to prevent tampering.

I will be launching a XOOPS helpdesk on my site over the weekend. If you still have problems submit a ticket and we will track the methods of repair.
Guest
Published: 2005/6/1 16:05  Updated: 2005/6/1 16:05
 Re: Xoops Site Migration
Thank you very much what did was reinstall every thing from a fresh start and it is working wonderfull

I install MyAlbum mod and their is one problem to solve at this point ImageMagick
I run the Check Confs&Envs and the only error is
Config Check
Pipe for images: ImageMagick
Path: ImageMagick/
Error: ImageMagick/convert can't be executed

Recent Comments

Related Sponsor

Bookmark and Share