Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Guys!

    Sorry, it’s not the AIO-Plugin. If you already have the 403-Error, change the following line in the pdf-poster-php:

    from

    $viewer_base_url= plugins_url().”/pdf-poster/pdfjs/web/viewer.php”; $final_url = $viewer_base_url.”?file=”.$file_name.”&download=”.$pdf_download.”&print=”.$print.”&openfile=”.$openfile;

    to

    $viewer_base_url= plugins_url().”/pdf-poster/pdfjs/web/viewer.php”; $final_url = $viewer_base_url.”?file=”.urlencode($file_name).”&download=”.$pdf_download.”&print=”.$print.”&openfile=”.$openfile;

    I also had the error on previous versions and this line fixed it.

    This bug in the plugin-code was already fixed here by @joneiseman: Error in Plugin Code

    • This reply was modified 4 years, 7 months ago by scottydt.
    • This reply was modified 4 years, 7 months ago by scottydt.

    Sorry, it’s not the AIO-Plugin. You need to change the code in the pdf-poster.php from the following line
    ————
    $viewer_base_url= plugins_url().”/pdf-poster/pdfjs/web/viewer.php”; $final_url = $viewer_base_url.”?file=”.$file_name.”&download=”.$pdf_download.”&print=”.$print.”&openfile=”.$openfile;
    ————

    to this code:

    $viewer_base_url= plugins_url().”/pdf-poster/pdfjs/web/viewer.php”; $final_url = $viewer_base_url.”?file=”.urlencode($file_name).”&download=”.$pdf_download.”&print=”.$print.”&openfile=”.$openfile;

    Then everything works OK.

    This bug in the plugin-code was already fixed here by @joneiseman: Error in Plugin Code

    • This reply was modified 4 years, 7 months ago by scottydt.
Viewing 2 replies - 1 through 2 (of 2 total)