I'm using:
Commerce File 7.x-2.0-beta3
File Entity 7.x-2.0-beta1
(All my modules are up to date)
New Drupal installation. My links were producing "Access is Denied"- I looked through my permissions and can't see anything to me that should limit this. The order is Completed and the License is Active. I saw this issue: https://www.drupal.org/node/2302897 and the patch in #12 changed the token ID, but didn't resolve the issue (in fact, now I'm getting Page not Found).
So I went and disabled, uninstalled File Entity and Commerce File.
Enabled ONLY Commerce File, wiped out all orders and licenses (just all my test stuff), and it all works now. Perhaps some kind of issue with File entity? I spent a day trying to figure it out and fix it but managed to get nowhere.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drupal_commerce_file.PNG | 16.61 KB | newaytech |
Comments
Comment #1
jigish.addweb commentedThis problem is generated because of file entity module not compatible your commerce file module.
Please revert your patch which you applied and try with below code.
You need to alter your menu with your custom module
Let me know in case of any query/concern regarding this.
Thanks!
Comment #2
newaytech commentedHi,
I've installed the commerce file module and it's all working great for authenticated users - but for anonymous users through checkout - not so much.
FileEntity: 2015-07-14, version = "7.x-2.0-beta2"
Commerce File: 2014-11-22 version = "7.x-2.0-beta3+3-dev"
I get to see the confirmation pane on checkout complete:
However - the "Grade 1 scales" and the pdf icon are not hyperlinked.
When I manually navigate to the file URL that has been activated in the store->license tab, I get Access is Denied.
I know some folks have this working for anonymous users - but I can't turn off FileEntity as it's used with another module. Anything else I can try?
Comment #3
newaytech commentedThe only way I can get this to work - is to enable the Bypass control on both license and file entity. Somewhat sidestepping the functionality...