Nicedit upload de imagens localmente falha

É assim que eu chamo o editor:

new nicEditor({
           buttonList : ['bold','italic','underline','upload'],
           iconsPath:'img/nicedit.png',
           uploadURI : 'http://server.com/integracion/files/nicUpload.php'
}).panelInstance(textareaId);

E o arquivo .php existe (e eu aquele noDocse atualizei os caminhos de destino)

/* I want them here http://server.com/integracion/files/uploads/ so... */   
    define('NICUPLOAD_PATH', './uploads'); // Set the path (relative or absolute) to
                                              // the directory to save image files                  
    define('NICUPLOAD_URI', '/uploads');   // Set the URL (relative or absolute) to
                                              // the directory defined above

Mas eu em resposta quando o upload é concluído (e do corse um alerta do nicedit ..)

<script>
        try {
            top.nicUploadButton.statusCb({"error":"Invalid Upload ID"});
        } catch(e) { alert(e.message); }
    </script>

o que estou perdendo?

-EDITAR

Eu acho que o problema pode estar no arquivo php:

$id = $_POST['APC_UPLOAD_PROGRESS'];  /* APC is installed and enabled */
if(empty($id)) {
    $id = $_GET['id'];
}

questionAnswers(2)

yourAnswerToTheQuestion