Celso Azevedo
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Attached files are not sent anymoreNo success with the new update (5.4.2). This made me try a few things again and finally managed to fix it.
It works if I define the temporary folder in the
wp-config.php
file. I have to use the full path to the default temporary folder. In my case it’s something like this:define( 'WPCF7_UPLOADS_TMP_DIR', '/srv/users/celso/apps/celso/public/extras/blog/wp-content/uploads/wpcf7_uploads/' );
To give you some context, this WordPress installation is inside a subfolder (/extras/blog/) and uses a custom uploads folder (/extras/blog/p/).
The full path part is important. It doesn’t work with just
/wp-content/uploads/wpcf7_uploads/
or/extras/blog/wp-content/uploads/wpcf7_uploads/
. It also doesn’t work if I use anything else than the default folder.If you’re able to edit your
wp-config.php
file, try this. It seems to be a more permanent solution than using an outdated version or having to modify the plugin code every time there’s an update.Just keep in mind that you may have to update the path every time something changes (eg: if you move to a different hosting provider).
- This reply was modified 3 years, 8 months ago by Celso Azevedo.
Forum: Plugins
In reply to: [Contact Form 7] Attached files are not sent anymoreInteresting. I’m also using a custom directory for uploads.
Forum: Plugins
In reply to: [Contact Form 7] Attached files are not sent anymoreI’m having the same issue. Looking at the emails, it started ~14 days ago. I think it was after the 5.4.1 update.
After trying different things – from checking permissions, to using a custom folder and disabling all other plugins – I enabled WordPress’s debug[0] mode and managed to catch the error:
[13-May-2021 18:59:58 UTC] PHP Notice: Failed to attach a file. /srv/users/[...]/public/files/android/p/f/wpcf7_uploads/1844730695/test.png is not in the allowed directory. in /srv/users/[...]/public/files/android/p/wp-content/plugins/contact-form-7/includes/mail.php on line 147
I couldn’t see any problems on the browser side and nothing changed on my server (other than the usual Ubuntu security updates, as far as I know).
My temporary fix was to replace 5.4.1 with 5.4, which works well: https://github.com/takayukister/contact-form-7/releases/tag/v5.4
Since 5.4 works without problems, I assume it’s something that changed on 5.4.1 @takayukister
—-
[0]:define( 'WP_DEBUG', true); define( 'WP_DEBUG_LOG', true);
Forum: Plugins
In reply to: [Classic Editor] 5.5 Classic Editor Text View / Add Media Not Working@azaozz Shouldn’t a change like this be mentioned somewhere (edit: somewhere people that don’t follow WP closely will look)? There’s nothing on the release post, no warning inside the WordPress admin area/about.php, stuff like the “Site Health” page doesn’t work…
I had no idea this change would happen with 5.5 or that the plugin Caleb mentioned was available (and that plugin doesn’t allow us to completely dismiss the messages).
In my case it was an old plugin (Faster Image Insert) causing the problem. It’s not something I can just stop using because WordPress doesn’t insert images in the order they are uploaded or allows me to set alt texts in bulk.
- This reply was modified 4 years, 7 months ago by Celso Azevedo.
Forum: Plugins
In reply to: [Cloudflare] Compatibility with WP5I don’t think it’s compatible with WordPress 5.1. When updating posts:
Warning: count(): Parameter must be an array or an object that implements Countable in /xxxxxx/wp-content/plugins/cloudflare/src/WordPress/Hooks.php on line 133 Warning: Cannot modify header information - headers already sent by (output started at /xxxxxx/wp-content/plugins/cloudflare/src/WordPress/Hooks.php:133) in /xxxxxx/wp-admin/post.php on line 209 Warning: Cannot modify header information - headers already sent by (output started at /xxxxxx/wp-content/plugins/cloudflare/src/WordPress/Hooks.php:133) in /xxxxxx/wp-includes/pluggable.php on line 1223
Forum: Plugins
In reply to: [a3 Lazy Load] (Video) preload=”none” is ignored when using this pluginHey @a3rev,
Just tested with 1.8.7 and it’s working well.
Thanks for fixing this issue!
- This reply was modified 6 years, 12 months ago by Celso Azevedo.
Forum: Plugins
In reply to: [a3 Lazy Load] (Video) preload=”none” is ignored when using this pluginI think I see the issue – a3 Lazy Load does not support video added by WP Shortcode
I “ignored” that part because I was using this plugin only for images and to be honest my brain failed to link this issue with that limitation. My bad ??
I think there is a conflict there. Please try embedding it by one of the supported methods – or alternatively and i do not know if this will work by adding the video class to the Skip Video Class section that shows with that Video options turned on.
Everything seems to work well with direct links to MP4 files or YouTube videos.
I’ve used before the “Skip Videos Classes” option with the default “wp-video” class and just tested with other classes on my test page (with only this plugin active, just to be sure). Sadly it doesn’t fix my issue: preload still occurs when scrolling videos with preload=”none”.
I already have a considerable number of posts with videos (all using the shortcodes generated by the WordPress editor/gallery), so it’s not easy to replace shortcodes (mp4+webm, default image, etc) with direct links.
Anyway, this shouldn’t affect too many users as most people don’t host videos themselves, but it’s something that could be improved. For now I’ll use a different plugin on the sites where I use WordPress shortcodes for videos.
Thanks for your work and fast support!
- This reply was modified 7 years, 1 month ago by Celso Azevedo.
Forum: Plugins
In reply to: [a3 Lazy Load] (Video) preload=”none” is ignored when using this pluginHey @a3rev,
There are no problems downloading the file, videos load fine.
Only videos where I use preload=”none” are affected: the download should start only when we press “play”, but when this plugin is active (even with the video section switched OFF) the download starts when the video becomes visible.
A quick video were you can see the preloading: https://www.celsoazevedo.com/files/2018/a3-lazy-load.mp4
I’ve created this test page so you can test it yourself: https://www.celsoazevedo.com/files/test01/
Why is this a problem? Well, the browser downloads a few MB even when users don’t watch the video.
Forum: Plugins
In reply to: [Cloudflare] New version (3.0.0) crashed backendSame issue here, nginx error 502: https://i.imgur.com/3UQCZmx.png . If I disable the Cloudflare plugin (using ftp) it starts working again.
I have an SSL certificate (Let’s Encrypt) on my server. I get the same error if I bypass Cloudflare (by changing the hosts file).
Forum: Plugins
In reply to: [Cloudflare] New version (3.0.0) crashed backend@jwineman Same here, ngnix error 520.
@kilmanagh Using FTP (or a file manager) delete or rename the plugin folder. This will disable the plugin and your website will work again.
Forum: Plugins
In reply to: [Yoast SEO] Index Search Results PagesNope, but there is others SEO plugins that allow you to do it (All in One SEO Pack, for example).
Forum: Plugins
In reply to: [Yoast SEO] How do I get description or snippet to show in Google search???How many SEO plugins are you using? Checking rhythmicleotards.com source code I found 3(!!!) meta “description” tags with 3 different descriptions.
You have to choose 1 plugin (I recommend this one – WordPress SEO), fill your titles and descriptions and then wait until Google and other seach engines update their results (this can take a few days or weeks).
Also, remember that search engines (eg: Google) sometimes don’t use your title and description for some searches and make sure you don’t have 2 or more plugins doing the same thing.
Forum: Plugins
In reply to: [Responsify WP] [v1.6.4] Fatal ErrorHi Stefan,
Yep, it’s a PHP problem. It works fine with PHP 5.4, 5.5 or 5.6, but not with the version that my host uses (5.3.22).
I will ask them to upgrade to a new version.
Thanks for your help!
Forum: Plugins
In reply to: [Responsify WP] Animated .GIFsPerfect! ??
Forum: Plugins
In reply to: [Responsify WP] Animated .GIFsHi Stefan,
Thanks for the changes! I have tested it on my blog and it works very well with the .gif format.
I have also tested the .JPG option. It works with .jpg but not with .jpeg (yep, some people use the .jpeg extention…): https://files.ishr.co/2014/11/jpeg-vs-jpg.png . Maybe you should fix this before release it. ??