News Feed E-mail

Get How-To's right in your inbox. Subscribe to the HowToJoomla! news feed e-mail. Just enter your email address here:

Delivered by FeedBurner

Login






Lost Password?
No account yet? Register

Affiliates

Azrul's JomComment
JoomlaShack
iJoomla
The Joomla! Store
Member of W3C Sites dot com
How to Move Your Joomla! Site to a New Server PDF Print E-mail
Written by Cory   
Friday, 22 September 2006

Things happen. Plans change. Websites outgrow current servers and need new servers. Hosting companies provide poor service, prompting a web master to decide to change servers. Whatever the reason, you might need to move your Joomla! installation from one server to another.

If you've been running a website for a while, you have probably already accumulated quite a bit of content and several 3rd party components and/or modules, and you do not want to start fresh with a new Joomla! installation. This article explains what I did to move HowToJoomla from my test server (howtojoomla.corywebb.com) to the server that it is on now.

Why not use a fresh install?

In my case, I probably could have. I only had about 4 or 5 articles on the test site, and I am using relatively few 3rd party CMT's (JomComment, TagBot, and JoomlaXplorer). But, I decided it would be easier just to move the installation I had to the new server, so I did.

You will want to move your Joomla! installation rather than re-install if you fit one or all of the following parameters:

  • Your site has accumulated a large amount of data in the database over time (sections, categories, content items, contacts, newsfeeds, etc.).
  • Your site uses multiple 3rd-part extensions already configured and/or customized for your site.
  • You just feel like trying it out to see if you can do it.

Step 1: Backup everything!

The first thing you want to do is backup all files within your Joomla! installation. Create a folder on your local system, and download all files to that folder using your ftp client application. I used FileZilla as my ftp client application to download all of my files to a folder on my desktop I named "howtojoomla".

Step 2: Export your database

Note: For this step, it really helps if you have phpMyAdmin installed on your server. Most hosting companies have phpMyAdmin already installed. If you are unsure, ask your hosting provider.

The second thing you need to do is export your Joomla! database. The best thing to do is to export it into an SQL file, which makes importing it easier in a later step. An SQL file will contain all of the necessary SQL commands for creating your database tables and filling them with your data. Be sure you export the entire database.

Step 3: Modify configuration.php

This step is very important. Go to the folder on your local system to which you downloaded all of your Joomla! files. In the first level folder, you will find the file named "configuration.php". Open this file with a text editor and make the necessary changes. At the very least, you will probably need to change the following parameters:

  • $mosConfig_absolute_path: This is the absolute server path to your new Joomla! installation. It will probably look something like "/path/to/joomla/installation".
  • $mosConfig_cachepath: This is the absolute server path to the cache for your Joomla! installation. It will probably look something like "/path/to/joomla/installation/cache".
  • $mosConfig_live_site: This is your website's url. It will be something like "http://www.yoursite.com".
  • $mosConfig_host: This is the location of the server that hosts your MySQL database. For most instances, this value will be "localhost". If you are unsure, ask your hosting provider.
  • $mosConfig_db: This is the name of your MySQL database.
  • $mosConfig_user: This is the database user name. Make sure this user has all privileges on your database.
  • $mosConfig_password: This is the password for your MySQL database user.

Step 4: Upload all of your files to your new server

Using an ftp client application (like FileZilla), upload all of your files to the location on your new server where you want to install Joomla!.

Step 5: Import your database to your new MySQL server

Using phpMyAdmin (or console commands if you are an advanced database administrator) and the SQL file you generated in step 2, import your old database into your new database.

Step 6: Test your new installation

Your move should now be complete, but please don't take my word for it. Test your site to make sure that everything is in it's proper place and working the way you expect it to. For example, if you did not use relative url's for your links on your old site, they will not work properly on your new site.

If you are uneasy or uncomfortable with this process, I strongly recommend that you hire a professional to do this for you.

Update: Another Resource

I just came across a resource called JoomlaCloner which automates much of this process for you. It has a commercial license, so unfortunately it is not free. The base price is $49.95 for 1 year support and upgrades. I have never used it, so I cannot speak for whether or not it is a good component. I just wanted to make you aware of it.

Trackback(0)
Comments (104)add comment
Andrew: ...
Would be of help to have some comprehensive instructions on the database wrangling. Shifting files is easy - it's the database stuff that scares me.

Andrew
1

report abuse
vote down
vote up
September 24, 2006
Votes: +0
@Andrew: Thanks for the comment. I'll work on more detailed instructions for dealing with the database. Do you have phpMyAdmin on your servers?
2

report abuse
vote down
vote up
September 24, 2006
Votes: +1
Hy there!
At least i found you! Mine guestins have answers atleast!!!!
Thank you for your sacrifice, ( time ) smilies/wink.gif
Im wondering how could i do that but problem is bandwith that is slow and small in Croatia smilies/cry.gif.
Thank again,

PS if you could provide some images or something... that will rock the joomla world!!!
Making joomla website on home computer, localhost...
finishing the website and just upload it on server!
That will be nice!
3

report abuse
vote down
vote up
September 25, 2006
Votes: +0
@MastaChu: I'm glad you found this useful! smilies/smiley.gif What kind of images would you like to see for this? I can think of a few places where I need to add a screenshot, but if you have any suggestions, I'd like to hear them.
4

report abuse
vote down
vote up
September 25, 2006
Votes: +0
Nikos: ...
I think you've forgoten that when you move to another server from Windows lets say to Linux, you also need to change the permissions of the folders to the new installation.
5

report abuse
vote down
vote up
October 02, 2006
Votes: +1
You're absolutely right. That is an important step that I have left off. Thank you for pointing that out.
6

report abuse
vote down
vote up
October 02, 2006
Votes: +0
thnx man, good helping.
but my database SQL file is 5 mb- can I import it ?

thank you very much for the lesson.
7

report abuse
vote down
vote up
October 02, 2006
Votes: +0
I will try to my website: Than I can tell you thank you again
have a nice time
sorry for my bad english

i love Joomla..
8

report abuse
vote down
vote up
October 02, 2006
Votes: +0
but my database SQL file is 5 mb- can I import it ?


You should still be able to import it. You might want to try splitting your SQL file into separate SQL files. If you have any questions, please let me know.
9

report abuse
vote down
vote up
October 02, 2006
Votes: +1
how can I splitt it? please can you tell me ?
10

report abuse
vote down
vote up
October 02, 2006
Votes: +0
thank u very much Cory. I found a little program, I can splitt my SQl.
that is SQLsplitter.

if any one need it can find it from gooegle.. thanks again
11

report abuse
vote down
vote up
October 02, 2006
Votes: +0
hi again, sorry for many questions.

but in the new server what can I do? do IPORT the SQL file or install a as news SQL ?

smilies/grin.gif smilies/smiley.gif
12

report abuse
vote down
vote up
October 03, 2006
Votes: +0
@huner: You need to create a new SQL database on your new server, and import your old database tables into your new database using the SQL files you created.
13

report abuse
vote down
vote up
October 03, 2006
Votes: +0
I know that, I mean, there are to diffirent stepst, in my Phpmyadmin
14

report abuse
vote down
vote up
October 03, 2006
Votes: +0
Hi Cory,

I'm new to Joomla so as I'm learning I have intalled it on a subdirectory of my website. So I still need to follow these steps? or do I just need to update the $mosConfig_live_site file?

Thanks for your answer smilies/grin.gif
15

report abuse
vote down
vote up
October 14, 2006
Votes: +1
@Alex Pasieka: You would just need to updated your configuration.php file. You need to change $mosConfig_live_site, $mosConfig_absolute_path, $mosConfig_cachepath.
16

report abuse
vote down
vote up
October 14, 2006
Votes: +0
Bert: ...
Hi,

I guess that moving to a subdomain would be the same as moving to another directory, but this does not work for me.
I setup the site at http://newsite.domain.com to test is. Now I want to move the site to http//www.domain.com.
I copied all files, with the same file permissions, ... I modified configuration.php ($mosConfig_live_site, $mosConfig_absolute_path, $mosConfig_cachepath) but when I browse to the site I et a blank page. What am I doing wrong ?
In the server logs I can find some references to open_basedit not being set correctly, but I can't find this setting in within my Joomla config.
17

report abuse
vote down
vote up
October 20, 2006
Votes: -1
@Bert: I'm not sure what is wrong with your installation. Have you checked your db settings to make sure they are set properly?
18

report abuse
vote down
vote up
October 20, 2006
Votes: +0
Bert: ...
Seems like I jumped to conclusions too soon. I guess I did something wrong. I just tried again and now it works without any problem.

I'm sure that the problem was not related to the DB settings, because these didn't change. I think something went wrong with the copy.
Most imporant thing to remember is that it actually works by just copying the files ang changing the 3 parameteres mentioned in the previous post.
19

report abuse
vote down
vote up
October 20, 2006
Votes: +0
Great! I'm glad it worked for you. smilies/smiley.gif
20

report abuse
vote down
vote up
October 20, 2006
Votes: +0
Thank you for that how-to. It worked beautifully when I had to move one of my sites from one machine to another. It was so easy I thought I'd done something wrong! smilies/wink.gif

I don't suppose you have any tips or guides from getting sites using Mambo across to Joomla? I'm struggling to get two sites using Mambo and Community Builder across to Joomla without loosing everything. It's the components that seem to complicate the issues! smilies/smiley.gif
21

report abuse
vote down
vote up
January 11, 2007
Votes: +0
Hi Rob...I'm glad you found this useful! The problem with a Mambo-to-Joomla how-to is just what you said...the components really complicate the issue. Not knowing what components everyone has installed, and not knowing the differences between the Mambo versions and Joomla versions of the components, it is next to impossible for me to right a good generalized how-to on that topic.

Thanks for the suggestion.
22

report abuse
vote down
vote up
January 11, 2007
Votes: +0
Veena: ...
Hi,

I want to move my site from local server to the main server.....the $mosConfig_absolute_path = 'D:/PHP/xampp/htdocs/Trial'; and so is the cache path.....will it be fine if i just follow the instructions above....or do i neeed to do any extra changes.....please do reply.....

Thanks in advance
23

report abuse
vote down
vote up
February 28, 2007
Votes: -1
Veena: ...
Are U talking about the settings in configuration.php-dist???
24

report abuse
vote down
vote up
February 28, 2007
Votes: +0
Hi Veena,

The instructions are still the same. You just need to figure out what the absolute path and the cache path are on your main server.

The file "configuration.php-dist" is not the file you need to be changing. You need to change "configuration.php".

Cory
25

report abuse
vote down
vote up
February 28, 2007
Votes: +0
Veena: ...
Hi Cory,

Thanks for the information.......is there anything like OS compatibility issues in Joomla???
26

report abuse
vote down
vote up
March 02, 2007
Votes: +0
From Joomla.org (http://help.joomla.org/content/view/34/132/)...

Here are the minimum requirements for Joomla 1.0

* PHP 4.2.x or above - http://www.php.net
* MySQL 3.23.x or above - http://www.mysql.com
* Apache 1.13.19 or above - http://www.apache.org

You must ensure that you have MySQL, XML and Zlib support built into your PHP.


You can run Joomla on a Windows server or a Linux server as long as it meets the requirements listed above. One thing to consider when moving between Windows and Linux is the way absolute paths are listed. Windows paths start with the drive letter like this "C:", and Linux paths exclude the drive letter from the beginning like this "".
27

report abuse
vote down
vote up
March 02, 2007
Votes: +0
This is a great explanation.. all worked smilies/cheesy.gif
28

report abuse
vote down
vote up
March 11, 2007
Votes: +0
Vince Patron: ... http://www.nortap.com
Hi Cory,

Just FYI on some additional problems I ran into.

1) I had to also make changes to table in the SQL database called "jos_preferences" which had paths to the cache, public and private folders (3 entries).

The first two are obvious when you browse the jos_preferences table, but the third one wasn't because I forgot browse only shows 30 rows at a time. You have to click on the ">" (Next page) to see the third row that needs updating.

2) We had to change the permissions for all the folders Joomla accessed to CHMOD 755, instead of the 644 which was my provider's default. The owner of my service provider said this was OK since access was controlled by .htaccess (which I'm still learning about).

Anyway, these are some additional comments that you might want to add to your excellent tutorial. Thanks!

-Vince
29

report abuse
vote down
vote up
March 11, 2007
Votes: +0
Vince,

Thanks for that information. I figured there would be some nuances that would affect the process differently for different people. I'm glad you were able to get it resolved, and thank you for posting it here.

Cory
30

report abuse
vote down
vote up
March 11, 2007
Votes: +0
oneoflk: ... http://www.ahasa.net
hi
i need put my site updated data base file in local server to live server. Can i have solution that mater

thanks
Ranil
31

report abuse
vote down
vote up
April 14, 2007
Votes: +0
Hy! Me again! smilies/grin.gif
Im planning to make joomla local and then put it on server when is ready!
So, mine question is, if there is anyone that have make something like that and maybe if he/she cann make some pics screenshots with some inportant moves or maybe small tutorial on how to make that transfer! Maybe it isnt so hard but for beginners or small country like mine its hard to get some books that can explain this!
I will be gratefull for that!

BTW: @Cory

I mean images that are make understand easier the whole transfer!
Im not Newbie! But im not that far away!
smilies/wink.gif
32

report abuse
vote down
vote up
April 16, 2007
Votes: +0
Thanks for this perfect instruction. You made my day. smilies/grin.gif
33

report abuse
vote down
vote up
April 20, 2007
Votes: +0
You're welcome, ProTom. I'm glad I could make your day. smilies/smiley.gif
34

report abuse
vote down
vote up
April 20, 2007
Votes: +0
Hello Cory!
I really appreciate what you put together here. Thanks. Nice and useful.

I went through the steps, and got error msg.

Well, I am using at DreamHost a hosting for several domains. (They allow unlimited number of domains! I really like them! If you are interested I gladly write more about them!)
I have a site with Joomla. I would like to copy this site to another site, as it will be very similar to the first one. (After copying the site, I would make some small modifications.)

So, I have to make a new mySQL database, with different name (not to overwrite the first one.)

How should I do this?

Thanks,

Tamas

35

report abuse
vote down
vote up
April 25, 2007
Votes: +0
Hi Tamas,

I would manually create the database (without the tables) first, then export the tables from the old database and import them into the new one. The easiest way to do that is with phpMyAdmin if you have access to it.

Cory
36

report abuse
vote down
vote up
April 25, 2007
Votes: +0
megsani: ...
Hi Cory,

I am a new to Joomla. Currently I have installed Joomla on my pc for development purpose. When I am ready to transfer to a live site, do the procedures apply? Also I am not sure on exporting the database into SQL file. How do I do it?
Thanks.
37

report abuse
vote down
vote up
April 29, 2007
Votes: +0
Hi megsani,

The same procedures do apply when moving your Jooml installation from one place to another. The easiest way to export your database to an SQL file is with phpMyAdmin.

Cory
38

report abuse
vote down
vote up
April 29, 2007
Votes: +0
Stephan: ...
Hi Cory!

Thanks for the information. How would one export their database from a localhost? I'd like to test everything on my local machine and then upload the same to a web server. I used WOS from www.chsoftware.net to install on a localmachine. It's very much like php triad in which it installs apache, mysql and php4 on a local machine. Any insight is most appreciated. Thanks very much.
39

report abuse
vote down
vote up
May 11, 2007
Votes: -1
Hi Stephan,

The easiest way I know how to export a database is using a tool like phpMyAdmin. You could download a copy of it from phpmyadmin.net and install it on your localhost.

There are also GUI tools for dealing with MySQL databases. You can download them here:

http://dev.mysql.com/downloads/gui-tools/5.0.html

Good luck,
Cory
40

report abuse
vote down
vote up
May 11, 2007
Votes: +0
Stephan: ...
Thank you Cory! I will look into your suggestions right away! Thank you for making such a wonderful site. smilies/smiley.gif
41

report abuse
vote down
vote up
May 12, 2007
Votes: +0
kaizen: ...
When I'm switching from one server to another, so I end up with two instances of the same site?

How do i ensure the new site gets hit instead of the old one?

Thanks for the great guide
42

report abuse
vote down
vote up
May 23, 2007
Votes: +0
labp: ...
hi, thanks a lot for this guide!!!

where is the location of table sql???

ty!
43

report abuse
vote down
vote up
May 25, 2007
Votes: +0
Martina: ...
Hi!

I have a problem. I was trying to move joomla from one local machine to another (home to work for evaluation), but when I open pages on new machine I get a ''You are not authorised to view this resource. You need to login. '' message. But I got everything set on Public.

When I login with any user I get a ''There are no items to display. '' massage on menu links made with ''Blog - Content Category''. But if I go to administration window everything is there and same as on the first computer.

What could be wrong? What did I do wrong? As i said, page is still local on both computers, export and import of the database was made with phpMyAdmin (same version on both computers), copied all files of joomla. I didn't make any changes to configuration.php because everything stayed same (the path is identical on both computers). I just can't find the problem. Any idea what the problem could be? Thank you for help.
44

report abuse
vote down
vote up
May 26, 2007
Votes: +1
Harish Dixit: ... http://www.savyinfoline.com
I am really thank full to you about this solution.
45

report abuse
vote down
vote up
May 29, 2007
Votes: +0
roctx: ... http://None
Cory, for those that have access to their server or a shell account, the following bash script will change permissions to the directory structure of a new install so that you can install Joomla! without having to manually set permissions. This is for *nix* systems only! Run this script inside the "Joomla!" directory/folder after uploading your Joomla! site and "before" you run your initial install. This will help your installation wizard go much more smoothly. Copy the contents between *** Begin *** and *** End *** into a "text" file (call it whatever you like, I call mine chmod775), then save it (no extension is required). Upload it to your server/isp and make it executable using your isp's filemanager or command line command "chmod x filename". If you have a shell account with your isp then just type the command "chmod775" or whatever name you chose. This will immediately change the permission in the directory structure as Joomla! needs them to be. Remember to change the permissions on your configuration.php file back to a more secure level when you are done (chmod 755 configuration.php). This is the only file that is not done through the script because the install wizard needs to be able to write to it first before it's changed back to a more secure level. If you install several website on occasions, this becomes a handy tool.

************ Begin ****************
#!/bin/bash
# Create the "configuration.php file, change group to "apache" and make it 775
touch configuration.php
chgrp apache configuration.php
chmod 775 configuration.php
# Change group to "apache" so apache user has RWX access
chgrp apache administrator/backups/
chgrp apache administrator/components/
chgrp apache administrator/modules/
chgrp apache administrator/templates/
chgrp apache cache/
chgrp apache components/
chgrp apache images/
chgrp apache images/banners/
chgrp apache images/stories/
chgrp apache language/
chgrp apache mambots/
chgrp apache mambots/content/
chgrp apache mambots/editors
chgrp apache mambots/editors-xtd/
chgrp apache mambots/search/
chgrp apache mambots/system/
chgrp apache media/
chgrp apache modules/
chgrp apache templates/
# Change permission to allow "apache" group RWX
chmod 775 administrator/backups/
chmod 775 administrator/components/
chmod 775 administrator/modules/
chmod 775 administrator/templates/
chmod 775 cache/
chmod 775 components/
chmod 775 images/
chmod 775 images/banners/
chmod 775 images/stories/
chmod 775 language/
chmod 775 mambots/
chmod 775 mambots/content/
chmod 775 mambots/editors
chmod 775 mambots/editors-xtd/
chmod 775 mambots/search/
chmod 775 mambots/system/
chmod 775 media/
chmod 775 modules/
chmod 775 templates/
# Change permission on configuration.php to 755

************ End ************

46

report abuse
vote down
vote up
June 01, 2007
Votes: +0
roctx: ... http://none
A few points and correction.
Correction:
The chmod command make the file executable is:
"chmod x filename". I mistyped the command in the previous post.

System used with this command:
Fedora Core 6
Ubuntu 7.0.4

Note** not all apache server run as user/group "apache:apache".
Example:
Fedora - Apache user/group is apache:apache
Ubuntu - www-data:www-data

Be sure to check and find out what user the apache service runs as and make those changes in the script.

roctx smilies/grin.gif
47

report abuse
vote down
vote up
June 01, 2007
Votes: +0
I am new to Joomla . How to load it and use it ? Can we have some chat session for the begineers in yahoo or Skype ?
48

report abuse
vote down
vote up
June 16, 2007
Votes: +0
roctx: ...
Installation guide:

http://help.joomla.org/content/view/39/132/

RocTx
49

report abuse
vote down
vote up
June 17, 2007
Votes: +0
I get this error after making the full transfer:

[Fatal error: require_once() [function.require]: Failed opening required '/includes/version.php' (include_path='.:/usr/share/php') in /www/freehyperspace.com/c/d/n/cdnytest/htdocs/joomla/includes/joomla.php on line 71]

I checked the joomla.php file and it seemed fine. Anyone know exactly what the script for the variable is so I can match it against mine? Or any other suggestions?
50

report abuse
vote down
vote up
June 20, 2007
Votes: +0
Hi Kizzer,

It looks like you need to change $mosConfig_absolute_path in your configuration.php file.

Cory
51

report abuse
vote down
vote up
June 24, 2007
Votes: +0
I'm realy enjoying jpack aka JoomlaPack.

You can find it here: http://sledge81.freehostia.com/
52

report abuse
vote down
vote up
June 25, 2007
Votes: +0
Phlea Phleadom: ...
I did the transfer of servers like this, it worked 100% and all pictures, info and links worked 100%

1. Install New installation of Joomal on new server.

2. Open the database with myphpadmin and drop all the tables.

3. Import all the tables from your database of the Joomla site you want to move.

4. Zip all the files from your existing Joomla you want to move but leave out the configuration.php file

5. Now overwrite all the files in the new Joomla installation (NOT THE CONFIGURATION.PHP)

6. Done......

Let me know if it works for you guys.... smilies/cheesy.gif
53

report abuse
vote down
vote up
July 05, 2007
Votes: +0
Phlea Phleadom: ...
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it

Email me if it works for you, I would like to know this.
54

report abuse
vote down
vote up
July 05, 2007
Votes: +0
Great post. I prefer using joomlacloner to move sites to another host.
55

report abuse
vote down
vote up
July 09, 2007
Votes: +0
Hi Cory,
Nice tutorial. but at the step 5, when i import fresh Joomla file using phpMyAdmin, i've got error message...
MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'PK
' at line 1

and i dont know what does it mean.
so up to know my site only look like this; www.joycore.eu
Any suggestions?
Thanks before
56

report abuse
vote down
vote up
July 10, 2007
Votes: +0
I wish I had seen this yesterday when I was installing Joomla on my new host! There should be a link to this article in the Joomla 1.5 install tutorial, or with the link to that tutorial on joomla.org!
57

report abuse
vote down
vote up
August 07, 2007
Votes: +0
Hi Chris,

I'm glad you found this useful. The article was written with Joomla 1.0.x in mind, but the same concepts could apply to Joomla 1.5.

Cory
58

report abuse
vote down
vote up
August 07, 2007
Votes: +0
Thanks so much, Cory! Our site is now officially switched to a new server thanks to your Step 3 advice. Our configuration.php was wrong when using JoomlaPack and we wouldn't have known to check it if not for this article. You're awesome.
59

report abuse
vote down
vote up
August 25, 2007
Votes: +0
Hi Joel & Mandy,

Thank for your comment. I'm glad you found this article useful. Your site looks very interesting. I'm a relatively new parent myself. My daughter is 20 months old, and she's quite a handful! smilies/smiley.gif

Good luck!

Cory
60

report abuse
vote down
vote up
August 25, 2007
Votes: +0
Ken: ...
I am trying to move a Mambo website to a new server and have followed your directions for a Joomla site. After uploading to the new site I am getting the following error message:

Warning: main(/htdocs/includes/version.php) [function.main]: failed to open stream: No such file or directory in /data/14/1/157/80/1320569/user/1414736/htdocs/includes/mambo.php on line 37

Fatal error: main() [function.require]: Failed opening required '/htdocs/includes/version.php' (include_path='.:/usr/services/vux/lib/php') in /data/14/1/157/80/1320569/user/1414736/htdocs/includes/mambo.php on line 37

Any idea what is wrong?

Ken
61

report abuse
vote down
vote up
September 07, 2007
Votes: +0
It looks like you did your configuration wrong. Your $mosConfig_absolute_path and $mosConfig_cache_path seem to be incorrect.

Instead of

/htdocs


you should have

/data/14/1/157/80/1320569/user/1414736/htdocs


Instead of

/htdocs/cache


you should have

/data/14/1/157/80/1320569/user/1414736/htdocs/cache


Let me know if that works.

Good luck! smilies/smiley.gif
62

report abuse
vote down
vote up
September 07, 2007
Votes: +0
Ken: ...
Cory, Thanks for that suggestion. smilies/cheesy.gif

Now I get to a screen that says :

This site is temporarily unavailable.
Please notify the System Administrator
2

I would appreciate any futher help you may have or pointing me to any online docs

Thanks,

Keh
63

report abuse
vote down
vote up
September 08, 2007
Votes: +0
Doc: ...
Thanks Cory, this is a real time saver.
I am not sure that I did it absolutely by the book however, it is working.
I downloaded the old files as you suggested, did a fresh install of Joomla first on the new server, changed the config file and uploaded the old site to the new server, overwriting the fresh install. In thinking about it, I didn't need to do the fresh install did I?
For those that do you need to empty the DB files that you created during the fresh install of Joomla on the new server. Then just import the old DB files into the empty DB
64

report abuse
vote down
vote up
October 05, 2007
Votes: +0
Hey Cory,

I'm currently creating 2 Joomla sites to convert old sites to joomla. So, I'm keeping up the old sites until I get the Joomla site design done. Now, Joomla site is in a sub directory.

When I'm ready to go live and move my Joomla installation to the main directory... what will have to be done?

I'd almost rather just pay someone to do it for both sites... how much would that run per site when each site does not have a ton of content?

Cheers

Trevor Mauch
65

report abuse
vote down
vote up
October 12, 2007
Votes: +0
Hi Trevor,

You might find this article helpful...

http://www.howtojoomla.net/content/view/28/2/

It talks about moving your site from a sub directory to the root directory. It is a pretty simple procedure, so you should not have to pay much for that if you hire someone to do it.

Good luck!
66

report abuse
vote down
vote up
October 12, 2007
Votes: +0
Thank you!
Apart from the permissions, it went like a dream.
67

report abuse
vote down
vote up
October 18, 2007
Votes: +0
Sorry wrong website posted!
68

report abuse
vote down
vote up
October 18, 2007
Votes: +0
Eugene: ...
Thanks Works 100%
69

report abuse
vote down
vote up
November 05, 2007
Votes: +0
Matt D: ...
Hey Cory, thanks for the help! I ran into some issues using phpMyAdmin to do the import; it was giving me access-denied errors. To get around it, I just copied all of the SQL out of the exported file, and pasted it right into the "SQL" tab in phpMyAdmin. Worked like a charm. Thanks again.
70

report abuse
vote down
vote up
November 10, 2007
Votes: +0
Works great!
Much better if there's a little instructions on backup-restore database part.
71

report abuse
vote down
vote up
November 18, 2007
Votes: +0
Marcus Harun: ... http://24newsnow.com
I would absolutely like to thank you for exact instructions. i have used these instruction multiple times. And I'm soo glad I was able to do it on my own...with your help.
I appreciate it very much.
Thanks
72

report abuse
vote down
vote up
December 06, 2007
Votes: +0
JoshBond007: ...
i installed an old joomla in a sub domain of my site. now i have a running joomla site on a sub directory...my question is...how can i import just the articles from the old database to the new one?
73

report abuse
vote down
vote up
December 12, 2007
Votes: +0
Hi Josh,

You need to export jos_content, jos_categories, and jos_sections from the old site and import them to the new one. Be careful that you do not have any id conflicts with the jos_content, jos_categories, and jos_sections on the new site.

Good luck!
Cory
74

report abuse
vote down
vote up
December 12, 2007
Votes: +0
shonda: ...
Hello, I am trying to install Joomla and finally thought I was done until I got this error below....I changed the name of the configuration.dst.php to configuration.php and copied all of the new files over. Is there something else I can do to get joomla working?

Warning: main(/path/to/joomla/install/includes/version.php) [function.main]: failed to open stream: No such file or directory in /home/youngcom/public_html/includes/joomla.php on line 71

Fatal error: main() [function.require]: Failed opening required '/path/to/joomla/install/includes/version.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/youngcom/public_html/includes/joomla.php on line 71
75

report abuse
vote down
vote up
December 13, 2007
Votes: +0
Looks like the path for $mosConfig_absolute_path in the configuration.php is wrong. From what you say it should be set to:

$mosConfig_absolute_path = '/home/youngcom/public_html';

76

report abuse
vote down
vote up
December 13, 2007
Votes: +0
Hi Cory
Sorry, I am using your comments as if it was a forum!
77

report abuse
vote down
vote up
December 13, 2007
Votes: +0
No problem, Nick! Thanks for answering that. You said exactly what I was going to say. smilies/smiley.gif
78

report abuse
vote down
vote up
December 13, 2007
Votes: +0
shonda: ...
Thanks for your quick response, I really appreciate it!!!

That change worked. BUT....now it says that it could not connect to the database server. I set all of that up in installation but I did notice in the config file that none of that information was in that file, it appears that all defaults are still there.

Should I attempt to go in and change it in the config file to change the mysql infomation. I already deleted the installation folder per the instructions so now I feel like I am stuck to do this manually (or I could ftp over the installation file again), only thing is I with manually updating this is that I dont know what lines of code to update. Let me know your thoughts.
79

report abuse
vote down
vote up
December 13, 2007
Votes: +0
shonda: ...
never mind, I changed the info in the config and it worked!!! I just changed the obvious from the default (sql and website name), if you guys know of something else that I should of changed let me know.
80

report abuse
vote down
vote up
December 13, 2007
Votes: +0
Reece: ...
Hi Cory,

Thanks for writing this, however i get these errors

faultCode0faultStringWarning:require_once() [function.require-once]:
Unable to access /home/vol2/webhosting4free.info/habboduluxe/htdocs/htdocs/includes/version.php
in /home/vol2/webhosting4free.info/habboduluxe/htdocs/includes/joomla.php on line
71
faultCode0faultStringWarning:require_once(/home/vol2/webhosting4free.info
/habboduluxe/htdocs/htdocs/includes/version.php) [function.require-once]:
failed to open stream: No such file or directory in
/home/vol2/webhosting4free.info/habboduluxe/htdocs/includes/joomla.php on
line 71faultCode0faultStringFatal error:require_once() [function.require]:
Failed opening required '/home/vol2/webhosting4free.info/habboduluxe/htdocs
/htdocs/includes/version.php' (include_path='.:/usr/share/php:/tmp') in /home
/vol2/webhosting4free.info/habboduluxe/htdocs/includes/joomla.php on line 71

How do i fix it?

Thanks
81

report abuse
vote down
vote up
December 30, 2007
Votes: +0
Reece: ...
This has now been fixed. i had 2 htdocs

Have a great new Year smilies/smiley.gif
82

report abuse
vote down
vote up
December 30, 2007
Votes: +0
admin12: ... http://atlantic.net
Cory... you rock!!!
instructions worked perfect!!

many thanks!
83

report abuse
vote down
vote up
January 02, 2008
Votes: +0
Thanks a lot! It was easy, and worked fine! I am glad to have found your script!
:-)
Greetings from Budapest,

Tamas
84

report abuse
vote down
vote up
January 29, 2008
Votes: +0
absolutley brilliant tutorial!
85

report abuse
vote down
vote up
February 02, 2008
Votes: +0
I just installed joomla with apache, mysql and php, it works fine for a single website.
I got three different websites and would like to have separate joomla
for each website.

Can someone please help or redirect me to some online tutorial.

Regards,
86

report abuse
vote down
vote up
February 15, 2008
Votes: +0
Hi sayeed,

To install multiple instances of Joomla on the same server, you simply upload your Joomla files to separate folders and install them like normal. If you are using the same database for each site, you will need to use a different table prefix for each. You should see that option when you are installing.

Good luck!
87

report abuse
vote down
vote up
February 15, 2008
Votes: +0
Thanks really helped me
88

report abuse
vote down
vote up
February 26, 2008
Votes: +0
Thank you for this tutorial...
It's very useful smilies/smiley.gif
89

report abuse
vote down
vote up
February 29, 2008
Votes: +0
M: ...
Well this looks useful but one problem Im getting is in regards to servage. No one at Joomla forums seems to have an answer:

http://forum.joomla.org/viewtopic.php?f=430&t=272408
90

report abuse
vote down
vote up
March 10, 2008
Votes: +0
Shawn: ...
I know my issue is username/password related. But could you also do a tutorial like this for Joomla 1.5.1 Stable? The config.php file structure is different than 1.0.
91

report abuse
vote down
vote up
March 24, 2008
Votes: +0
Perfect, it worked great!
92

report abuse
vote down
vote up
April 04, 2008
Votes: +0
How would one add a marker or link to a content item so that when a user clicks on that item the page scrolls down the page to the apporpriate item? I am aware how to create a link but I am not sure that is what I am looking for. Thanks
93

report abuse
vote down
vote up
April 11, 2008
Votes: +0
Thank you!
There is a more detailed tutorial over here:

http://www.joomlaspots.com/Tutorials/Smart-and-Fast/Joomla-Tutorial.html
94

report abuse
vote down
vote up
April 13, 2008
Votes: -1
Sakeenah: ...
this is a great tutorial thank you but its hard to read since the text has to be reduced very small to read all of it,.
95

report abuse
vote down
vote up
April 19, 2008
Votes: +0
Hi, just let you know.
I used mac and firefox 2.0.0.14 as browser. the right side of your site is cutted off,
i mean, your content not really floated to the right side, so i couldn't read every line completly. at least it make difficult to understand your tutorial. just like cut off on the