@martinvirgil
Looks like you have a syntax error somewhere (possibly in scp.js
) and I think that might have something to do with it as well. I would take a backup of your current osTicket directory, move all of the files in the osTicket directory to a separate directory temporarily, download v1.14.1 from our website, upload the ZIP to your osTicket directory (which should now be clean), unzip it, move all the contents of the upload/
directory to your osTicket directory, copy over your ost-config.php
file from your backup to the include/
directory, and retry the export. If that doesn’t work apply the following code to see if that fixes it:
function flush($code, $content, $contentType='text/html', $charset='UTF-8') {
self::response($code, null, $contentType, $charset);
header('Cache-Control: no-cache, must-revalidate');
header('Content-Length: '.strlen($content)."\r\n\r\n");
// Disable buffering and compression - shared hosts
ini_set('output_buffering', 'Off');
ini_set('zlib.output_compression', false);
print $content;
// Flush the request buffer
while(@ob_end_flush());
// Implicit flush - shared hosts
ini_set('implicit_flush', true);
ob_implicit_flush(true);
// Set content type and disable caching - shared hosts
header('Content-Type: text/plain');
header('Cache-Control: no-cache');
// Echo whitespaces to flush request - shared hosts
for ($i = 0; $i < 1000; $i++) {
echo ' ';
}
flush();
// Terminate the request
if (function_exists('fastcgi_finish_request'))
fastcgi_finish_request();
}
I hope this helps. Cheers.