Hi,
I get this error when I try to upload a (very small) picture.
On my Xampp installation everything is ok !!
But on the providers webserver I get the message:
"An error has occurred on uploading."
If I look via FTP in the directory
'assets/uploads/files'
the file is uploaded, but there is no entry in the table.
The debugger says:
<p>Severity: Warning</p>
<p>Message: Cannot modify header information - headers already sent by (output started at /homepages/0/dxxxxxxxxxxxx/htdocs/m_und_d/error_db/application/controllers/Main.php:380)</p>
<p>Filename: libraries/Grocery_CRUD.php</p>
<p>Line Number: 1442</p>
function simple_upload()
{
$crud = new grocery_CRUD();
$crud->set_theme('datatables');
$crud->set_table('tabImages');
$crud->set_language("english");
$crud->columns('headline');
$crud->fields('headline','file_url');
$crud->set_field_upload('file_url','assets/uploads/files');
$crud->unset_delete();
$crud->unset_clone();
$output = $crud->render();
$this->_example_output($output);
}
Anyone an idea ?