1
barbary
How do I clone a Xoops install?
  • 2005/5/26 19:38

  • barbary

  • Just popping in

  • Posts: 39

  • Since: 2005/1/15


I'd like to take an existing modded XOOPS install, and clone it. I have created a new mySQL db, but not sure what next..

Do I just make a copy of the root XOOPS directory, and point it to the new DB somehow?

Cheers,
barbary

2
DonXoop
Re: How do I clone a Xoops install?

To be complete you'll want to clone the db as well (or it won't know about the installed modules and settings etc). Then just change the appropriate details in the /mainfile.php file and it should work. Similar to moving a site to another server.

3
barbary
Re: How do I clone a Xoops install?
  • 2005/5/26 20:33

  • barbary

  • Just popping in

  • Posts: 39

  • Since: 2005/1/15


Ok, so I exported the SQL from my existing mySQL db, created a new mySQL db, and copied the SQL into the new DB...

Any idea why I got this error??

---------------------
Error

SQL-query :

DATABASE barbarybeats_com_ - _xoops -2092running ON localhost CREATE TABLE `xoops_avatar` (
`avatar_id` mediumint( 8 ) unsigned NOT NULL AUTO_INCREMENT ,
`avatar_file` varchar( 30 ) NOT NULL default '',
`avatar_name` varchar( 100 ) NOT NULL default '',
`avatar_mimetype` varchar( 30 ) NOT NULL default '',
`avatar_created` int( 10 ) NOT NULL default '0',
`avatar_display` tinyint( 1 ) unsigned NOT NULL default '0',
`avatar_weight` smallint( 5 ) unsigned NOT NULL default '0',
`avatar_type` char( 1 ) NOT NULL default '',
PRIMARY KEY ( `avatar_id` ) ,
KEY `avatar_type` ( `avatar_type` , `avatar_display` )
) TYPE = MYISAM AUTO_INCREMENT =1

MySQL said:
#1064 - You have an error in your SQL syntax near 'Database barbarybeats_com_-_xoops-2092 running on localhost

CREATE TABLE `xoo' at line 1
---------------------

4
barbary
Re: How do I clone a Xoops install?
  • 2005/5/26 20:48

  • barbary

  • Just popping in

  • Posts: 39

  • Since: 2005/1/15


Ok, I got the SQL to work now.. no worries!

Login

Who's Online

137 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

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

Latest GitHub Commits