Hi
It's not much informations to start with, but from a word "safepath" I believe it's connected with Virtuemart. Please configure a valid safepath folder in it's configuration. Or change access to this folder so scripts will be able to create/modify files in it.