PEAK XOOPS - Problem in 2.9.2 with AutoLogin in englishin japanese

Problem in 2.9.2 with AutoLogin

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2005/2/27 21:03
skara  °ìÅùʼ   Posts: 12
i made the installation and i recieve in PHP debug mode this errors trying access the user.php:
Warning [PHP]: session_start(): Cannot send session cookie - headers already sent by (output started at /home/sites/xxxxx.com/httpdocs/language/english/global.php:1) in file include/common.php line 185
Warning [PHP]: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sites/xxxxx.com/httpdocs/language/english/global.php:1) in file include/common.php line 185

Warning [PHP]: Cannot modify header information - headers already sent by (output started at /home/sites/xxxxx.com/httpdocs/language/english/global.php:1) in file user.php line 60

Without PHP debug i receive white page...

Any help please?
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/2/28 0:56
pmhoran  ¸àĹ From: Prince Edward Island, Canada , Canada  Posts: 52
I am a newbie (sort of) ... and forgive my presumption ... but are you sure you followed ALL the install steps verbatim?

I installed it last week and I could not get it to work ... and I tried it 3 times. The 4th time I realized I missed one little wee instruction ... and when I did it that time it worked perfectly.

If memory serves me right ... I think I was forgetting to update the system module.

HTH
Peter
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/2/28 16:10
irmtfan  »°Åù·³Áâ   Posts: 96
it seems you corrupt the lang file.
please check the language/english/global.php with a php editor

Votes:14 Average:5.71
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/1 2:00
skara  °ìÅùʼ   Posts: 12
Maybe u r right because i use UTF-8 in my site and i have to change the headers of the file evrytime i do any changes...
Thanx i;ll try again today..
-S
Votes:7 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/2 18:07
GIJOE  ÀèǤ·³Áâ   Posts: 4110
As irmtfan wrote, it might be caused by editing langauge files wrongly.

How to find "the wrong point":

- turn "PHP debug" on.
- set "Module for your start page" none
- edit index.php like this
/**
 * redirects to installation, if xoops is not installed yet
 **/
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";
	header('');
	include "footer.php";
}
?>


You get warning.
It tells us which file is wrong.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/3/11 6:39
Niekon  ÆóÅùʼ   Posts: 2
I didn't want to start a new thread for an issue I am coming across... and this one seems to be the closest to the issue I am having.

I recently installed this hack and now the "View Account" link seems to be a dead link.
I've gone and turned on PHP Debug and then clicked the link again and got the following message:
Warning {PHP}: Cannot modify header information - headers already sent by (output started at /home/distincw/public_html/mainfile.php:101) in file user.php line 60

I not only overwrote the oringal user.php file, but I deleted the original and uploaded the newer one that was included within the hack.
Any assistance is appreciated ^_^


EDIT: disregard... it seems to have fixed itself when I turned on Custom Sessions O_o
That was overly weird...
Votes:6 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2005/3/16 18:43
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi Niekon.

The error message just says check line 101 of mainfile.php

Perhaps, you've added another LF the bottom of mainfile.php

I don't know the sentence after EDIT.
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!