xoops forums

deadface

Just popping in
Posted on: 2006/3/3 7:28
deadface
deadface (Show more)
Just popping in
Posts: 9
Since: 2005/2/12
#11

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

I have site at the same sever (home.pl) and here is my part of my config file
define('XOOPS_ROOT_PATH', '/');
define('XOOPS_URL', 'http://www.<censored>.pl');

btw problem is not only with XOOPS also joomla and other cms

the same in polish bo tak mi jest latwiej
jak juz napisalem w mainfile.php mam zmienione XOOPS_ROOT_PATH na / to jest jedyny sposob kiedy strona dziala oczywiscie jesli zmienie /<nazwa> to moge wchodzic przez http://login.home.pl/<nazwa> ale nie mozna przekierowac domeny. Jesli zadziala w ten sposob (http://www.domena.pl) to nie dziala na odwrot (http://login.home.pl/domena)

dap997

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

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

Hi all,
thanks for any help :)

@davidl2
Sorry for some strange words, but our useally place to such info was down.

Ok it was to errors (for me dba) very hard to find.

Short
1) define('XOOPS_ROOT_PATH', '/') ;)
2) # is not // in PHP ;)

Long
1) for mirc.home.pl/xoops XOOPS_ROOT_PATH should be '/xoops'
for xoops.pl XOOPS_ROOT_PATH should be '/'

2) on such definition
#define('XOOPS_URL', 'http://www.<censored>.pl');
define('XOOPS_URL', 'http://www.<cen>.pl');

XOOPS_URL will be http://www.<censored>.pl right?


With this 2 errors I was complety lost, but now its work...

dap

davidl2

XOOPS is my life!
Posted on: 2006/3/8 17:43
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#13

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

JA jestem zadowolone wy otrzymywaliście (dostał się) waszą kwestię rozwiązał (rozwiązany)

(Which I think badly translates to: I'm glad you got your problem solved.)