Christopher Roth

Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
in reply to: [wpdm_all_packages] not working on category #185510
This reply has been marked as private.
in reply to: X-Robots-Tag #164421

Thank you for the reply.

Perhaps I am not using the right combination of link/page templates. Is there a particular page template that will render the PDF to the browser ad also allow google to index the URL?

C.

in reply to: X-Robots-Tag #164393

This is not true.

WPDM is setting the X-Robots-Tag header in two places the file FileSystem.php

header(“X-Robots-Tag: noindex, nofollow”, true);
header(“Robots: none”);

When a URL such as the following is loaded, the x-robots-tag and Robots: None headers are set by WPDM.

https://www.formfactor.com/download/mps150-data-sheet/?wpdmdl=3221

This results on Google being unable to index the content (as can be verified using the URL inspection tool in Search Console).

Commenting out those lines in the WPDM code removed the HTTP Headers and allows google to see the file (in this case a PDF)

This should be a setting that can be controlled so the plugin source does not need to be modified.

C.

in reply to: Memory Limit Exceeded #146738

Done however, it took many tries and would just hang.

I continue to get errors such as below.. Does 5.3.4 resolve this issue or can I roll back safely to an earlier version?

[14-Feb-2021 16:22:24 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 60270864 bytes) in D:\sites\www-xxxxxxx\public_html\wp-includes\wp-db.php on line 2022

[14-Feb-2021 16:22:38 UTC] WordPress database error Lock wait timeout exceeded; try restarting transaction for query UPDATE ffwp_postmeta SET meta_value = ‘5611’ WHERE post_id = 10168 AND meta_key = ‘__wpdm_download_count’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\libs\Apply->triggerDownload, include(‘/plugins/download-manager/wpdm-start-download.php’), WPDM\libs\DownloadStats->add, update_post_meta, update_metadata
[

in reply to: Memory Limit Exceeded #146558

I added memory for ‘WP_MEMORY_LIMIT’, ‘WP_MAX_MEMORY_LIMIT’ and php.ini memory_limit to 1024 (which is huge) and sometimes my pages with shortcodes work, sometimes they do not, and I am completey unable to access “all downloads” from WP Admin. this plugin ran just fine for years at 256M and this issue only seems to have started somewhere at 5.2…

in reply to: Memory Limit Exceeded #146557

I see you recommending setting the memory limit to 1024M… why does this plugin require a GIGABYTE of memory to run?

in reply to: Override [wpdm_all_packages] #92777

Looks like I need to override ..\plugins\download-manager\tpls\wpdm-all-downloads.php

Is there a location in my theme folder I can do this?

Somethinglike: ..\themes\my_theme\download-manager\tpls\wpdm-all-downloads.php

in reply to: Override [wpdm_all_packages] #92776

Yeah I get that, but you guys added bootstrap like classes btn btn-link and btn-[size] and turned the link in to a ‘block’ display and transformed the text to upper case.

If you’re going to give us a “none” option then you should not apply the additional classes.

in reply to: Bug Fix Release (download path / icon css) #89280

Just tested 4.7.8 on my dev server and these minor bugs still have not been fixed?

in reply to: Bug Fix Release (download path / icon css) #79557

When can we expect these minor fixes?

in reply to: file icon (svg) not rendered "inline" #76467
This reply has been marked as private.

When will this be pushed to the released version?

in reply to: Page Template opens document vs display misc. #76033

Also.

I have created a file page-template-1col-flat.php and placed it in /mytheme/download-manager/page-templates

I have modified the top line “comment” to read:

<!-- WPDM Template: FFI-Single Column, Flat -->

I can tell i have assigned a download to use this template as changes to its layout are reflected when viewing the page, however, on the backend the template selection drop down still reads: Single Column, Flat which is the default comment for the file in the plugins folder.

Shouldnt the template name be overridden in the post edit meta box?

C.

in reply to: Page Template opens document vs display misc. #76032

I am trying to eliminate the need for a 2nd click.

I’d like to able to assign a page template to particular downloads that “opens” the associated file.

This may be when the URL to the download is sent directly to a user, or as in the case of the downoad being returned in a search result.

a url such as..

mydomain.com/download/pretty-title-of-file/

will return the downloads “summary” type page with a down load button.

/download/cascade-microtech-dresden-gmbh-purchasing-terms-and-conditions-english/?wpdmdl=1234&ind=45678

opens the file

Is there a way to create and then assign a page template so that

mydomain.com/download/pretty-title-of-file/

opens the file?

also what does the variable “ind” represent?

Thanks

in reply to: PHP Session files? sess_XXXXXXXXXXXXXXX #67922

I have confirmed this plugin is writing temp files to the php temp dir at the rate of 3-4 per minute and is not cleaning them up. I had over 1 MILLION files stuck in my temp folder.

in reply to: License Key Reset #63590
This reply has been marked as private.
in reply to: License Key Reset #63588
This reply has been marked as private.
Viewing 17 posts - 1 through 17 (of 17 total)