requirements not met

QuestionsCategory: PDF Light Viewerrequirements not met
Tom asked 8 years ago
PDF conversion was working but then I began getting error 500 from the server indicating too many processes (I think). The ttech stopped the services and I ended up having to reactivate all of the plugins. Now I am unable to convert anything because the system is telling me there is a problem: PDF Light Viewer Plugin: requirements not met, please check plugin settings page for more information.
support
replied 8 years ago

Hello Tom, could you please share screenshot of requirements on the plugin’s settings page ( /wp-admin/options-general.php?page=pdf-light-viewer ) ? To solve this we need to know which requirements aren’t met.

Tom Butler
replied 8 years ago

I was able to get the last few conversions finished … took a lot of tries. Right now, I have to do other things, so go ahead and close the ticket. I will reopen it when convert the next batch in a few months.

Tom Butler
replied 8 years ago

As it turns out, it looks like SearchIQ is causing all of my problems converting PDFs. (http://searchiq.xyz/). I am not sure what to do about it because i have looked for weeks to find a good search tool and also to build a PDF archive.

If you know of no solution, I will probably turn off SearchIQ while I do conversions. Just thought I would let you know.

support
replied 8 years ago

I see. I’ll check integration with http://searchiq.xyz/. Hope to get some results on Monday, December 12.

support
replied 8 years ago

Ok, I’ve checked SearchIQ plugin. I could reproduce the issue I think. Found three php errors in SearchIQ plugin and send them report https://wordpress.org/support/topic/php-errors-in-the-version-1-4-15/ After fixing them import seems to work fine.

Tom Butler
replied 8 years ago

Thank you for taking the time to do that. I will look for an update from them and try to give you feedback.

Thanks!

2 Answers
Tom Butler answered 8 years ago
I have attached two screen prints -1 is above -2 on the page. Is this enough information? I can tell you that your plugin did not find:

  • ImageMagick or GraphicsMagick PHP Extension is not loaded
  • Imagick or Gmagick PHP Wrapper is not supported
  • Imagick or Gmagick PDF Support is not enabled

http://atransc.org/wp-content/uploads/2016/11/PDF-light-Viewer-require-1.jpg
http://atransc.org/wp-content/uploads/2016/11/PDF-light-Viewer-require-2.jpg

support
replied 8 years ago

Thank you. So usually this information means that ImageMagick (or Imagick PHP Wrapper) isn’t enabled/installed.

If you use cPanel you could try to turn on the Imagick extension the page Select PHP Version ( /frontend/paper_lantern/lveversion/extension-selector.html.tt ) – https://support.wp.teamlead.pw/wp-content/uploads/sites/6/2016/11/cpanel-imagick-to-gmagick.jpg

Tom Butler
replied 8 years ago

Changing from PHP 5.4 to 5.6 fixed the problem. Thanks!

support
replied 8 years ago

Glad to hear that! Thank you for letting me know

Tom Butler
replied 8 years ago

As I continue to try to use the plugin to convert PDF files, the process is failing about 80% of the time. it gives me a “Unexpected token R in JSON at position 0” failure error message and then my server goes to a error 500 message.

This was not a problem until about a week ago. Was there an update?

support
replied 8 years ago

Last update was on November 25 (v1.3.14), but it includes small settings changes only https://github.com/antongorodezkiy/pdf-light-viewer/commit/743d45825869b55285a5354bf1d6f61365de92f7 and doesn’t affect import logic. Are you getting this error for any PDF file or only some particular?

Tom Butler
replied 8 years ago

I am pretty sure it is all PDF files. I am even failing when I try to update a small edit to the title. To be fair, I am having trouble with Google Chrome as well, but this problem is the same in Microsoft Edge.

Tom Butler
replied 8 years ago

I am pretty sure it is all PDF files. I am even failing when I try to update a small edit to the title. To be fair, I am having trouble with Google Chrome as well, but this problem is the same in Microsoft Edge.

Tom Butler
replied 8 years ago

The conversion is failing every time now. The process is: I duplicate a finished file, change the name and remove old PDF, upload next PDF, click on Enable Import and click on Update.

After a long delay, I get a message that: “Connection lost. Saving has been disabled until you’re reconnected. We’re backing up this post in your browser, just in case.”

Then I get a page with: “500: Internal Error” When I go back to the conversion process using the browser’s back arrow, the process almost always completes successfully. (Fails about 20%) The problem is that it finishes using the old PDF file. This means that I have a duplicate file with the new name but old PDF.

(One problem is that I cannot stop the conversion process when there is a problem. That makes it almost impossible to troubleshoot.)

Any Ideas? As it stands now, I will have to abandon the plugin and try a different approach for an archive.

support
replied 8 years ago

Hello Tom,

I understand the issue with stopping the import. I’ll schedule “stop import” possibility for the version 1.3.15

What plugin do you use for the posts duplication? Is it https://wordpress.org/plugins/duplicate-post/ ?

Tom Butler
replied 8 years ago

I’m using https://wordpress.org/plugins/duplicate-page/

By the way, this is not your problem but may be useful information. When I conducted a search in WordPress, “All Posts” or “All PDF,” the search returned the right name but in the Media database. I had the “WP File Search” plugin installed. When I deactivated it, the problem went away. https://github.com/ellak-monades-aristeias/wp-file-search

Since I was working on PDF files, I first thought it was your problem. Others might think so as well.

support
replied 8 years ago

Thank you for the information, Tom! We’ll check integration with “WP File Search” and then see what can we do with it.

Tom Butler answered 8 years ago
PS: The problem may be in how the plugin responds to the Update button. It fails even if I just try to change the name and do not click on “Enable Import.”