php source error: set_fname() file not open.