When trying to run my pawn script on a new linux server, I received the following error:
samp03svr: amx/amxfile.c:222: fputs_cell:
Assertion `fp!=((void *)0)' failed.
This was actually caused by a missing
scriptfiles directory (or the directory was not writeable).
So take care in your scripts if an fopen really gives you a vaild file pointer and handle the situation if it does not!