Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4
Author Message
dobbelina
Hangin' Around



Joined: Jul 21, 2004
Posts: 47

PostPosted: Thu Aug 12, 2004 10:17 pm Reply with quote

Hi!
I have been working extensively to solve a login problem that some of my users
experience when trying to access my site.
Some users can login without problems,while others cant?
Sometimes people can login and gets taken to "my account",but in there
it says "userstatus=offline" and they cant go any further.
By reading the error log i have narrowed it down to something about cookies.
Could some genius here please tell me what this error log is telling me.
All these lines/errors has to do with cookie authentication:

[Thu Aug 12 20:53:53 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/page_header.php on line 495
[Thu Aug 12 20:53:53 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/page_header.php on line 494
[Thu Aug 12 20:53:53 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/page_header.php on line 492
[Thu Aug 12 20:53:46 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/sessions.php on line 223
[Thu Aug 12 20:53:46 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/sessions.php on line 222
[Thu Aug 12 20:34:20 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/sessions.php on line 342
[Thu Aug 12 20:34:20 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/link/public_html/nuke3/header.php:32) in /home/link/public_html/nuke3/includes/sessions.php on line 341

The server i'm using is Apache 1.3.31 (Unix) running under linux,and i'm using nuke v7.4
 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Fri Aug 13, 2004 12:03 am Reply with quote

Try any of the options offered at [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Visit poster's website
dobbelina







PostPosted: Fri Aug 13, 2004 12:32 am Reply with quote

Ok,i'll try to add "PHP_FLAG output_buffering on" in my htaccess file and see if
it helps.
Another strange thing that happens on my site is that the security code keeps
popping up and dissapearing,this inspite of the fact that i have this line in
my config: $gfx_chk = 7;
Sometimes it's there,and sometimes it's not?
Do you think this is the reason why so many of my users have login problems?
And by the way thanks for replying Very Happy
 
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Fri Aug 13, 2004 12:23 pm Reply with quote

Could be or could be they aren't putting their username or password in the same case as they created it in.

Nothing shows in the error log regarding the graphic missing?

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
dobbelina







PostPosted: Fri Aug 13, 2004 10:48 pm Reply with quote

Wow,something definitively changed when adding that "output buffering" line to
htaccess.
Some people have already contacted me and said their login problems are gone.
The errors are also gone from the error log.(didn't say anything about missing graphics in security code) Very Happy
And the security code is back!!!
Have to give it a day or two before bringing out the champagne, but i think the problem is gone!!
Thanks a million chatserv Exclamation

ps.actually the security code popped back after i commented out this two lines in
includes/page_header.php
Code:


// Add no-cache control for cookies if they are set
//<-(i took away this two lines)$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';

I don't know if that's advisable to do or not,but when i did this the security code popped back?
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©