Hello,
I have searched further and found that the “PDF Light Viewer Plugin” has now also discovered GhostScript. It was sufficient to rename gswin64c.exe to gs.exe in the GhostScript bin folder.
So, now all system requirements for the “PDF Light Viewer Plugin” are fully respected and set.
But it doesn’t work yet! ??
There is a Plugin log file with the following data on it:
======================
11-06-2021 16-38-35
----------------------
Import exception with getting pages number: PDFDelegateFailed
Het systeem kan het opgegeven bestand niet vinden.
‘ @ error/pdf.c/ReadPDFImage/794 >>> ImagickException Object
(
[message:protected] => PDFDelegateFailed `Het systeem kan het opgegeven bestand niet vinden.
‘ @ error/pdf.c/ReadPDFImage/794
[string:Exception:private] =>
[code:protected] => 415
[file:protected] => C:\XXXXXX\wp-content\plugins\pdf-light-viewer\src\controllers\PdfController.php
[line:protected] => 842
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => C:\XXXXXX\wp-content\plugins\pdf-light-viewer\src\controllers\PdfController.php
[line] => 842
[function] => readimage
[class] => Imagick
[type] => ->
)
[1] => Array
(
[file] => C:\XXXXXX\wp-content\plugins\pdf-light-viewer\src\controllers\PdfController.php
[line] => 700
[function] => getPDFPagesNumber
[class] => PdfLightViewer_PdfController
[type] => ::
)
[2] => Array
(
[file] => C:\XXXXXX\wp-includes\class-wp-hook.php
[line] => 294
[function] => save_post
[class] => PdfLightViewer_PdfController
[type] => ::
)
[3] => Array
(
[file] => C:\XXXXXX\wp-includes\class-wp-hook.php
[line] => 316
[function] => apply_filters
[class] => WP_Hook
[type] => ->
)
[4] => Array
(
[file] => C:\XXXXXX\wp-includes\plugin.php
[line] => 484
[function] => do_action
[class] => WP_Hook
[type] => ->
)
[5] => Array
(
[file] => C:\Sites\XXXXXX\wp-includes\post.php
[line] => 4373
[function] => do_action
)
[6] => Array
(
[file] => C:\XXXXXX\wp-includes\post.php
[line] => 4486
[function] => wp_insert_post
)
[7] => Array
(
[file] => C:\XXXXXX\wp-admin\includes\post.php
[line] => 419
[function] => wp_update_post
)
[8] => Array
(
[file] => C:\XXXXXX\wp-admin\post.php
[line] => 227
[function] => edit_post
)
)
[previous:Exception:private] =>
)`
——————————————————————–
I have, for security reasons replaced some path details with XXXX.
Otherwise the rest is original content.
I hope with this extra information that we are nearby the solution. I could be something to do with read/write permissions on some or more Windows folders. But with and what need I to change?
Thanks in advance for any hints or tips.
Regards.
-
This reply was modified 3 years, 5 months ago by alainmelsens.