AmericanRev2 Posted December 14, 2019 Share Posted December 14, 2019 https://www.mymilitia.com/atlas/alabama/test27-r27/ 403 Error on file https://www.mymilitia.com/uploads/monthly_2019_12/Secret-Hiding-Places_pdf.1bca3439d6594b146eb2249e4fb73220 All directories have CHMOD 777 Link to comment Share on other sites More sharing options...
Adlago Posted December 14, 2019 Share Posted December 14, 2019 32 minutes ago, fix3r said: https://www.mymilitia.com/uploads/monthly_2019_12/Secret-Hiding-Places_pdf.1bca3439d6594b146eb2249e4fb73220 This link should end with .pdf, but the way you presented it is a dynamic link to nothing Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 14, 2019 Author Share Posted December 14, 2019 isn't that how attachments are stored? Link to comment Share on other sites More sharing options...
Adlago Posted December 14, 2019 Share Posted December 14, 2019 I'm not sure what you are using, but you have adobe acrobat embeded Yes it does not load your files attached, but if a menu is used - for example open, it works. Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 14, 2019 Author Share Posted December 14, 2019 Quote but if a menu is used ??? Link to comment Share on other sites More sharing options...
Adlago Posted December 14, 2019 Share Posted December 14, 2019 2 minutes ago, fix3r said: ??? See Open file Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 15, 2019 Author Share Posted December 15, 2019 cannot find attachment location to use for embedding 😞 Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 15, 2019 Author Share Posted December 15, 2019 how can i make it add .pdf after the md5 so when it stores the data the server knows what the file type is so i can call on it to embed {{if $uploadField}} <input type="hidden" name="MAX_FILE_SIZE" value="{$uploadField}"> <input type="hidden" name="plupload" value="{expression="md5( mt_rand() )"}"> <input type="hidden" name="content_record_form_container" value="{$category->_id}"> {{endif}} Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 15, 2019 Author Share Posted December 15, 2019 here is an attempt https://www.mymilitia.com/atlas/alabama/kkkm-r47/ its not going to embed because pdf attachments do not save as pdf extension Link to comment Share on other sites More sharing options...
AmericanRev2 Posted December 15, 2019 Author Share Posted December 15, 2019 I have fixed this - https://www.mymilitia.com/atlas/ DEMO: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.