Can't seem to publish the things I want

I keep on getting tis message:
Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /public/sites/ on line 42

Warning: Cannot modify header information - headers already sent by (output started at /public/sites/ in /public/sites/ on line 881

What do I have to do to solve this?