Archive

Archive for July, 2008

PHP “Cannot send session cache limiter – headers already sent” error

July 22, 2008 6 comments

I faced with this problem today, and Mr Google helped me to this site which helped me figure out how to solve the problem. Basically what the site says is “Make sure to check for and remove any spaces or carriage returns directly before or after your opening and closing php tags.” So for me, my problem is caused by this line:

==================================

<html><head><title>My Page</title></head>

<?PHP

include(“global.php”);
include(“adminAuth.php”);

?>

==================================

and to fix it, I simply put both the include lines at the uppermost, which becomes like this:

==================================

<?PHP

include(“global.php”);
include(“adminAuth.php”);

?>

<html><head><title>My Page</title></head>    <–see now the html code is brought down

==================================

Alhamdulillah, thank God the problem is solved just by doing this. Anyway this problem only surfaced when I uploaded my php code to my internet server. The same code doesn’t give any problem on my localhost server. Which I think I can conclude that the error will only appear on certain PHP/apache version.

Categories: Technology Tags: , ,

Windows Vista Sux – Stay Away From It

July 18, 2008 1 comment

I’ve heard many people said it, but hey, it can’t be that bad, right? I mean, Microsoft has been in the OS area since a few decades ago. Anyway I don’t have the chance to try Vista until I got my Dell Inspiron 1420 which came with Windows Vista installed – which ultimately after 3 weeks of using it, I decided to get rid of it, forever. And here’s why (just partly, ok):

  • Slow like heck.
  • I got at least 5 BSOD (yes, the infamous blue screen of death) during my 3 weeks experience with Vista. (No, it’s not hardware problem. I’ve managed to run XP on the very same system without any BSOD)
  • Firefox 3.0 will crash several times. Average once every 2 days.
  • Sometimes Netbeans 6.0 will close itself without warning. Happens at least twice.
  • Many small old programs won’t work as efficient as they did in Windows XP.
  • Posting in forums indicates that many Inspiron 1420 users ditched Vista too.. most complained of Vista as too slow and unreliable.
  • Among the last to detect cabled network connection in my office (others using XP detected it faster than my Vista).

Anyway I don’t know what’s so special of this Vista until it needs to eat too many system resources. The only thing I like about Vista is the game package it came with. Lame, isn’t it? Haha.

Hey, don’t regard this as a Microsoft bashing post.  Instead, consider it as a pat-on-the-back to Microsoft, since their Windows XP has proven that it can stand the test of time.

Windows Vista is very unrealiable – worse than Windows ME. No wonder Intel has decided not to use Vista. And no wonder Microsoft has announced that a new Windows will be revealed at the end of 2009.

Categories: Uncategorized