You probably made some wrong changes, the easiest solution is to replace the modified files with the original ones and try again to insert the right code in the right place by following the installation instructions carefully. I did it myself and if you make the changes properly, it works fine. But one wrong single dot or semicolon can already cause a lot of trouble.
My pligg site in Dutch:
MyRiverofLife.nl / Gepubliceerde berichten