{"id":20340,"date":"2024-02-16T15:55:56","date_gmt":"2024-02-16T14:55:56","guid":{"rendered":"https:\/\/help.openbee.com\/open-bee-portal\/knowledge-base\/troubleshooting-items\/troubleshooting-documents\/unable-to-add-some-secure-pdfs\/"},"modified":"2024-02-16T15:55:56","modified_gmt":"2024-02-16T14:55:56","slug":"unable-to-add-some-secure-pdfs","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-portal\/knowledge-base\/troubleshooting-items\/troubleshooting-documents\/unable-to-add-some-secure-pdfs\/","title":{"rendered":"Unable to add some secure PDFs"},"content":{"rendered":"<div id=\"main-content\" class=\"wiki-content group\">\n<h2 id=\"Impossibled'ajoutercertainsPDFs\u00e9curis\u00e9s-Probl\u00e8me\">Problem<\/h2>\n<p>It is not possible to add some secure PDFs, the append window remains frozen.<\/p>\n<h2 id=\"Impossibled'ajoutercertainsPDFs\u00e9curis\u00e9s-Sourceduprobl\u00e8me\">Source of the problem<\/h2>\n<p>The problem is caused by misidentification of the PDF type.&nbsp;Open Bee\u2122 Portal&nbsp;fails to detect that it is a secure PDF.&nbsp;<\/p>\n<h2 id=\"Impossibled'ajoutercertainsPDFs\u00e9curis\u00e9s-Versionsimpact\u00e9es\">Impacted versions<\/h2>\n<p>Open Bee\u2122 Portal&nbsp;6.3.0 to 6.4.2&nbsp;<\/p>\n<h2 id=\"Impossibled'ajoutercertainsPDFs\u00e9curis\u00e9s-Solution\">Solution&nbsp;<\/h2>\n<h2 id=\"Impossibled'ajoutercertainsPDFs\u00e9curis\u00e9s-Dansledossierd'installation:\"><span style=\"font-size: 14.0px;line-height: 1.42857;\">In the installation folder:  <\/span><\/h2>\n<ul style=\"list-style-type: square;\">\n<li>\n<h2 id=\"Impossibled'ajoutercertainsPDFs\u00e9curis\u00e9s-ouvrirlefichierlib\/model\/openbee\/pdfReport\/ObPdfi.php\"><span style=\"font-size: 14.0px;line-height: 1.42857;\">Open lib\/model\/openbee\/pdfReport\/ObPdfi.php<\/span><\/h2>\n<\/li>\n<li>\n<div><span style=\"font-size: 14.0px;line-height: 1.42857;\">Line 190: R<span>Replace &nbsp;value 100 with 1500:&nbsp;<\/span><\/span><\/div>\n<\/li>\n<\/ul>\n<div>\n<div class=\"code panel pdl\" style=\"border-width: 1px;\">\n<div class=\"codeHeader panelHeader pdl\" style=\"border-bottom-width: 1px;\"><b>Code before modification<\/b><\/div>\n<div class=\"codeContent panelContent pdl\">\n<pre class=\"theme: Confluence; brush: php; gutter: false\" style=\"font-size:12px;\">$bytesPerCycle = 100;<\/pre>\n<\/div>\n<\/div>\n<div>\n<div class=\"code panel pdl\" style=\"border-width: 1px;\">\n<div class=\"codeHeader panelHeader pdl\" style=\"border-bottom-width: 1px;\"><b>Amended Code<\/b><\/div>\n<div class=\"codeContent panelContent pdl\">\n<pre class=\"theme: Confluence; brush: php; gutter: false\" style=\"font-size:12px;\">$bytesPerCycle = 1500;<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Problem It is not possible to add some secure PDFs, the append window remains frozen. Source of the problem The problem is caused by misidentification of the PDF type.&nbsp;Open Bee\u2122 Portal&nbsp;fails to detect that it is a secure PDF.&nbsp; Impacted versions Open Bee\u2122 Portal&nbsp;6.3.0 to 6.4.2&nbsp; Solution&nbsp; In the installation folder: Open lib\/model\/openbee\/pdfReport\/ObPdfi.php Line 190: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":20339,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-20340","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=20340"}],"version-history":[{"count":0,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20340\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/20339"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=20340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}