Hi SirI want to aski’m using dompdf to export pfdi try on cpanel/hosting
i try in dekstop version its normal (can download file export pdf)but i try in mobile version (i’m using app google chrome and default browser) if i click export open new tab and blank white pagei try to previous page box popup “Exporting, please wait” still open and can’t downloadI tried waiting for 10 minutes, no error message appeared and still can’t downloadi try to increase MemoryLimit on Extension PDF not work toi try to increase memory_limit on php.ini not work to, still can’t download file export if i access with mobile versionplease help me, What should I do to make export pdf in the mobile version work?thanks before
update, this message of error if i click export on mobile version :Unfortunately your Android browser doesn’t support this type of file download. Please try again with a different browser.please help me sirthanks before
creat015 wrote:
Unfortunately your Android browser doesn’t support this type of file download. Please
try again with a different browser.As the error message said, please just try again with a different browser. Probably, your current browser does not support that type of file download.
I’ve tried various types of mobile browsers, none of which can download pdf export files.still show error message "unfortunately your android browser doesn’t support this type of file download. Please try again with a different browser."Is there a solution to be downloaded file pdf from the mobile version sir? or how to change url link export?please help me sir,thanks before
i found the problemwhy export pdf to long process on mobile version, the cause is :// Custom export
var $ExportPdfCustom = FALSE; (not error, but my custom pdf is missing)if i set to
var $ExportPdfCustom = TRUE; (this error for download export file pdf)so, how to set var $ExportPdfCustom = TRUE;and work to mobile version sir?thanks before
thanks sir for reply my threadi try update template and success to update templatebut to download export files in the mobile version still cannot (still long process if i click export button)still show error message like this : Unfortunately your Android browser doesn’t support this type of file download. Please try again with a different browser.
JavaScript is changed, make sure you upload the “jquery” folder again, refresh your browser (requires Chrome or other modern browser, stock Android browser won’t work) to make sure new *.js are used.
thanks sir for replyi try to upload again “jquery” folder still long process on mobile version and still show message “Unfortunately your Android browser doesn’t support this type of file download. Please try again with a different browser.” sirand for this, i think same problem https://discourse.hkvstore.com/t/change-filename-export-v2018/877/1 the filename can’t change sir
The JavaScript is changed so that the message will not show. If you still see the message, you are still using old .js. Double check and check sure the jquery.fileDownload.min.js is new. Again:
refresh your browser (requires Chrome or other modern browser, stock Android browser won’t work) to make sure new *.js are used.
first open file jquery.fileDownload.js copy paste all code on jquery.fileDownload.js to jquery.fileDownload.min.js (i don’t know why if convert to minify the javascript some of the javascript code is missing), so i try to copy all code on on jquery.fileDownload.js and paste to jquery.fileDownload.min.js
comment this code on jquery.fileDownload.min.js :
androidPostUnsupportedMessageHtml: "Unfortunately your Android browser doesn’t support this type of file download. Please try again with a different browser."like this ://androidPostUnsupportedMessageHtml: “Unfortunately your Android browser doesn’t support this type of file download. Please try again with a different browser.”,
find this :
if (/ip(ad|hone|od)/.test(userAgent)) {isIos = true;and add this The code below :
} else if (userAgent.indexOf('webchromeclient') !== -1) {
isWebChromeClient = true;
} else if (userAgent.indexOf('chrome') !== -1) {
isChrome = true;
} else if (userAgent.indexOf('android') !== -1) {
isAndroid = true;
find this code :
if (isIos || isAndroid) {and change to this :if (isIos isWebChromeClient isChrome || isAndroid) {
in view.php change this code :
// Get custom export parameters
if ($this->Export <> “” && $custom <> “”) {
$this->CustomExport = $this->Export;
$this->Export = “print”;to :// Get custom export parameters
if ($this->Export <> “” && $custom <> “”) {
$this->CustomExport = $this->Export;
$this->Export = “pdf”;my question is :
how to change $this->Export = “print”; to $this->Export = “pdf”; on Code Server Events, Client Script, and Custom Template sir? i change this manual not automatic from Code Server Events, Client Script, and Custom Template
the correct code is like this:// Get custom export parameters
if ($this->Export <> “” && $custom <> “”) {
$this->CustomExport = $this->Export;
$this->Export = “print”;if i change like this there is a little error// Get custom export parameters
if ($this->Export <> “” && $custom <> “”) {
$this->CustomExport = $this->Export;
$this->Export = “pdf”;the file pdf not pdf file and filesize not the actual size, example :if this code i use :$this->Export = “print”; the actual size is 32kbbut if i use this code
$this->Export = “pdf”; the size is 700byte and if i open the pdf file show blank white on pdf file
maybe how to change this code :<a href javascript:void(0); onclick ew_Export(document.fsurat_ijin_tmpt_usahaview . $this->ExportPdfUrl . pdf’,true) . $Language->Phrase(“ExportToPDF”) . i mean like this : (this code can directly download file without javascript onclick)