ProFTPd Admin

Sign in or create your account | Project List | Help

Issue 7: userView session problem

Reported by Guillermo Marco, Apr 26, 2011

I'm testing my proftpd setup on another machine and i'm getting this 
error on userView/index.php

Warning: session_start() [function.session-start]: Cannot send 
session cache limiter - headers already sent (output started at 
/var/www/userView/index.php:24) in /var/www/userView/index.php on 
line 34

I can login correctly on admin/index.php and userView/index.php but 
i get this rare message on userView/index.php

Comment 1 by Dennis Pielken, Apr 26, 2011

What Version are you running 1.3.0 1.4.0Beta, the master branch? 
Furthermore, on what system ware you running this test? 

Can you please look into the logs of your webserver (error logs) if 
any errors are written when this Warning occurs.
 
Thanks!

Comment 2 by Guillermo Marco, Apr 26, 2011

I'm running 1.4.0 Beta, my test server is Debian Lenny.

Error is gone after i did apt-get update, apt-get upgrade :S.
I think php update solved it for sure.

Comment 3 by Guillermo Marco, Apr 26, 2011

And now message is back again, this is so so weird omg!

Comment 4 by Dennis Pielken, Apr 26, 2011

Hi, 

could this error occur if you're logged into the admin interface and 
into the userview interface at the same time using the same browser. 
Cause, I think there is a bug in my session management which also 
triggers issue 3: 
http://batland.de/subdomains/codes/index.php/p/proftpdadmin/issues/3/


Can you mabye give it a try: log into the admin interface and then 
using the same browser log into the userview interface and 
vica-versa ...

Comment 5 by Dennis Pielken, Apr 28, 2011

Okay, I just uploaded a small fix which fixes a general bug 
regarding being logged into the admin and user interface at the same 
time!
You just need to replace admininterface/include_login.php to apply 
the fix. I don't know if this will fix the reported problem. 

It would be really helpgul if you could publish the error log. If 
you use apache you should find it in /var/log/apache2/error_log 

Thanks for all the error reporting!

Comment 6 by Guillermo Marco, May 4, 2011

I stopped getting the error changing some variables of php.ini like 
show errors and so.

I've test the new index.php for userView and the include_login.php 
for admin and seems to work fine :)

Comment 7 by Dennis Pielken, May 5, 2011

Okay, I guess this problem is resolved and I'll add a hint to 
supress php warnings in the install manual.
Status: Fixed

Created: 9 months 27 days ago by Guillermo Marco

Updated: 9 months 17 days ago

Status: Fixed

Followed by: 1 person

Labels:
Priority:Medium
Type:Defect