• Resolved Ronald

    (@rottinger)


    I’m having an issue that is similar to @bgfrancey. I have a new WP server that I’ve installed the plugin on, but when I go to generate the “Description”, there’s no link for the image file (I have an empty modal window with the close button on it). Now, I do have an older development VM that I try things out on, and where I have Memphis Documents installed, and I have no issues with the “Description” page; the image of the .pdf file is generated successfully.

    I have essentially the same settings as @bgfrancey, except that I have to check the “Bootstrap Dropdown Fix”.

    If I bring up the servers side-by-side, and do a comparison inspect on both pages where the documents are displayed, the one where the “Description” isn’t working has the

    <div class=”mdoc-desc”></div>

    tag, but there is no tag for the

    <div class>xxx</div>

    tag that resides inside it. On the site where it works, that is generated correctly.

    The plugin on both sites is current, but the one that isn’t working was installed within the last week.

    Anyway, it looks like, at least in part, it may be affecting @bgfrancey (given his problems with “Description”).

    I’m hoping this adds a little more information. Thank you for a great plugin!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author bhaldie

    (@bhaldie)

    thanks for the report… can you tell me if you have any javascript errors on the site with the issues. That may cause issues.

    Thread Starter Ronald

    (@rottinger)

    Thanks for the reply!

    I’m not seeing any javascript errors in the site. In looking at the the page in inspect (Chrome), on the Network tab, I see the jquery ajax call in both sites (as a comparison), with a link to what appears to be the same jquery resources in the ajax call. The difference is that the site where the Description doesn’t generate doesn’t have the “data:image/png;base…”; the image for the .pdf file doesn’t get generated.

    Thread Starter Ronald

    (@rottinger)

    Just as a note, I did try to deactivate and reactivate the plugin, verified the permalinks, and went so far as to deactivate, delete, and reinstall the plugin (after exporting my work, of course). I still come up with the same issue: there’s no link to an image being generated. My original development site is still working fine.

    Plugin Author bhaldie

    (@bhaldie)

    I’m wondering if it is a server configuration issue, “Description doesn’t generate doesn’t have the “data:image/png;base” is leading me to believe that your server can’t process the image file for some reason??

    Thread Starter Ronald

    (@rottinger)

    The “Test Server Compatibility” is coming back with all green checks. Are there any specific modules that the plugin is looking for, beyond what the test is looking for? I’ll have to compare this server with my development box to see if I can see any differences that could account for it.

    Just for grins, I deactivated and deleted the plugin and then reinstalled v3.6.22 (since I think that’s what I started off with originally on the dev box). Didn’t have any success there, either.

    Thank you, and have a great weekend!

    Plugin Author bhaldie

    (@bhaldie)

    Have any luck figuring out what the issue is? I am still thinking its a server configuration?

    Thread Starter Ronald

    (@rottinger)

    Sorry for the delay; I have other projects that I had to work on.

    I’ve checked to see that the modules that I are loaded on my development box are loaded on the production box. While there are differences, it looks like what is needed for mDocs is on both. The only major difference between the two environments is that my dev box is running Ubuntu 16.04 LTS, and the production box is now running Ubuntu 17.04.

    When I inspect the pages in Chrome (on the Network tab), on my dev box there is any actual call to jquery from admin-ajax.php, which generates the subsequent data:image/png;basexxxxx to generate the first page of the .pdf. On the production box, there’s a call from admin-ajax.php to jquery, but there’s no subsequent response for the creation of the data:image.

    Not sure what else to tell you as this point. If you have any ideas as to what additional information you’d need, please let me know.

    Thank you!

    Plugin Author bhaldie

    (@bhaldie)

    the ubuntu version could be the issue.. I have done no testing with ubuntu version 17. Its a long shoot but it could be the issue.

    Thread Starter Ronald

    (@rottinger)

    We’re continuing to work on our project. Part of it was uploading other .pdf files for use in the site. Imagine my surprise when the “Description” link actually generated an image of page 1 of the .pdf file.

    I’m still having problems with the original set of documents I was using, but it may be more a function of Adobe format than anything else. Is there a limitation, that you know of, regarding the Adobe version that is supported? Of the files that work, they were saved/converted from MS Word or WordPerfect files. The files I’m having problems with are generated by a script from another internal server. It looks like when it creates the .pdf file, the files are saved as version 1.3 (Acrobat 4.x) format. The files I’ve been uploading over the last couple of days are version 1.6 or higher.

    Thank you for you continued assistance on this!

    Plugin Author bhaldie

    (@bhaldie)

    I think not sure but older version of Adobe have had issue in the past. I would recommend using a newer version of Acrobat for best results.

    Thread Starter Ronald

    (@rottinger)

    I’m going to mark this as resolved. As the documents were only being downloaded originally, this isn’t a pressing concern. We are looking at re-engineering the solution anyway, and this just adds another reason to do so.

    I really appreciate all the help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Description image not being generated’ is closed to new replies.