1
ali44
Problem with restoring database
  • 2005/2/11 10:31

  • ali44

  • Just popping in

  • Posts: 86

  • Since: 2004/5/24


While calling in the mainfile.php
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
    
define("XOOPS_MAINFILE_INCLUDED",1);

    
// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    
define('XOOPS_ROOT_PATH''/what/should/go/here');
//    define('XOOPS_ROOT_PATH', '/what/different/here');


The two XOOPS_ROOT_PATH what should it be and can I be the same? I was able to find the fist but don't know how on the second line. It works ok before but now I changed server so the path to the html has been changed, which I found and put in the first XOOP_ROOT_PATH but I have no idea what to put in the second. Please help
Thanks a lot

2
Dave_L
Re: Problem with restoring database
  • 2005/2/11 11:57

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


There should only be one XOOPS_ROOT_PATH, but there's also a XOOPS_URL:

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', '/path/to/xoops/directory');
define('XOOPS_ROOT_PATH''');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://url_to_xoops_directory');
define('XOOPS_URL''http://');

3
carnuke
Re: Problem with restoring database
  • 2005/2/11 12:03

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


You may find this FAQ onPhysical and virtual paths helpful.

Login

Who's Online

347 user(s) are online (286 user(s) are browsing Support Forums)


Members: 0


Guests: 347


more...

Donat-O-Meter

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

Latest GitHub Commits