Help - Search - Members - Calendar
Full Version: Session_start
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Javier from Argentina
Hi. I upload a little site to zymic. When i enter to index.php i need init a session with session_start but the execution indicate error when run session_start function. This in not necesary un zymic? . I very confuse. I delete the invoque this function and the error not ocurrs. This is normal?
Thanks for your help. My english is not good.

Ed
What's the error?
Javier from Argentina
Thanks for response.
The error is :
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/vndv.com/c/o/m/comic/htdocs/index.php:12) in /www/vndv.com/c/o/m/comic/htdocs/index.php on line 20
Ed
You are outputting something before outputting, something like this would produce the same error:

CODE
<html>
...
</html>
<?php
session_start();
?>


You MUST not ouptut anything prior to calling 'session_start' as it's sent as a HTTP header.
alberthcrazy
hello, I have the same inconvenience with the session_start function, it happens that you install joomla 1.5.9 and all good, so much so that when you visit my website http://tusolucion.uuuq.com/ on top of it I get the following error messages: sad.gif

Warning: session_start () [function.session-start]: Can not send session cookie - headers already sent by (output started at / www / uuuq.com / t / u / s / tusolucion / htdocs / configuration.php: 1) in / www / uuuq.com / t / u / s / tusolucion / htdocs / libraries / joomla / session / session.php on line 423

Warning: session_start () [function.session-start]: Can not send session cache limiter - headers already sent (output started at / www / uuuq.com / t / u / s / tusolucion / htdocs / configuration.php: 1) in / www / uuuq.com / t / u / s / tusolucion / htdocs / libraries / joomla / session / session.php on line 423

Warning: Can not modify header information - headers already sent by (output started at / www / uuuq.com / t / u / s / tusolucion / htdocs / configuration.php: 1) in / www / uuuq.com / t / u / s / tusolucion / htdocs / libraries / joomla / session / session.php on line 426

What could be happening in this situation, be thankful in advance for the help and information I can provide. Thank you wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.