hi,
hmmm, no idea, but we will try to figure out. could you do the following?
- open classes/PhotoQ.php with a text editor. try to locate the function uploadPhoto()
- find the part inside this function where it says
//add photo to queue
if(!$result = $wpdb->query("INSERT INTO $this->QUEUE_TABLE (q_title, q_imgname, q_position, q_slug, q_descr, q_tags, q_exif, q_date, q_fk_author_id) VALUES ('$title', '$filename', '".($this->_queue->getLength())."', '$slug', '$descr', '$tags', '$exif', '$dateTime', '$post_author')"))
return false;
- replace this whole block with the following
//add photo to queue
if(!$result = $wpdb->query("INSERT INTO $this->QUEUE_TABLE (q_title, q_imgname, q_position, q_slug, q_descr, q_tags, q_exif, q_date, q_fk_author_id) VALUES ('$title', '$filename', '".($this->_queue->getLength())."', '$slug', '$descr', '$tags', '$exif', '$dateTime', '$post_author')")){
$temp = "INSERT INTO $this->QUEUE_TABLE (q_title, q_imgname, q_position, q_slug, q_descr, q_tags, q_exif, q_date, q_fk_author_id) VALUES ('$title', '$filename', '".($this->_queue->getLength())."', '$slug', '$descr', '$tags', '$exif', '$dateTime', '$post_author')";
$this->_errStack->push(PHOTOQ_FILE_UPLOAD_FAILED,'error', array('errMsg' => 'Could not add DB entry:' .$temp));
return false;
}
- save your changes and upload the changed file to the server
- do a single upload (i.e. disable batch uploads in photoq settings)
- do you now see an error message after the upload?