dimizu
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Internal Server error when I purge the cacheOk, now I have increased memoryLimit (256 MB) and PHP timeout (180 s). This solves the problem. But I still find the software should intercept the problem. Because I can not endlessly increase the resources only because the cache grows. And an internal server error should not be produced by any software. A good softare musst show an problem error message not an internal server error.
Yes this
Try this fix https://wordpress.org/support/topic/website-sporatically-breaks-with-w3-enabled/#post-8677475
fix the problem for me. Thanks. Please give it in the next update. Thank you.
Forum: Plugins
In reply to: [W3 Total Cache] Internal Server error when I purge the cacheHello andreslucero,
thanks for your replay.
I think it is a little strange, that only for a cache clearing I need more server resource. My website is on a VPS. Ok, it is an old VPS. However, I don’t have resource problems in normal operations with 80 projects. And now I should have resource problems at one single project just because I would delete the cache?
I tested: when I click on “empty all caches” the cpu resource go to 70%, Memory no problems.
Only for cache clearing, I am not willing to increase the resources (memory limit is on 128 M, max_execution time 60).
I think is a problem of the programming. A good programming must manage the clearing process, so that the clearing not runs in this problem.
My opinion 🙂
Forum: Plugins
In reply to: [Amazon Einzeltitellinks] Links werden nicht mehr angezeigt seit UpdateDie neue Version 1.3.3 verwendet den Link so
$src='//ws-eu.amazon-adsystem.com/widgets/...Dadurch ist sowohl http als auch https möglich.
Grüße
Forum: Plugins
In reply to: [W3 Total Cache] Internal Server error when I purge the cacheAlso after the last update to Version 0.9.5.2 the problem remain:
Ok, my cache is big. If I purge the cache then it takes a long time and on the end, an Internal Server Error is shown.I repeat the process 4x. Then the cache is deleted and a click again on the button purge cache can be made without error.
I think it is a time out problem, but I think that it should be intercepted by your plugin.
Can you tell me, if you work on this problem? Or can you tell me, if the problem is on a ToDo list? Thank you.
Ok, I answer myself 😉
The problem is the filter:
add_filter( 'wp_calculate_image_srcset_meta', '__return_null' );
in the icp-functions.php. This filter strips all image attributes for all images in the page, also srcset etc of images that not are in the carousel.My solution:
a) I have deleted the line with the filter
b) then before this line:
$output .= "<div class='carousel-item'>{$image_output}</div>";
I striped the code in $image_output with:$image_output=stripImageAttributes($image_output,'srcset'); $image_output=stripImageAttributes($image_output,'sizes');Function stripImageAttributes:
function stripImageAttributes($html,$stripAttribut) { // init document $doc = new DOMDocument(); $doc->loadHTML('<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>' . $html . '</body></html>'); // init xpath $xpath = new DOMXPath($doc); // process images $body = $xpath->query('/html/body')->item(0); foreach ($xpath->query('//img', $body) as $image) { $toRemove = null; foreach ($image->attributes as $attr) { if ($stripAttribut == $attr->name) { $toRemove[] = $attr; } } if ($toRemove) { foreach ($toRemove as $attr) { $image->removeAttribute($attr->name); } } } // convert the document back to a HTML string $html = ''; foreach ($body->childNodes as $node) { $html .= $doc->saveHTML($node); } return $html; }(Function from: http://stackoverflow.com/questions/38023033/remove-everything-else-from-an-image-link-but-keep-src/38023322)
Now works for me.
Maybe you can integrate a similar or better solution into the next version.
greetings
Forum: Plugins
In reply to: [FooGallery Owl Carousel Template] Owl Carousel on first load not showing upMy workaround for this problem;
Change in gallery-owl-carousel.php from jQuery ready to window onloadThis are my chances:
//jQuery(function($){ jQuery(window).on("load", function() {//var $galleryContainer = $( '#foogallery-gallery-<?php echo $gallid; ?>' ); var $galleryContainer = jQuery( '#foogallery-gallery-<?php echo $gallid; ?>' );//$(document).on('keydown', function( event ) { jQuery(document).on('keydown', function( event ) {This works for me. It is possible that you integrate these changes in the next update?
Thanks.
I had not created in CleverReach a form. That’s why I could not select any with your plugin.
My mistake. Sorry.
@esmi: it is the same error, so I thought that the plugin author is happy to read all aspects of the same error in one topic. Is this not desired?
I forgot: WordPress 4.5.2, german version and YoastSEO Version 3.3.0
The same error here:
I have this error:
—
The following file(s) is/are blocking your XML sitemaps from working properly:
/PATH_TO_FILE/name.xml
Either delete them (this can be done with the “Fix it” button) or disable Yoast SEO XML sitemaps.
—
Your suggestion: delete the physical sitemap.xml not resolve the problem: the red message remain.I have deleted the sitemap.xml with ftp, but the error message remain.
However, your sitemap function works:
a) Physical sitemap.xml is not present
b) The link http://www.domain.tld./sitemap.xml works and show:
—
XML SitemapGenerated by YoastSEO, this is an XML Sitemap, meant for consumption by search engines.
You can find more information about XML sitemaps on sitemaps.org.This XML Sitemap Index file contains 8 sitemaps.
etc.
—
Therefore, I think it is only a message/test problem…Sorry, now I see that the problem persists only in the Standard template of my theme. This means that is not a problem of your shortcodes but of my template. Sorry!
Forum: Plugins
In reply to: [Livemesh SiteOrigin Widgets] Livemesh Portfolio@gstrout: Sorry, my mistake. I thought I had the same problem. It looked exactly with yours. Unfortunately, I cannot say how I solved the problem.
Sure is, that I have done this:
-created portfolio items with the custom post types of jetpack
-deactivated and deleted the LiveMesh plugin.
-reinstalled the LiveMesh plugin, activate all LiveMesk Addons
-Then I did not have time and I had to do other things. After a day, the widget was suddenly there…Forum: Plugins
In reply to: [Livemesh SiteOrigin Widgets] Livemesh Portfolio without JetpackOk I understand. When I remove this lines and when I not use the page itself in the query then works fine 🙂
But is there not a possibility to add something link this?:
if ((get_post_type() === 'page') && (get_the_ID() == ID_of_page_where_widget_is_a_part)) continue;Forum: Plugins
In reply to: [Livemesh SiteOrigin Widgets] Livemesh Portfolio without JetpackGreat with https://wordpress.org/plugins/portfolio-post-type/ works fine 🙂
3 questions:
a) Would this mean that in principle works with all custom post types?
b) Is there a chance that works also with pages? When I select pages in the build query windows, then I do not see results.
c) When b) negative, do you plan this feature for the future?Thanks.