Main menu:

Site search

Categories

Archive

Archive for August, 2007

How to solve the PHP Error Warning: Cannot modify header information

That message is the bane of anyone that used the header function to forward to a new Location. Any output from PHP before that command will cause it to fail with a Warning: Cannot modify header information – headers already sent by… Things to check… Look at the :number in the message “headers already sent [...]

Error while loading shared libraries with xapian

I was building a search engine with the xapian package and was running into runtime errors. Namely Error while loading shared libraries libxapian.so.15 Cannot open shared object file. long story short, always remember to put the compiled shared libraries into the /usr/lib or where ever you PATH would indicate, or add the path to your [...]