thpani
Forum Replies Created
-
Sorry, I don’t see how a screenshot would help, my original problem description is pretty comprehensive.
This issue has been reported before, and apparently is not yet fixed:
https://wordpress.org/support/topic/gallery-doesnt-display-2/Just upgraded to WordPress 5.0.3 and the issue above persists.
I’ve found a workaround for the incompatibility btw nextgen and polylang-slug described by @prezenta and @grapplerulrich, I’ll leave it here for reference:
function my_polylang_slug_disable ($disable, $query) { if ($disable) return true; if (isset($query->query_vars['meta_query'])) { $meta_query = $query->query_vars['meta_query']; return isset($meta_query[0]) && isset($meta_query[0]['value']) && substr($meta_query[0]['value'], 0, 10) === "photocrati"; } return $disable; } add_filter ('polylang_slug_disable', 'my_polylang_slug_disable', 10, 2);Forum: Plugins
In reply to: [WooCommerce mPAY24 Gateway] Partial refundsIn particular, the mpay callback setting
STATUStoCREDITEDcontains aPRICEfield. This could be used to callwc_create_refundwith the appropriate amount.Forum: Plugins
In reply to: [WooCommerce mPAY24 Gateway] Transaction stuck in tstatus=ERRORMany thanks for the wonderful support, now it works perfectly!
Forum: Plugins
In reply to: [WooCommerce mPAY24 Gateway] Transaction stuck in tstatus=ERRORFound the culprit, the confirmation callback contains a
PROFILE_IDfield, which causes$wpdb->updateto fail with:Unknown column 'profile_id' in 'field list'Should this column be added to the DB? Or filter the
$updatearray to only include columns present in the DB?Forum: Plugins
In reply to: [WooCommerce mPAY24 Gateway] Transaction stuck in tstatus=ERRORI’ve updated the gist to include all SOAP messages, the token matches the one passed in the confirmation URL. There’s no authentication.
I’ll try to track down where the transaction update fails tomorrow.
Forum: Plugins
In reply to: [WooCommerce mPAY24 Gateway] Transaction stuck in tstatus=ERRORThanks for the quick reply! Then I have to take a closer look at what’s going on, my logs look like this: https://gist.github.com/thpani/4a1aaecdc15ddaf77140
I suppose in the last line it should say
billedinstead oferrorForum: Plugins
In reply to: [WooCommerce mPAY24 Gateway] Transaction stuck in tstatus=ERRORWhatever works?
Unless I’m missing something, this plugin is handling mPAY confirmations and trying to update the order status accordingly. But as tstatus will always default to ERROR I don’t see how this could be working for anybody — it will always take the ‘error’ branch here: https://plugins.trac.wordpress.org/browser/woocommerce-mpay24-gateway/tags/1.4.1/gateway-mpay24.php#L675
Forum: Plugins
In reply to: [SlimStat Analytics] enable_ads_network option resetFound the problem, the streams transport in WP_Http doesn’t correctly handle timeouts: http://core.trac.wordpress.org/ticket/13841
If the API is frequently congested, maybe you can test for Wp_Http_Curl or something… it’s a shame such bugs stay unfixed for 3 years…
Forum: Plugins
In reply to: [SlimStat Analytics] enable_ads_network option resetHi,
thanks for the quick response.
I just noticed the timeout being set, but I definitely have blocking requests. Perhaps there’s a bug in WP_Http, I’ll let you know.Thomas
Forum: Plugins
In reply to: [wp-FileManager] HTML5 supportproposed patch:
--- incl/upload.inc.php.old 2012-10-23 15:51:11.000000000 +0200 +++ incl/upload.inc.php 2012-10-23 16:51:40.000000000 +0200 @@ -12,7 +12,7 @@ print $StrUploadFailPost; else { - for($i=0;$i<=3;$i++) + for($i=0;$i<count($_FILES['userfile']['tmp_name']);$i++) { $_FILES['userfile']['name'][$i] = stripslashes($_FILES['userfile']['name'][$i]); if (@move_uploaded_file($_FILES['userfile']['tmp_name'][$i], realpath($home_directory.$wp_fileman_path)."/".$_FILES['userfile']['name'][$i])) { @@ -45,8 +45,10 @@ $max_post = (int)(ini_get('post_max_size')); $memory_limit = (int)(ini_get('memory_limit')); $upload_mb = min($max_upload, $max_post, $memory_limit); +$max_files = (int)(ini_get('max_file_uploads')); // print "MAX UPload : $max_upload MB, MAX POST : $max_post MB, MEM LIMIT : $memory_limit MB"; print "<br /><b> Maximum File Size Allowed : $upload_mb MB</b>"; +print "<br /><b> Maximum Number of Files Allowed : $max_files</b>"; // FIXME : add link to howto on how to change the upload size. print "<center><br />"; @@ -55,7 +57,7 @@ print "<form action='$base_url&output=upload&upload=true' method='post' enctype='multipart/form-data'>"; print "<table class='upload'>"; - print "<tr><td>$StrFirstFile</td><td><input type='file' name='userfile[]' size=30></td></tr>"; + print "<tr><td>$StrFirstFile</td><td><input type='file' name='userfile[]' size=30 multiple="multiple"></td></tr>"; print "<tr><td>$StrSecondFile</td><td><input type='file' name='userfile[]' size=30></td></tr>"; print "<tr><td>$StrThirdFile</td><td><input type='file' name='userfile[]' size=30></td></tr>"; print "<tr><td>$StrFourthFile</td><td><input type='file' name='userfile[]' size=30></td></tr>";The link above is dead, could someone please repost the code?
Thanks, th