xoops forums

dap997

Friend of XOOPS
Posted on: 2006/2/26 17:25
dap997
dap997 (Show more)
Friend of XOOPS
Posts: 37
Since: 2005/2/20
#1

Strange behavior - polish support site [urgent...]

I have moved polish support XOOPS site to another hosting.

It work with this url http://mirc.home.pl/xoops (without problems)
but when I change to http://www.xoops.pl i have only this massage


Warning: main(/xoops/include/common.php): failed to open stream: No such file or directory in /mainfile.php on line 97

Warning: main(): Failed opening '/xoops/include/common.php' for inclusion (include_path='.:/:/usr/pear') in /mainfile.php on line 97

Warning: main(/xoops/class/xoopsblock.php): failed to open stream: No such file or directory in /header.php on line 30

Warning: main(): Failed opening '/xoops/class/xoopsblock.php' for inclusion (include_path='.:/:/usr/pear') in /header.php on line 30

Warning: main(/xoops/class/template.php): failed to open stream: No such file or directory in /header.php on line 64

Fatal error: main(): Failed opening required '/xoops/class/template.php' (include_path='.:/:/usr/pear') in /header.php on line 64


I think that mayby this file are accessible only for request mirc.home.pl not for request from xoops.pl?

It ist possible?
How can I correct it?

Many thanks for any help.

dap997

rowdie

Just can't stay away
Posted on: 2006/2/26 17:45
rowdie
rowdie (Show more)
Just can't stay away
Posts: 846
Since: 2004/7/21
#2

Re: Strange behavior - polish support site [urgent...]

Did you change XOOPS_ROOT_PATH and XOOPS_URL in mainfile.php to the new location?

The file can't be found, so either the files aren't there or the script is looking for them in the wrong location.

dap997

Friend of XOOPS
Posted on: 2006/2/26 17:54
dap997
dap997 (Show more)
Friend of XOOPS
Posts: 37
Since: 2005/2/20
#3

Re: Strange behavior - polish support site [urgent...]

Hi Rowdie,

thanks for prompt Answer.

Yes I have change XOOPS_URL - the XOOPS_ROOT_PATH it the same.

With this settings it work without problems.

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://xoops.pl');
define('XOOPS_URL', 'http://mirc.home.pl/xoops');
#define('XOOPS_URL', 'http://www.xoops.pl');

With this not :(

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://xoops.pl');
#define('XOOPS_URL', 'http://mirc.home.pl/xoops');
define('XOOPS_URL', 'http://www.xoops.pl');

This is only one change that I made.

If you go to http://mirc.home.pl/xoops you can see that script work (site at work message).
But when you go direct to xoops.pl - it bringt only errors.

Thanks
dap

rowdie

Just can't stay away
Posted on: 2006/2/26 18:04
rowdie
rowdie (Show more)
Just can't stay away
Posts: 846
Since: 2004/7/21
#4

Re: Strange behavior - polish support site [urgent...]

Are you sure the XOOPS_ROOT_PATH should be the same? I would have expected it to be different.

dap997

Friend of XOOPS
Posted on: 2006/2/26 18:17
dap997
dap997 (Show more)
Friend of XOOPS
Posts: 37
Since: 2005/2/20
#5

Re: Strange behavior - polish support site [urgent...]

Hmm I suppose no.
It is the same physical server.
We have 2 domains:
mirc.home.pl -> / (other site)
and xoops.pl -> /xoops/ (xoops - which do not work with define('XOOPS_URL', 'http://www.xoops.pl'); )
so
mirc.home.pl/xoops -> /xoops (xoops - which work, with define('XOOPS_URL', 'http://mirc.home.pl/xoops'); )

dap

Daniels

Just popping in
Posted on: 2006/2/28 8:06
Daniels
Daniels (Show more)
Just popping in
Posts: 3
Since: 2006/2/15
#6

Re: Strange behavior - polish support site [urgent...]

Did you install a brand new system or did you only a copy of files, and then you upload all files on new host?

dap997

Friend of XOOPS
Posted on: 2006/2/28 14:37
dap997
dap997 (Show more)
Friend of XOOPS
Posts: 37
Since: 2005/2/20
#7

Re: Strange behavior - polish support site [urgent...]

Hallo Daniels

It ist not new installation. I have copy all files to server and it work with this url: http://mirc.home.pl/xoops, but do not work with www.xoops.pl (now is here info site).

dap997

jagibu

Just popping in
Posted on: 2006/3/1 0:04
jagibu
jagibu (Show more)
Just popping in
Posts: 68
Since: 2005/6/17
#8

Re: Strange behavior - polish support site [urgent...]

Jesli masz zrzut bazy banych, wykonaj nowa instalacje spod linku xoops.pl a nie mirc.home.pl - jesli bedzie dzialalo, trzeba bedzie importowac backup bazy , ale bez tabeli xoops_config i xoops_session ( choc moze i kilku innych - juz nie pamietam, bo dawno robilem )

- davidl2, Sprawiać przyjemność, my także kiepsko mówią po angielski ;)

If You have backup of old the base, then make pure new instalation, but from url xoopls.pl , not from url mirc.home.pl - if all will be good working, then make sql import of the base without tables xoops_config and xoops_session ( may be some other, too - I have't in mind)

Daniels

Just popping in
Posted on: 2006/3/1 10:07
Daniels
Daniels (Show more)
Just popping in
Posts: 3
Since: 2006/2/15
#9

Re: Strange behavior - polish support site [urgent...]

W pełni się zgadzam.

davidl2

XOOPS is my life!
Posted on: 2006/3/1 10:28
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#10

Re: Strange behavior - polish support site [urgent...]

Sprawiać przyjemność (proszę) może wy także mówią w Języku angielskim?

(Please can you also talk in English? Thanks )