pixarksa
asked on
joomla session error on xampp
I am trying to setup my test environment using xampp on windows server 2003 for a website that built using joomla and virtual mart. When I browse the home page on the localhost I got the following errors:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\lib raries\joo mla\sessio n\session. php on line 423
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\lib raries\joo mla\sessio n\session. php on line 423
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\lib raries\joo mla\sessio n\session. php on line 426
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\plu gins\syste m\jfrouter .php on line 314
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\plu gins\syste m\jfrouter .php on line 315
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\plu gins\syste m\jfrouter .php on line 316
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\nukaly\con
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
ASKER
I saved configuration.php as ANSI encoding and I made sure that there are no spaces before <?php and I don't have the closing ?> tag , when I saved it as ANSI encoding the first two warnings disappeared, I still get these ones
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\plu gins\syste m\jfrouter .php on line 314
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\plu gins\syste m\jfrouter .php on line 315
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con figuration .php:1) in C:\xampp\htdocs\nukaly\plu gins\syste m\jfrouter .php on line 316
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\con
Hi!
Have you looked at your configuration.php, I am pretty sure, that the ending php tag must be there ( ?> ).
If it is not there, than write it. Mine are saved as UTF-8, and haven't had encoding problems.
If you cannot work this out, try creating a new configuration.php file, and write down the parameters, and then replace the old one.
Best of luck, Jernej!
Have you looked at your configuration.php, I am pretty sure, that the ending php tag must be there ( ?> ).
If it is not there, than write it. Mine are saved as UTF-8, and haven't had encoding problems.
If you cannot work this out, try creating a new configuration.php file, and write down the parameters, and then replace the old one.
Best of luck, Jernej!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
good answer
Refer this...
http://www.phpbuilder.com/board/showthread.php?t=10310794
and this
http://forum.joomla.org/viewtopic.php?f=430&t=354387
Hope it work...