Chris Hardie
Forum Replies Created
-
Hi @duongcuong96 just checking in on this to see if you have additional guidance. Backups are still failing at “Trying to make a list of folders to back up”.
@duongcuong96 it looks like the backup failed again at the same spot, “1. Trying to make a list of folders to back up …”
Here’s the debug info as requested with a few things redacted:
WordPress version: 5.9.1 BackWPup version: 3.10.0 PHP version: 7.4.28 (64bit) MySQL version: 5.7.32-35-log cURL version: 7.66.0 cURL SSL version: OpenSSL/1.1.1l-fips WP-Cron url: https://www.(my site name).com/wp-cron.php Server self connect: Response Test O.K. Document root: /home/(redacted)/www/(my site name)/public_html Temp folder: /home/customer/www/(my site name)/public_html/wp-content/uploads/backwpup-redacted-temp/ Log folder: /home/customer/www/(my site name)/public_html/wp-content/uploads/backwpup-redacted-logs/ Server: Apache Operating System: Linux PHP SAPI: cgi-fcgi Current PHP user: redacted Maximum execution time: 120 seconds BackWPup maximum script execution time: 30 seconds Alternative WP Cron: Off Disabled WP Cron: On CHMOD Dir: 493 Server Time: 21:57 Blog Time: 16:57 Blog Timezone: America/Indiana/Indianapolis Blog Time offset: -5 hours Blog language: en-US MySQL Client encoding: utf8 PHP Memory limit: 768M WP memory limit: 40M WP maximum memory limit: 768M Memory in use: 60.00 MB Loaded PHP Extensions:: Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
Hi @lukashuggenberg – could you have your developer test out the results of
file_get_contents()
and maybecurl
to retrieve the image URL from the same server environment where your site is running, to see if that works?The library my plugin is using, tcpdf, uses these kinds of calls to fetch the image and determine its size; if they cannot successfully retrieve it in your hosting environment, then it’s unlikely that the plugin will support featured image display in the generated PDF.
Sorry for the delay in responding. Although the scheduled backup jobs have continued to fail, as soon as I turned on the debugging log and ran the job manually, it succeeded.
I will leave the debug log turned on and see what happens during the next scheduled backup run tomorrow.
Hi @lukashuggenberg – thanks for trying out the plugin, sorry you ran into an error.
This usually happens because a host prevents access to the post featured image URLs from within the plugin. Would you be willing to share which host you’re using? Is there anything special about your setup in terms of custom post types, images served from a non-standard location, or similar? What version of WordPress and what version of the plugin you are using?
Also, does the PDF generation work when you don’t included featured images?
Thanks for any additional information you can provide.
Forum: Plugins
In reply to: [Printable PDF Newspaper] Add new font@jawad27 please note that version 1.1.2 contains better support for RTL sites/languages. Could you try it out and let me know how it works for you? Thanks.
Forum: Plugins
In reply to: [Printable PDF Newspaper] Images Not PrintingClosing this for now since there was no additional information available.
Forum: Plugins
In reply to: [Printable PDF Newspaper] Problems with Tags in PagesNoting that I have a GitHub issue open for this at https://github.com/ChrisHardie/printable-pdf-newspaper/issues/40 and you can subscribe to it there if you want to follow progress on it. Sorry for the delay in moving it forward, will try to get to it soon.
I’ll close this support thread for now.
Forum: Plugins
In reply to: [Printable PDF Newspaper] Add new fontThanks @jawad27 – I’m glad you’re liking the plugin.
For RTL support, it looks like I need to add a change that detects whether the currently configured WordPress locale uses RTL and then have the PDF generation process respect that. I’ve opened a GitHub issue at https://github.com/ChrisHardie/printable-pdf-newspaper/issues/42 so I can work on that; feel free to subscribe to it for further updates.
In terms of adding additional fonts, there is a filter you can use in your theme or in a custom plugin to enable support for additional fonts, “ppn_font_file_paths”. Please check the FAQ at https://wordpress.org/plugins/printable-pdf-newspaper/#faq-header for notes about this. The filter should return an array that replaces the default list of fonts that will be loaded:
$fonts_to_include = array( plugin_dir_path( __DIR__ ) . 'assets/fonts/ttf/robotoregular.ttf', plugin_dir_path( __DIR__ ) . 'assets/fonts/ttf/RobotoBold.ttf', plugin_dir_path( __DIR__ ) . 'assets/fonts/ttf/RobotoRegularItalic.ttf', plugin_dir_path( __DIR__ ) . 'assets/fonts/ttf/lorabold.ttf', );
So, if you have a font at
wp-content/myfonts/myfont.ttf
then you might have the filter work like so:function my_fonts() { return array( WP_CONTENT_DIR . 'myfonts/myfont.ttf', ); } add_filter( 'ppn_font_file_paths', 'my_fonts', 10, 1 );
I haven’t tested that code directly yet, please adapt to your needs. Note that you need to return a list of all the fonts you want to support, not just the custom ones.
I hope that helps. If you have any questions or if you need anything else, just let me know.
Forum: Plugins
In reply to: [Printable PDF Newspaper] Images Not PrintingHi @frostyjpn – thanks for noting this. Can you share more details about your WordPress setup, including what version of WordPress and what version of the plugin you are using?
Does anything at all appear where the images are supposed to? Blank space?
Is there anything special about your setup in terms of custom post types, images served from a non-standard location, or similar?
Thanks for any additional information you can provide.
Forum: Reviews
In reply to: [Printable PDF Newspaper] Love the idea :)Thanks @kumajo! I’m so glad you are enjoying the plugin.
Forum: Plugins
In reply to: [U.S. Debt Clock Widget] debt clock counting backwardsIn the widget settings for the debt clock widget, please uncheck the option labeled “Animate dollar amount with estimated change over time?” and the animation will be disabled.
Forum: Plugins
In reply to: [U.S. Debt Clock Widget] debt clock counting backwardsHi @screamingfingers. I’m not quite sure what else I can offer here. As noted earlier, it is expected that the animation will show a decreasing amount when the difference between the most recent two data points on debt show a decrease. That’s exactly the case with the data available for October 21 ($28,842,489,318,660.40) and October 22 ($28,828,878,392,199.23), so it’s expected that the amount would show as decreasing because that reflects that debt trend.
My best suggestion is to disable the animation if you don’t like that the number is shown as decreasing, or to look for another plugin that will better meet your needs.
Forum: Plugins
In reply to: [U.S. Debt Clock Widget] debt clock counting backwardsBased on the most recently available debt data that I linked to, the debt level held by the public has decreased in recent days, so it is expected that this plugin’s output will reflect that. Again, you can disable the animation of the number if you’d like.
Forum: Plugins
In reply to: [U.S. Debt Clock Widget] debt clock counting backwardsHi @screamingfingers, thank you for your interest in this plugin!
The direction the clock travels is based on whether the publicized debt amount is currently in an increasing trend or a decreasing trend. This is detected by looking at the difference between the last two “Total Public Debt Outstanding” debt amounts at https://fiscaldata.treasury.gov/datasets/debt-to-the-penny/debt-to-the-penny. If you’d prefer, you can turn of the counting animation altogether in the plugin’s widget settings.
If you’re seeing some other behavior here, it would be great to have details: example amounts being displayed, timestamps, etc. so that I can look into it further.
Every place I’ve tested the plugin including at the URL you provided is showing a debt amount close to $28 trillion. Glad that refreshing the page worked out for you.
If you have any questions or if you need anything else, just let me know.