Hello,
after upgrading to version 2.6.3. I cannot anymore upload attachment from admin. Can somebody give some advice? Also to note, on another server, same mode version, everything works fine.
Is this somehow server related? But that would be strange as did work with 2.5.5. version of mods.
Also, this is what I got in console
Blocked loading mixed active content "http://www.alarmanlage-eimsig.de/unters ... chment.php"
https://ajax.cloudflare.com/cdn-cgi/nex ... are.min.js line 4 > eval line 1 > eval
Line 1
Cannot upload attachment from admin
Moderator: mkoch227
Re: Cannot upload attachment from admin
2.6.0 added support for drag-and-drop file attachments, which uses AJAX to upload the files. It sounds like you're accessing your helpdesk via https://, but your HESK settings have the helpdesk URL set to http://. If you are accessing your helpdesk via https, make sure that your helpdesk URL in your settings is also set to https.
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Cannot upload attachment from admin
Hello again,
thank you for replying. That works, but now after I put attachment, submit button become blank and I cannot send reply.
In console i see this error:
ReferenceError: outputAttachmentIdHolder is not defined
thank you for replying. That works, but now after I put attachment, submit button become blank and I cannot send reply.
In console i see this error:
ReferenceError: outputAttachmentIdHolder is not defined
Re: Cannot upload attachment from admin
Make sure that you have the latest of modsForHesk-javascript.js. You should have a function called "outputAttachmentIdHolder" at line 258. If you don't, I recommend re-copying all of the Mods for HESK files, as it sounds like you may have missed one or two somehow.stevenf wrote:ReferenceError: outputAttachmentIdHolder is not defined
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Cannot upload attachment from admin
This is on server in file
function outputAttachmentIdHolder(value, id) {
$('#attachment-holder-' + id).append('<input type="hidden" name="attachment-ids[]" value="' + value + '">');
}
function outputAttachmentIdHolder(value, id) {
$('#attachment-holder-' + id).append('<input type="hidden" name="attachment-ids[]" value="' + value + '">');
}
Re: Cannot upload attachment from admin
That should be good then. If you're using CloudFlare, try clearing the CloudFlare cache for the JavaScript as well; it might be caching up the old version. You can also try opening your console and type in "outputAttachmentIdHolder" and see if either a function is returned, or if you get back "undefined". If you get "undefined" then you need to clear the cache.
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Cannot upload attachment from admin
Yes, I got this after typing function in console.
VM434:1 Uncaught ReferenceError: outputAttachmentIdHolder is not defined
VM434:1 Uncaught ReferenceError: outputAttachmentIdHolder is not defined
Re: Cannot upload attachment from admin
Ok clear the CloudFlare cache for that JS file, as CloudFlare is caching the old version.
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Cannot upload attachment from admin
Didn't helped yet.
Last edited by stevenf on Thu Jul 28, 2016 6:50 am, edited 1 time in total.
Re: Cannot upload attachment from admin
Still don't work.