Questions about the session_start ()
On the question of session_start () I read a lot of information or illegal solution. The big push is about what character encoding.
Open this page error:
Warning:session_start () [Function.session-start]: Cannot send session cookie-headers already sent by (output started at /ADMIN/INCLUDES/INIT_INCLUDES/INIT_FILE_DB_NAMES.PHP:20) in/html/boseonsale/includes/functions/sessions.php on Line 108
And there's an error saying that header information cannot be changed cannot modify header information-headers already sent by (output started at)
Experts say the specific solution it. This website is open-source Zencart Shop
------Solution--------------------
Did you use the header?
------Solution--------------------
Ob_start (); To write in front of all execution code
------Solution--------------------
ZEND cart Not quite understand ...
help you to top it,,,
------Solution--------------------
The error message is that:
When executing session_start () at line 108th of sessions.php, it is found that there is output at line 20th of the init_file_db_names.php
You should check the init_file_db_names.php line 20th and the code nearby.
From init_file_db_names.php This file name, may be read and write file error
------Solution--------------------
Http://blog.csdn.net/cailiang517502214/archive/2009/11/27/4882038.aspx
------Solution--------------------
Explore
The error message is that:
When executing session_start () at line 108th of sessions.php, it is found that there is output at line 20th of the init_file_db_names.php
You should check the init_file_db_names.php line 20th and the code nearby.
From init_file_db_names.php This file name, may be read and write file error
------Solution--------------------
Has the database moved yet?
------Solution--------------------
If you are using FTP to upload the words ...
May be
Your session_start () has two text in front of you. But it doesn't show ...
is like:
PHP code
!--? session_start ();?-->
------ The solution--------------------
Ensure that there are no character outputs inside or outside the!--? PHP?--, and that this is not the case.
------Solution--------------------
Post
init_file_db_names.php The first 30 lines of code
is there a relationship that you don't decide
------ Solution--------------------
To learn
------solution--------------------
I really don't see what's wrong with you.
Not many of your local copies?
If yes, go to the server to see
------solution--------------------
Have you tried this method of mine?
------Solution--------------------
I've met you like this before. It is also the FTP upload to the server just like this ... The
also looked for a lot of information. Say change php.ini. ... = =
But I'm not the only one who tried the way I just said. It's OK to upload again.
Remember to select Save As ... Select the encoding for the purpose.
------Solution--------------------
Upstairs positive solution
------Solution--------------------
Discussion
has the database moved yet?
------Solution--------------------
to look at