pdf export not working
-
UPM 2.7.0
Firefox 33
WP 4.0.1
PHP 5.4.34clicking the pdf icon does nothing – the browser just indicates it’s reloading the page, but nothing happens
is the PDF function relying on any 3rd party tool?
don’t know if this problem existed prior to 2.7 cause i didn’t try it with last version
not seeing any server error logs or anything in the browser console that would be helpful
-
Strange issue…
Could you please show some link to that page?i have the plugin disabled since the site is a public site, but if it’s any help…
http://12bytes.org/
the problem existed on any page i tested withhere’s a list of potentially conflicting plugins if it helps – i can’t test more right now, but i start disabling some of them as soon as i can – i stuck an asterisk in front of those that i would suspect the most…
Auto Thickbox
* BulletProof Security
Category Tag Pages
Child Pages Shortcode
Comments-advanced
Contact Form 7
* Disable Google Fonts
Global Content Blocks
Simple Share Buttons Adder
* Speed Booster Pack
Subscribe to Comments Reloaded
Table of Contents Plus
Title Remover
WP-Pro-QuizOk, thank you,
I’m going to create an identical WP and try to find the issue.seems like allot of effort on your part – if you give me until tomorrow, at the latest, maybe i can pinpoint a conflicting plugin, assuming that is the cause
ok, i disabled most of my plugins, excluding BulletProof Security, and the issue was the same
also saw this error for one page when trying the PDF export…
FPDF error: Can't open image file: http://12bytes.org/wp-content/uploads/autoclipx-logo.pngif you stick that URl in your browser, you’ll see that the image exists
that is for this page…
http://12bytes.org/software/autoclipxi’m trying to dig further into this and i found that text export is not working either – 404 – File not found
i see you’re using URL query strings for the exports, which makes me suspect that BulletProof Security may be conflicting since it’s pretty aggressive regarding injections and query strings, but even though i’m decent with RegExp’s, digging into BPS to try and isolate it is over my head
AHH SUCCESS!
in fact, BulletProof Security is the problem!
i should have tested that first, not last!
sorry for causing you more trouble than i should have
i’ll open a bug report with the BPS dev – he’s a cool guy and i’m sure he’ll quickly isolate the problem and provide a fix if that is a viable option
Great!
Thank you very much for your help!well, the BPS dev and myself have been doing allot of testing and he says it ain’t his fault š
he, and i, are getting errors with that plugin disabled – i don’t know why your plugin worked once after disabling BPS, then never again, but that’s what seemed to happen – you can see his thread here…
https://ww.wp.xz.cn/support/topic/compatibility-issue-with-universal-post-managerOk,
It seems this plugin turns off PHP ‘allow_url_fopen’. I think this problem is due to the ‘allow_url_fopen’ setting which becomes disabled once this plugin is activated. Could you please check if BPS affects PHP ‘allow_url_fopen’ setting?You should make sure the ‘allow_url_fopen’ PHP setting is ON on your server, I think it’s ON by default but BPS turns it off.
i didn’t create a php info file, but BPS tells me: PHP Allow URL fopen: On
i just tested again with a default htaccess file and BPS disabled – the PDF export works, but the contents of the document created does not match the page; image thumbnails are doubled and some content from my home page is included – also the txt export does not work: 404
by the way, i’m using the default 2014 theme just so you know
you can tell me if you want to keep troubleshooting – if not, that’s fine, i understand this may be a rare problem – either way, i’m going to try another plugin like yours just to see what happens
Ok,
That’s hard to say whats going on there. Could you send admin access to your WP site to support[at]gvectors.com? I need it to be able check this issue and fix.Tom, there are still problems with the plugin – i just re-enabled it, with BPS active also, and tried a pdf export – it seemed like it tried to wok (at least the page loading didn’t just keep churning endlessly) but i got this incorrect error msg:
FPDF error: Missing or incorrect image file: http://12bytes.org/wp-content/uploads/bs-tunnel-150x150.gifthat was from this page:
http://12bytes.org/productsand lastly the print function creates a file that seems to include none of the page content, but rather all of the main menu and sidebar items
from the page below the pdf export did work, but the featured image was duplicated in the file:
http://12bytes.org/products/xotic-pctext export and docx both result in a 404 on each page i tested
Yes, I know, I’ve not finished yet. I’ll let you know once problems are solved.
Tom, hope this may help you out…
regarding my post #14, where the error is
FPDF error: Missing or incorrect image file: http://12bytes.org/wp-content/uploads/bs-tunnel-150x150.gif' for pdf export of pagehttp://12bytes.org/products`, that image (bs-tunnel-150×150.gif) is on a totally different page and is not found at all in the source of the ‘products’ page
The topic ‘pdf export not working’ is closed to new replies.