hi.. in 1 server this cron file works fine, but after migrating to the server the cron doesnt execute instead i received an error mail : <b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in <b>/home/xxx/public_html/xxr/xxx/inc/config.php</b> on line <b>2</b><br /> <br /> <b>Warning</b>: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/xxx/public_html/xxx/xxx/inc/config.php:2) in <b>/home/xxx/public_html/xxx/xxx/inc/config.php</b> on line <b>2</b><br /> Any idea? Thanks
Make sure there are no extra characters before the <?php tag. If that doesn't work, use the function ob_start() as the first line of PHP code.
yes i checked, no characters infront of <?php why is that in another shared server it worked fine? my one starts with <?php include("inc/config.php");