session_start() ?

Get general support for ADP here.

Moderator: pgolovko

session_start() ?

Postby bihlink » 08/19/2007 4:53 am

I didn't visit addurl.php for long time, but today i did and found this error on top of the page:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/domain/public_html/links/admin/database.php:1) in /home/domain/public_html/links/addurl.php on line 38

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/domain/public_html/links/admin/database.php:1) in /home/domain/public_html/links/addurl.php on line 38

Hmmm what i should be fixing now, i'm not sure. Any advice?
bihlink
 
Posts: 67
Joined: 05/08/2007 1:53 am


Postby iamoso » 08/19/2007 10:08 am

Check /admin/database.php on line 1 and make sure it is not showing any output. If possible post line 1 of database.php
Best Regards,

Ryan Jauregui
Laf Innovative

laf innovative
User avatar
iamoso
Site Admin
 
Posts: 395
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Postby bihlink » 08/20/2007 2:13 am

:scratch: line 1 was:
<?php
i change it to: <? and there is no error any more. Pffff this could be last thing i could guess as error?!?!
Problem fixed, thank you anyway...
bihlink
 
Posts: 67
Joined: 05/08/2007 1:53 am

Postby iamoso » 08/20/2007 5:06 am

Glad you fixed it. There may have been an unnecessary space after <?php which could have thrown out the error.
Best Regards,

Ryan Jauregui
Laf Innovative

laf innovative
User avatar
iamoso
Site Admin
 
Posts: 395
Joined: 03/25/2006 1:23 am
Location: Stanton, CA

Postby bihlink » 08/21/2007 12:03 am

Yes there was space and i don't have idea how it could cosed error? But i'm glad i get it off :)
bihlink
 
Posts: 67
Joined: 05/08/2007 1:53 am


Return to Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron