Link to home
Start Free TrialLog in
Avatar of pixarksa
pixarksaFlag for United States of America

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\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
Avatar of techsathish
techsathish
Flag of India image

Avatar of pixarksa

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\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
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!
ASKER CERTIFIED SOLUTION
Avatar of Jernej Navotnik
Jernej Navotnik
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
good answer