1
doctorarjona
Problems wlth migration

Really people, I can`t solve this problem, I read every documentation, FAQ, and I can`t get it...

This is the problem: I migrate my site to a new hosting, I move the hole files, import my database, but the problem is in my mainfile.php:

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', '/var/www/html/periodistas-online.com.ar/htdocs');
define('XOOPS_ROOT_PATH', '/periodistas-online.com.ar.elserver.com/htdocs');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://www.periodistas-online.com.ar');
define('XOOPS_URL', 'http://periodistas-online.com.ar.elserver.com/htdocs');

this is my server name: http://periodistas-online.com.ar.elserver.com

my XOOPS directory: htdocs

I change the old values with the new ones, but it didn`t work, this is error message: XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.

HELP!

2
doctorarjona
Re: Problems wlth migration

I change the paths..but...THIS????

Warning: main(www/periodistas-online.com.ar/htdocs/include/common.php): failed to open stream: No such file or directory in /www/periodistas-online.com.ar/htdocs/mainfile.php on line 102

Warning: main(www/periodistas-online.com.ar/htdocs/include/common.php): failed to open stream: No such file or directory in /www/periodistas-online.com.ar/htdocs/mainfile.php on line 102

Warning: main(): Failed opening 'www/periodistas-online.com.ar/htdocs/include/common.php' for inclusion (include_path='./:/usr/local/php4/lib/php') in /www/periodistas-online.com.ar/htdocs/mainfile.php on line 102

Warning: main(www/periodistas-online.com.ar/htdocs/class/xoopsblock.php): failed to open stream: No such file or directory in /www/periodistas-online.com.ar/htdocs/header.php on line 29

Warning: main(): Failed opening 'www/periodistas-online.com.ar/htdocs/class/xoopsblock.php' for inclusion (include_path='./:/usr/local/php4/lib/php') in /www/periodistas-online.com.ar/htdocs/header.php on line 29

Fatal error: Call to a member function on a non-object in /www/periodistas-online.com.ar/htdocs/header.php on line 35


HELP!

3
m0nty
Re: Problems wlth migration
  • 2006/9/30 4:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


it needs to be the full path. not a virtual path.

also after changing the paths in mainfile.php, you should also clear templates_c folder.

4
doctorarjona
Re: Problems wlth migration

yes, I cleared the folder templates_c

I copied the folder install to /htdocs, and the installation shows me the virtual path and url path, so I modified

the phisical path is /www/periodistas-online.com.ar/htdocs
an the virtual is http://periodistas-online.com.ar.elserver.com

when I change this values, a page shows me new errors, like
the common.php and others

why?

5
Bender
Re: Problems wlth migration
  • 2006/9/30 7:29

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Can you run this file inside your actual rootpath to see what it gives you?

echo "Your root path is ".str_replace("\","/",getcwd())."";
?>
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

6
doctorarjona
Re: Problems wlth migration

OK, tell me, this file have to be inside on the mainfile.php or create a new archive outside my filesystem in my server?

I know the virtual and phisical path but...

I installed a new XOOPS in my server and the installation was ok. I copied the virtual and phisical path to my migration site, so I don`t know if my errors is in the mainfile of inside the database...

any ideas?

7
jdseymour
Re: Problems wlth migration

If you installed another XOOPS it will be on a different path.

Why not just install your XOOPS from scratch? when it works import your database backup.

Login

Who's Online

469 user(s) are online (359 user(s) are browsing Support Forums)


Members: 0


Guests: 469


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