Open OursaMajor opened 2 years ago
Hi @OursaMajor, sorry PMB didn't work properly for you. Thank you for reporting the issue properly, including the debugging information. The debugging information hints at a plugin conflict but doesn't give any clue as to which one it was. I'm going to try using a few of the most suspicious ones to see if I can get the same problem to happen for me.
I'm also suspicious that it could have something to do with using WordPress.com. I noticed your site' is located at "caravana2021.wpcomstaging.com". Is it a live site?
Hi @mnelson4 ! Thank you for your swift answer.
Let me know if you figure out a solution.
I am not very familiar with blogging and do not understand your question : what do you mean "Is it a live site?" exactly ? If you mean " do you post regularly on this site ?", the answer is "not anymore" and this is the reason why I would like to have it printed. I hope this helps.
Please do not hesitate to reach out if you need additional information.
Hi @OursaMajor, ignore my question about it being a "live site". It's getting technical too quickly.
I will try to see if I can make the same problem happen with the plugins and theme you're using (if I can find a free version of each). I hope to get back to you tomorrow but it might not be until Monday.
Hi @OursaMajor, I've tried most of the plugins and the theme in use on your site and everything still works fine for me. So I'm not yet sure what the problem is on your site.
There are 3 main options now:
I'm sorry I haven't been able to find and fix the problem so far.
Hi Mike
Thank you for your answer.
I do not you any extension in Wordpress. As a fact, PMB is the first extension I am using.
I created an admin account as requested. Please be VERY careful with our content already published.
I will have a look into the alternative you suggested but PMB is still my first option.
Would an upgrade of PMB solve the problem ?
Best regards,
Arthur
Le lun. 28 févr. 2022 à 19:25, Mike Nelson @.***> a écrit :
Hi @OursaMajor https://github.com/OursaMajor, I've tried most of the plugins and the theme in use on your site and everything still works fine for me. So I'm not yet sure what the problem is on your site.
There are 3 main options now:
- You can try deactivating non-essential plugins on your site one-at-a-time to see if the problem goes away. Eg, try deactivating JetPack, Akismet, etc. (If the problem goes away when a specific plugin is deactivated, then we'll know where to focus our attention...)
- Create a new admin user on your website and set their email address to "please at printmy dot blog". By doing so you will be giving me admin access to your website so I can poke around to try to find the cause of the problem myself.
- You can use a 3rd party website to create a book from your site, like; https://mpl-publisher.com/ instead of Print My Blog
I'm sorry I haven't been able to find and fix the problem so far.
— Reply to this email directly, view it on GitHub https://github.com/mnelson4/printmyblog/issues/308#issuecomment-1054539368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMK5N6Y2F6O3ZBORDAGLJGLU5O4XZANCNFSM5PH4RAGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Hi @OursaMajor, thanks I am able to access your site.
I tried generating the print-page (I think exactly like you did). Strangely, I didn't get the same error as in your screenshot.
So I made it to the print-page, and then tried to download the PDF. It was downloading for a few minutes then had a different error.
I investigated the second error and it's coming from the website I'm using for converting the HTML into PDF named "DocRaptor". I've asked them for help identifying the issue, but I'm pretty sure it's because there are simply so many images in your document (over 800).
I tested making a much smaller project on your site which worked fine (I then deleted the project). So I'm pretty sure the problem now is just that there are just more images than PMB's Pro PDF service (using DocRaptor) can handle.
You can use the "Impremer avec Navigateur" option though, which works. See screenshot
So, I think you have 3 options:
The only remaining issue is that the images aren't laid out great. The gallery's style information (CSS) isn't getting used properly. So I will need to investigate what can be done about that.
Good news! I found a different fix...
The problem you had was that your site was using full-size images, and when there are 800+ of them, the PDF file was nearly a gigabyte in size (so big the system was crashing.) But I know WordPress automatically makes smaller versions of the images, so I have a bit of code that uses those smaller images (which have a filesize of about 10% the original). When I manually used that on your project, it worked ok.
You can see it's working now, but there's a layout issue with the gallery you're using (JetPack's Tiled Gallery) where it's making the galleries too big. I'm going to see what I can do about that next...
Hello Mike !
Thank you for this very positive update ! This is a good step forward.
Do I understand right : if you figure out how to fix the last issue, we will be able to use PMB but only with a image quality lower than the original ?
Good luck with the last fix and thank you for your much appreciated help,
Warm regards,
Arthur
Le lun. 7 mars 2022 à 22:16, Mike Nelson @.***> a écrit :
Good news! I found a different fix...
The problem you had was that your site was using full-size images, and when there are 800+ of them, the PDF file was nearly a gigabyte in size (so big the system was crashing.) But I know WordPress automatically makes smaller versions of the images, so I have a bit of code that uses those smaller images (which have a filesize of about 10% the original). When I manually used that on your project, it worked ok.
You can see it's working now, but there's a layout issue with the gallery you're using (JetPack's Tiled Gallery) where it's making the galleries too big. I'm going to see what I can do about that next...
— Reply to this email directly, view it on GitHub https://github.com/mnelson4/printmyblog/issues/308#issuecomment-1061144262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMK5N63HDL76VCGYIO3THVDU6ZWZ3ANCNFSM5PH4RAGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Hi Arthur (@OursaMajor) ok I've worked all the way up to PMB 3.12.7 which resolves the gallery as far as possible. I also adjusted your project's settings to not resize images to be so small as that conflicted quite badly with the gallery's layout.
If you try it again, you'll see the gallery appear almost identically to on your website, but sometimes they're too big to fit on one page so the rest of them is just getting dropped from the page. Getting the system to automatically cut the galleries in half will be too difficult to manage. So I'd suggest you manually split the biggest galleries into more manageable sizes (like 8-10 images).
Also, I noticed the images on https://caravana2021.wpcomstaging.com/2022/01/04/mexican-pacific-coast-and-tropical-forest/ are missing (both on the website and in PMB's print page). I think that's more of an issue to talk to wordpress.com support about though, as PMB wouldn't have affected your site's regular pages.
After you deal with those two issues and maybe tidy up some content, your blog seems about ready to be printed! (You may have a keener eye for imperfections than me though, I'm just happy to have overcome the technical hurdles so far.)
Does that all make sense?
Please describe what you were doing, what you expected to happen, and what the problem was.
Hello PrintMyBlog team !
I get the message error below when I am clicking for generating a PDF pro, after having set the parameters via the different settings. The content to be printed is my whole blog. I was expecting some PDF to be smoothly generated and to send it to my local printer.
The error message in French translate into English says : "An error occured when preparing the content. Please visit the help page of PrintMyBlog." I did not find anything in the FAQs and the help page redirected me to GitHub.
Thank you for your much appreciated support, Best
Arthur