Re: [tanya-jawab] session di apache

2005-12-05 Terurut Topik ade gunawan
terima kasih semua, nti aku coba lagi...
- Original Message -
From: "Donny Kurnia" <[EMAIL PROTECTED]>
To: 
Sent: Monday, December 05, 2005 9:49 PM
Subject: Re: [tanya-jawab] session di apache


On 12/5/05, ade gunawan <[EMAIL PROTECTED]> wrote:
> dear temans
>
> aku lagi ngoprek Mambo untuk apliaksi tertentu base on web. setelah aku
> otak-atik ada errorr , efeknya user login harus dua kali baru bisa masuk
ke
> main web. kira2 apa ya?
>
>
> tail -f error_log
>
> [client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
> cookie - headers already sent by (output started at
> /var/www/html/web/oper/index.php:30) in /var/www/html/web/oper/index.php
on
> line 98, referer:
> http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php

Lihat file index.php, pada baris 30 seperti yang dikatakan error
tersebut. Jika pada baris tersebut adalah perintah include atau
require, lihat file yang di include tersebut. Editor yang kurang baik
kadang menambahkan baris baru diakhir file (setelah tanda ?>) sehingga
akan dianggap telah ada output. Hal ini mencegah jalannya perintah
session_start()

> [client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
> cache limiter - headers already sent (output started at
> /var/www/html/web/oper/index.php:30) in /var/www/html/web/oper/index.php
on
> line 98, referer:
> http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php

--
Donny Kurnia
http://hantulab.multiply.com/
http://hantulab.blogspot.com/
---
At times the world can seem an unfriendly and sinister place. But
believe us when we say there is much more good in it than bad. And
what might seem to be a series of unfortunate events, may in fact, be
the first steps of a journey.
-- A Series of Unfortunate Events

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis



-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis



Re: [tanya-jawab] session di apache

2005-12-05 Terurut Topik Donny Kurnia
On 12/5/05, ade gunawan <[EMAIL PROTECTED]> wrote:
> dear temans
>
> aku lagi ngoprek Mambo untuk apliaksi tertentu base on web. setelah aku
> otak-atik ada errorr , efeknya user login harus dua kali baru bisa masuk ke
> main web. kira2 apa ya?
>
>
> tail -f error_log
>
> [client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
> cookie - headers already sent by (output started at
> /var/www/html/web/oper/index.php:30) in /var/www/html/web/oper/index.php on
> line 98, referer:
> http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php

Lihat file index.php, pada baris 30 seperti yang dikatakan error
tersebut. Jika pada baris tersebut adalah perintah include atau
require, lihat file yang di include tersebut. Editor yang kurang baik
kadang menambahkan baris baru diakhir file (setelah tanda ?>) sehingga
akan dianggap telah ada output. Hal ini mencegah jalannya perintah
session_start()

> [client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
> cache limiter - headers already sent (output started at
> /var/www/html/web/oper/index.php:30) in /var/www/html/web/oper/index.php on
> line 98, referer:
> http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php

--
Donny Kurnia
http://hantulab.multiply.com/
http://hantulab.blogspot.com/
---
At times the world can seem an unfriendly and sinister place. But
believe us when we say there is much more good in it than bad. And
what might seem to be a series of unfortunate events, may in fact, be
the first steps of a journey.
-- A Series of Unfortunate Events

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis



Re: [tanya-jawab] session di apache

2005-12-04 Terurut Topik avudz
DH ade,

Monday, December 5, 2005, 11:50:56 AM, you wrote:

ag> dear temans

ag> aku lagi ngoprek Mambo untuk apliaksi tertentu base on web. setelah aku
ag> otak-atik ada errorr , efeknya user login harus dua kali baru bisa masuk ke
ag> main web. kira2 apa ya?


ag> tail -f error_log

ag> [client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
ag> cookie - headers already sent by (output started at
ag> /var/www/html/web/oper/index.php:30) in
ag> /var/www/html/web/oper/index.php on
ag> line 98, referer:
ag> http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php
ag> [client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
ag> cache limiter - headers already sent (output started at
ag> /var/www/html/web/oper/index.php:30) in
ag> /var/www/html/web/oper/index.php on
ag> line 98, referer:
ag> http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php


--- hmm.. aneh juga ya, itu berarti ID nya di anggap masih aktif dan
tidak perlu login lagi karena sudah di anggap aktif sampai masa yang
di izinkan oleh si mambo. coba test hapus dulu SID nya dengan fungsi
session_destroy, manual lengkap nya bisa dilihat di id.php.net, atau
liat sekuriti browser nya atau coba2 ganti browser lain deh.

sorry ga bisa nolong banyak, install mambo juga baru sekali :)




-- 
Best regards,
  ./avd   Blog @  http://www.avudz.cc


-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis



[tanya-jawab] session di apache

2005-12-04 Terurut Topik ade gunawan
dear temans

aku lagi ngoprek Mambo untuk apliaksi tertentu base on web. setelah aku
otak-atik ada errorr , efeknya user login harus dua kali baru bisa masuk ke
main web. kira2 apa ya?


tail -f error_log

[client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
cookie - headers already sent by (output started at
/var/www/html/web/oper/index.php:30) in /var/www/html/web/oper/index.php on
line 98, referer:
http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php
[client 192.168.0.xxx] PHP Warning:  session_start(): Cannot send session
cache limiter - headers already sent (output started at
/var/www/html/web/oper/index.php:30) in /var/www/html/web/oper/index.php on
line 98, referer:
http://dcsontheweb.plant.tripolyta.com:8080/web/oper/index.php






-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis