1
limecity
Moving site to sub domain
  • 2010/6/25 10:26

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Hi,

I got confuse with the new system of xoops ever since the xoops_data / lib / protector came in bundle with it.

It used to be straight forward when moving site. Just make changes to mainfile.php.


Now, i can't find my information in mainfile.php. I forgot which database i used / prefix / password.

Which file can I find those information?

I need to move my site to a sub domain.
hhttp://www.mounthiking.com
all your hiking gears and gadgets


2
jlm69
Re: Moving site to sub domain
  • 2010/6/25 12:56

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


All of that info is still in mainfile.php or at least it should be.

John

3
culex
Re: Moving site to sub domain
  • 2010/6/25 14:49

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


In mainfil.php you finde

Xoops Library definition like this

le="color: #000000"><?php // Physical path to the XOOPS library directory WITHOUT trailing slash define( 'XOOPS_PATH', '/customers/yoursite.dk/yoursite.dk/httpd.www/whateverUchoose' );


Xoops_data like this

le="color: #000000"><?php // Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash define( 'XOOPS_VAR_PATH', '/customers/yoursite.dk/yoursite.dk/httpd.www/WhateverUchoose' );


And database prefix like this
le="color: #000000"><?php define( 'XOOPS_DB_PREFIX', 'Example_prefix_Xoops' );


Programming is like sex:
One mistake and you have to support it for the rest of your life.