Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author bhaldie

    (@bhaldie)

    You have your files set to hidden which means only logged in users can download the file.

    Are you logged in?

    Thread Starter Ron Wills

    (@ron-wills)

    Yes I am logged in and it does not work even after I click on the download button from WP-ADMIN in Document Library

    I found that on the document with issue if you click on Manage File and Save “File Properties” even after not doing any change, It starts working. But there are 3000 documents and we do not want to do like this for all the documents. It will take a long time to fix like that.

    Are there any specific metadata for the files to be updated in order to fix the issue ??

    Plugin Author bhaldie

    (@bhaldie)

    Without doing testing it is hard to tell, but my guess is a patch hasn’t been applied and a data category is now missing.

    I may need to write a script that will run on your server to update the mDocs list to the correct data set.

    Version 3.0.3 will not help this problem

    Plugin Author bhaldie

    (@bhaldie)

    Still working on this issue does not work in version 3.0.3

    Hi

    I am from the same team as Ron. Please confirm what the script will do. Can you please share the script

    Since some of the documents are getting downloaded and others are not, is there any SQL command which I can use to update the tables in the database.

    I do see wp_postmeta and wp_posts with the dataset from MDOCS but not really sure what exactly needed to fix this issue.

    Is there any other particular table you update ??

    Plugin Author bhaldie

    (@bhaldie)

    look under **_options mdocs-list

    That is where all the records are held for mDocs but going into the database is not a good idea

    what need to happen is a reset of your mDocs data using a patch script.

    On almost all updates to mDocs I run patches that may change so underlying functionality
    if one of these patches didn’t run for whatever reason the data may not be correct anymore.

    As I said without seeing a var_dump of mdoc-list I can’t say for sure what data is missing, but my guess is that the indexes for each file are incorrect from what you are describing.

    Let me know what exactly you need in order to look into the issue. I can send you log file if you need.

    In WP_OPTIONS table, I see following entries related to mdocs

    (1122, ‘mdocs-v2-5-patch-var-1’, ‘1’, ‘yes’),
    (1123, ‘mdocs-v2-4-patch-var-1’, ‘1’, ‘yes’),
    (1125, ‘mdocs-v2-3-1-patch-var-1’, ‘1’, ‘yes’),
    (1127, ‘mdocs-2-1-patch-1’, ‘1’, ‘yes’),
    (1131, ‘mdocs-num-cats’, ‘663’, ‘yes’),
    (1132, ‘mdocs-total-cats’, ‘0’, ‘yes’),
    (1133, ‘mdocs-zip’, ‘mdocs-export.zip’, ‘yes’),
    (1134, ‘mdocs-top-downloads’, ’10’, ‘yes’),
    (1135, ‘mdocs-top-rated’, ’10’, ‘yes’),
    (1136, ‘mdocs-last-updated’, ’10’, ‘yes’),
    (1137, ‘mdocs-list-type’, ‘small’, ‘yes’),
    (1138, ‘mdocs-list-type-dashboard’, ”, ‘yes’),
    (1139, ‘mdocs-hide-all-files-non-members’, ”, ‘yes’),
    (1140, ‘mdocs-hide-all-posts-non-members’, ”, ‘yes’),
    (1141, ‘mdocs-hide-all-posts-non-members-default’, ”, ‘yes’),
    (1142, ‘mdocs-hide-all-files’, ”, ‘yes’),
    (1143, ‘mdocs-hide-all-posts’, ”, ‘yes’),
    (1144, ‘mdocs-hide-all-posts-default’, ”, ‘yes’),
    (1145, ‘mdocs-show-downloads’, ”, ‘yes’),
    (1146, ‘mdocs-show-author’, ‘1’, ‘yes’),
    (1147, ‘mdocs-show-version’, ‘1’, ‘yes’),
    (1148, ‘mdocs-show-update’, ‘1’, ‘yes’),
    (1149, ‘mdocs-show-social’, ”, ‘yes’),
    (1150, ‘mdocs-show-ratings’, ”, ‘yes’),
    (1151, ‘mdocs-show-share’, ”, ‘yes’),
    (1152, ‘mdocs-download-color-normal’, ‘#d14836’, ‘yes’),
    (1153, ‘mdocs-download-color-hover’, ‘#c34131’, ‘yes’),
    (1154, ‘mdocs-download-text-color-normal’, ‘#ffffff’, ‘yes’),
    (1155, ‘mdocs-download-text-color-hover’, ‘#ffffff’, ‘yes’),
    (1156, ‘mdocs-show-new-banners’, ‘1’, ‘yes’),
    (1157, ‘mdocs-time-to-display-banners’, ’14’, ‘yes’),
    (1158, ‘mdocs-doc-preview’, ”, ‘yes’),
    (1159, ‘mdocs-sort-type’, ‘name’, ‘yes’),
    (1160, ‘mdocs-sort-style’, ‘asc’, ‘yes’),
    (1161, ‘mdocs-default-content’, ‘description’, ‘yes’),
    (1162, ‘mdocs-show-description’, ‘1’, ‘yes’),
    (1163, ‘mdocs-show-preview’, ‘1’, ‘yes’),
    (1164, ‘mdocs-htaccess’, ‘Deny from all\r\nOptions +Indexes\r\nAllow from .google.com’, ‘yes’),
    (1165, ‘mdocs-allowed-mime-types’, ‘a:0:{}’, ‘yes’),
    (1166, ‘mdocs-removed-mime-types’, ‘a:0:{}’, ‘yes’),
    (1167, ‘mdocs-view-private’, ‘a:2:{s:13:”administrator”;s:1:”1″;s:10:”subscriber”;s:1:”1″;}’, ‘yes’),
    (1168, ‘mdocs-v2-6-6-patch-var-1’, ‘1’, ‘yes’),
    (1169, ‘mdocs-v2-6-7-patch-var-1’, ‘1’, ‘yes’),

    If you need WP ADMIN account user name and password, I can share. Let me know your email account.

    Same Issue

    Also as stated by Ron earlier, if a document which is giving the download issue is saved again with changing any metadata, it starts working.

    I found that on the document with issue if you click on Manage File and Save “File Properties” even after not doing any change, It starts working.

    Any updates Please on this issue ??

    Plugin Author bhaldie

    (@bhaldie)

    I’ll have and update tomorrow I’m not near a computer right now.

    My email address is bhaldie at gmail dot com

    Thread Starter Ron Wills

    (@ron-wills)

    Please let us know once you find the fix for the issue

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Sorry you are unauthorized to download this file.’ is closed to new replies.