Thank you for your submission.
I'm pretty busy right now to update release package in the store. Do you have access to files?
Could you update file modules/Premium/Projects/Tickets/screenshot.php?
It should be (whole content):
<?php
define('JS_OUTPUT',1);
define('CID',$_POST['cid']);
define('READ_ONLY_SESSION',true);
require_once('../../../../include.php');
header("Content-type: text/javascript");
print('document.body.removeChild($("screenshot_applet"));');
if(!isset($_POST['cid']) || !is_numeric($_POST['cid']) || !isset($_POST['rid']) || !is_numeric($_POST['rid']) || !isset($_FILES['img'])) {
die('alert("invalid request");');
}
ModuleManager::load_modules();
if(!Base_AclCommon::is_user()) {
die('alert("not logged in");');
}
Utils_AttachmentCommon::add('premium_tickets/'.$_POST['rid'],0,Acl::get_user(),'screenshot',$_FILES['img']['name'],$_FILES['img']['tmp_name'],array('Premium_Projects_TicketsCommon','search_format'),array($_POST['rid']));
print('_chj("");alert("Screenshot added");');
?>
It's a quick fix. We haven't used this for a long time, because another option that you could be happy with is to make a screenshot with any system application that put its into clipboard. Then click "New note", click on the file frame and Paste screenshot. It doesn't require Java and it should be a safer way.
Regards,
Adam