joomla session error on xampp

pixarksa
pixarksa used Ask the Experts™
on
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\configuration.php:1) in C:\xampp\htdocs\nukaly\libraries\joomla\session\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\configuration.php:1) in C:\xampp\htdocs\nukaly\libraries\joomla\session\session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\configuration.php:1) in C:\xampp\htdocs\nukaly\libraries\joomla\session\session.php on line 426

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\configuration.php:1) in C:\xampp\htdocs\nukaly\plugins\system\jfrouter.php on line 314

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\configuration.php:1) in C:\xampp\htdocs\nukaly\plugins\system\jfrouter.php on line 315

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\configuration.php:1) in C:\xampp\htdocs\nukaly\plugins\system\jfrouter.php on line 316
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
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\configuration.php:1) in C:\xampp\htdocs\nukaly\plugins\system\jfrouter.php on line 314

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\configuration.php:1) in C:\xampp\htdocs\nukaly\plugins\system\jfrouter.php on line 315

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\nukaly\configuration.php:1) in C:\xampp\htdocs\nukaly\plugins\system\jfrouter.php on line 316
Jernej NavotnikPHP/Phyton Developer

Commented:
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!
PHP/Phyton Developer
Commented:
O and sorry, really look for unnecessary spaces in the file.

Best of luck, Jernej

Author

Commented:
good answer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial