Support » Plugin: WP Photo Album Plus » Document management

  • Resolved palaeoman

    (@palaeoman)


    Hi Jacob.

    I am having a bit of a problem that I hope you can help me with. I recently Imported several PDF files with associated cover pages. For a variety of reasons, it became necessary to delete all those from the album, re-upload via FTP and Import them. The Import was successful for the JPG covers pages but the Import failed for the PDF files. When I look at the album, the cover pages are there but not the PDF files.

    In the end, I deleted the original album and created a new one.

    Any idea what is happening?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Import failed for the PDF files

    Any error message?

    In the end, I deleted the original album and created a new one.

    And now it worked?

    The only error message was in the Import screen. Next to each PDF it simply said ‘Failed’.

    Yes, I forgot to mention that when I deleted the album and recreated it, the Import was successful.

    I just tried to recreate it by Importing a document and cover, deleting it from album and Importing again. It worked fine. Several times now. Maybe some cleanup in the background had not been completed.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    If you delete an item and re-upload or re-import the same, you can get a problem, because the real file delete is done at the background approx 1 – 2 hours later by the wppa_cleanup cron process. Not the ‘normal’ files, but the source files, because they are saved under their original name in the wppa-source/album-<id> folder, and therefor deleted after the re-upload. Especislly the pdfs are stored there, even when you do no save sources.

    That appears to be what happened in this case. ‘Problem’ solved. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.