1
dap997
Strange behavior - polish support site [urgent...]
  • 2006/2/26 17:25

  • dap997

  • Friend of XOOPS

  • Posts: 37

  • Since: 2005/2/20


I have moved polish support XOOPS site to another hosting.

It work with this urlhttp://mirc.home.pl/xoops (without problems)
but when I change tohttp://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

2
rowdie
Re: Strange behavior - polish support site [urgent...]
  • 2006/2/26 17:45

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


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.

3
dap997
Re: Strange behavior - polish support site [urgent...]
  • 2006/2/26 17:54

  • dap997

  • Friend of XOOPS

  • Posts: 37

  • Since: 2005/2/20


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 tohttp://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

4
rowdie
Re: Strange behavior - polish support site [urgent...]
  • 2006/2/26 18:04

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


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

5
dap997
Re: Strange behavior - polish support site [urgent...]
  • 2006/2/26 18:17

  • dap997

  • Friend of XOOPS

  • Posts: 37

  • Since: 2005/2/20


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

6
Daniels
Re: Strange behavior - polish support site [urgent...]
  • 2006/2/28 8:06

  • Daniels

  • Just popping in

  • Posts: 3

  • Since: 2006/2/15


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

7
dap997
Re: Strange behavior - polish support site [urgent...]
  • 2006/2/28 14:37

  • dap997

  • Friend of XOOPS

  • Posts: 37

  • Since: 2005/2/20


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

8
jagibu
Re: Strange behavior - polish support site [urgent...]
  • 2006/3/1 0:04

  • jagibu

  • Just popping in

  • Posts: 68

  • Since: 2005/6/17


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)
www.artcode.eu
www.polfran.pl
www.sitkowskibor.pl

9
Daniels
Re: Strange behavior - polish support site [urgent...]
  • 2006/3/1 10:07

  • Daniels

  • Just popping in

  • Posts: 3

  • Since: 2006/2/15


W pełni się zgadzam.

10
davidl2
Re: Strange behavior - polish support site [urgent...]
  • 2006/3/1 10:28

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


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

(Please can you also talk in English? Thanks )

Login

Who's Online

188 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits