1
hedgy
Local site works. How do I transfer to webhost?
  • 2004/5/19 12:05

  • hedgy

  • Just popping in

  • Posts: 4

  • Since: 2004/5/19


I have XOOPS installed on my PC and have created a site. I also have domain space at a webhost. What's the procedure for getting my site online at the host?

1 Do I have to follow the XOOPS install procedure on the webhost first. (Or will the following steps suffice?)

2 ftp some directories (which ones?)
3 copy the MySQL database to the host
4 amend XOOPS system files to find them.

I'm sure I have to do steps 3 and 4 above. But is step 1 necessary? And which directories should I ftp in step 2?


2
Mithrandir
Re: Local site works. How do I transfer to webhost?

1. FTP the entire local XOOPS directory to the webhost
2. Import the entire MySQL database into the database on the host
3. Modify mainfile.php from your local installation to fit the new URL, path and database details
4. Upload mainfile.php and write-protect it
5. Write-enable the cache, templates_c and uploads folders

All the installation does is fill the correct details into the mainfile.php and create the tables, but since you already have that more or less, you should not do it that way.

3
JoDee
Re: Local site works. How do I transfer to webhost?
  • 2004/5/20 16:44

  • JoDee

  • Just popping in

  • Posts: 26

  • Since: 2004/5/9 2


Ok would the same apply just change mainfile.php if you where changing it from one domainhttp://www.jodee.biz/xoops/html/modules/articles/ to anotherhttp://www.jodeewebhosting.com/modules/articles/
as I want to use the article module from one domain on another

4
Bender
Re: Local site works. How do I transfer to webhost?
  • 2004/5/20 17:03

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


You mean by transfering everything like before? Yes.

But you should update all modules after the transfer.
(Administration - Modules - Update) (Not uninstalling)

5
JoDee
Re: Local site works. How do I transfer to webhost?
  • 2004/5/20 18:38

  • JoDee

  • Just popping in

  • Posts: 26

  • Since: 2004/5/9 2


Ok ?? how to I get the msq db from one domain to another do I use php my admin and download to my pc then up to my other site or what

6
Bender
Re: Local site works. How do I transfer to webhost?
  • 2004/5/20 19:49

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Right thats one way you could go.

If your database is not too big it should work. Sometimes phpmyadmin chokes on bigger databases. Then you could either use a script or other tools.

If it is not that large you just enter phpmyadmin.
Select your database name in the left frame.

Then:
- click 'Export' on the top
- select 'structure and data'
- click 'select all' if there is nothing in the database that should not be exported (otherwise you have to mark the ones you want to export by hand.
- select 'save as file' (optionally gzipped if you want)
and save the file.

For restore on the other machine just

- open phpmyadmin
- select your database name in the left frame.
- select 'SQL' on the top of the right frame
- scroll down to the 'choose' button and klick that
- select the backup file on your hard disk
- select compression if used before
- click 'go' to start the import

and you should be done.

7
JoDee
Re: Local site works. How do I transfer to webhost?
  • 2004/5/20 23:14

  • JoDee

  • Just popping in

  • Posts: 26

  • Since: 2004/5/9 2


Thank you it worked now to convert cgi to php

Login

Who's Online

230 user(s) are online (171 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

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

Latest GitHub Commits