Help - Search - Members - Calendar
Full Version: [joomla]help! Session-start Function Error!
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Thanh Tra
Well, when i finished successfully the installation of Joomla 1.5, I deleted the installation folder via FTP Client, and then i got access to the Admin control panel of Joomla. The page showed many error, kind of "Warning! Session-start function ...." Something like the header has been sent before. So I cannot get access to the Control panel.
I tested the installation and manipulation on my computer, it worked fine. The only difference is that the safe_mode and the Error_display is On instead of Off in the php.ini file.
Is anyone in the same problem? If someone can help, i give him lots of thanks or give her my life! rolleyes.gif

Thanks
PS:
My url is: http://infoworld.uuuq.com/Project
Sugarblossoms
Safe mode is on for this server and it won't be turned off for the security of the server.
swordz
It's not safe_mode causing this error.

This an error with joomla - possibly with the theme? Basically there isa line in the code which goes session_start(), and no output is allowed before this, and that is the problem.

Have you asked on the Joomla site?

swordz
Thanh Tra
Thanks you swordz, i solved the problem myself. So I indicate it here for people who got the same problem:
In fact the error was the session-start function didnot work because of the format of the configuration.php file. The first line in this file must not containt any white space or blank, that means the <?php must be the first thing of anything in the file. If you're sure that you didn't see any white space or blank before the <?php in the first line, --> change the format of the file to Encoding UTF-8 without BOM (you can change this by notepad++, on the menu bar, click Format -->choose the ANSI encoding then activate the Encoding in UTF-8 without BOM), save the file and upload it on the server to replace the old one.
Refresh the webpage, you will see it works.

In fact the old file configuration.php generate the white space which is invisible under our eyes, I think.
I hope this will help people.
Best regards to all.

Traecp
swordz
As I said. The white space in that file is output, which then causes header/session problems.

swordz
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.