1
vinit
URGENT - Broke Xoops redirection
  • 2004/7/7 16:04

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hi,

i was able to access my site using http://www.foo.com/xoops/html/
i dont know what mess i made, now that link doenst work rahter i have to give http://www.foo.com/xoops/html/modules/news

the by default redirection has broken down. can anyone tell me how to get it up again as soon as possible.

Vinit

2
Bender
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 16:12

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10



The second link doesn´t work either. (?)

For the first one: did you delete index.php file from your XOOPS root dir?

3
vinit
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 16:15

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


blender foo.com is just an example

well index.php is there in xoops/html directory

Edit*

If i go to sytem ->prefernces and set the opening module to none than it works fine but if i set it news, it breaks down.

this was working earlier. dont know why it broke off

4
vinit
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 17:27

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hellooooooooooooooo can someone help me out plz, my site is down due to this :(

5
tl
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 17:34

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Want quick help? Suggestions:
1) turn debug on
2) provide a link to your sites, so people can see what exactly your problems are.

6
vinit
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 17:43

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


I am getting the following error om my page when set debug on for PHP

Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/foo/public_html/xoops/html/mainfile.php:84) in file index.php line 39

and this all that i have in index.php

include "mainfile.php";

//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
exit();
} else {
$xoopsOption['show_cblock'] =1;
include "header.php";
include "footer.php";
}

7
tl
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 17:48

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


check your index.php and mainfile.php to see if there is whitespace
after
?> (cursor should stop here, not a line or lines below, use backspace to remove the space, if there is any)


8
tjnemez
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 19:03

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


are you sure your site has not been jacked? as tl notes it would be better if you provided links to your sites.

edit: is this your domain? http://www.foo.com/

9
vinit
Re: URGENT - Broke Xoops redirection
  • 2004/7/7 20:04

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


i got it fixed thanks tl

Login

Who's Online

438 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 438


more...

Donat-O-Meter

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

Latest GitHub Commits