Jeff Martin

Forum Replies Created

Viewing 18 posts - 1 through 18 (of 18 total)
in reply to: Need to update payment source #191401

Jeff Martin
Participant

That didn’t work either. Please just visit the screenshot here.

in reply to: Need to update payment source #191400

Jeff Martin
Participant

Looks like Google Photos images don’t show up. Here’s what I tried to attach:

Order Detail Page

in reply to: Need to update payment source #191399

Jeff Martin
Participant

There’s no “Update Card” button on the order details page.

Order Detail Page

Also, I don’t see any way to click on the order before hitting the missing “Update Card” button.


Jeff Martin
Participant

The logging issue has been resolved. I found a section on the root download page that contained a incorrectly formatted shortcut query parameter. The correct parameter name is “items_per_page”, this error was entered as “items-per-page”. It apparently causes bad things to happen if it is incorrect.


Jeff Martin
Participant

I have been tracking the continued divide by zero warnings. There is a repeatable pattern using the URL below that triggers the PHP warnings. These appear to be coming from search engines. This one is a URL that Bing submitted. When I load this up in a browser, it takes me to our root downloads page but still logs two divide by zero warnings.

https://www.parallax.com/download/?sc_params=8f21da0HQKgCXlRKhkNahaYXW0cIa0pqu1kBUm6HQmUB8R-9Sr9w0uyy-fS7SBpPROs5BJYE4Vjyi9bJ7FWGYaCc2dFJSloYDna-I65yCvvSvXBh1n6YTEVpl34p70I3fcv6VL7r_xY68iGViGzLeQyc6a07L2dt32AOLnPQgVw0GTe4Ww6t-mfWbnePifxmQvZ2mVo35g_BWcwRWGiRKc_TFF_99biH7bwwmGR0GXT4AVpdisqeWe4zN76GYTYJ&cp=46


Jeff Martin
Participant
This reply has been marked as private.

Jeff Martin
Participant

I should also note that we are still seeing the divide by zero errors noted in the original report on this issue.


Jeff Martin
Participant

More background on this issue. We are using shortcodes in Elementor to render lists of downloads based upon category. The pagination setting “items_per_page” used to be “item_per_page”. I don’t know if this is a recent change or if our developer fat-fingered the setting and it has always just worked.

The second thing we found was that the template setting seems to work with link templates, but not page templates. This appears to be a change from previous versions.

This is eventually what we were able to get working. The template is a very slightly modified version of the “link-template-default-icon” link template.

[wpdm_category id="bss-primary-downloads" operator="IN" toolbar="1" order_by="field name" order="asc or desc" items_per_page="10" template="link_default_icon_custom" cols=1 colspad=2 colsphone=1]


Jeff Martin
Participant

Hi,

When you say to update the page templates again, are you saying that we need to update the pages that contain references to the Download Manage templates? Or, are we supposed to update something within the Download Manager settings?


Jeff Martin
Participant

There are problems. The Apache error log is filling with PHP Warning: Divide by zero… errors. The download pages are also complaining about

page-template-default.php
page-template-default.php
page-template-default.php

so it looks like the default page template is no longer working as expected.


Jeff Martin
Participant

Hello Tanvir,

The error is not getting logged because of the patch I applied to the download-manager/src/Package/Shortcodes.php at about line 239 that checks $items_per_page for zero. I noted this in my original submission.

Remove the patch and the site will start logging the divide by zero events again. Or, if you like, I can remove the patch.


Jeff Martin
Participant
This reply has been marked as private.
in reply to: S3 Direct Upload – uploading existing packages #147756

Jeff Martin
Participant

Thank you for that detail. When I tried this, I received a response that said “Auto-Sync is not active!”. Enabling the Auto-Sync feature corrected the error.

For anyone with the same issue, please note that this appears to work only if the Auto-Sync Local Files Attached With Packages setting in the Cloud Storage -> Amazon S3 Direct Upload is checked and the target S3 bucket and first-level folder are selected.

The cron job appears to locate a single package that has not been uploaded to S3 and uploads it. This continues for each invocation of the cron job until there are no more local packages to upload into S3.

  • This reply was modified 4 years, 2 months ago by Jeff Martin. Reason: added detail to make clear what the cron job was actually doing
in reply to: S3 Direct Upload – uploading existing packages #147741

Jeff Martin
Participant

Please explain how providing admin access to our website answers this question? I just want to know what the procedure is to sync existing packages. What steps are necessary to accomplish the goal?


Jeff Martin
Participant
This reply has been marked as private.
in reply to: Amazon S3 WPDM extension stable version #147679

Jeff Martin
Participant

Can you please add an option in the Bucket drop-down list for ‘None’. The use case is that some roles should not have any access to our S3 buckets.

in reply to: Amazon S3 Bucket Access Control #146412

Jeff Martin
Participant

Thanks for confirming the observations. May I request that the drop-down bucket selector include an option for “None”?

There are use cases where we want to exclude specific roles from having access to any S3 bucket. Until we have this capability, we have to create IAM policies that specifically allow access to a specific bucket and apply them to the user account.

in reply to: Amazon S3 Bucket Access Control #146380

Jeff Martin
Participant

The user interface for the Amazon S3 Bucket Access Control lists each role. Next to each role is a drop-down that lists the S3 buckets that are accessible from the defined AWS access key(s). The dropdown also has an option for All Buckets. I am looking for an option that allows no access to any available S3 bucket.

For example, I do not want the Editor or Author roles to be able to access any S3 folder. How do I accomplish that?

Viewing 18 posts - 1 through 18 (of 18 total)