Smart link with linked file is not working

Permalink Browser Info Environment
When using the file option inside a smart link the link results into a page with the following message:

Download File
Invalid File.

I think the URL structure is incorrect.

Smart link:
https://example.com/download_file/343/476...

File manager link:
https://example.com/download_file/3a707051-5935-4b5d-93c9-e7fdf8e6ab...

Can this be resolved?

Type: Ticket
Status: Resolved
NUL76
View Replies:
NUL76 replied on at Permalink Reply
NUL76
Any update?
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

At the moment no update, but if it's just the URL - perhaps you can just edit the view template to correspond to the correct URL. Unfortunately got a lot going on to have this on the top of my to do list.

Kind regards
Ramon
drbiskit replied on at Permalink Reply
drbiskit
Hi Ramon - coming up against this issue as well, and wanted to check in to see if there was any chance of this being fixed soon or should I just use the direct URL?

thanks.
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

Please update to the latest version of Block Designer (+ Pro) and re-generate the blocks to have the links working as it should!

Kind regards
Ramon
drbiskit replied on at Permalink Reply
drbiskit
Doh. Thanks Ramon!

concrete5 Environment Information

# Concrete Version
Core Version - 9.1.3
Version Installed - 9.1.3
Database Version - 20220908074900

# Hostname
v39429.2is.nl

# Environment
production

# Database Information
Version: 10.6.11-MariaDB
SQL Mode: ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# Concrete Packages
Block Designer (4.1.1), Block Designer Pro (4.1.1), Enorm Blackbox (2.0.6), Formidable (1.0.6.3), Nestable Manual Nav (9.0.0), Page List+ (4.0.5)

# Concrete Overrides
blocks/banner/add.php, blocks/banner/auto.js, blocks/banner/composer.php, blocks/banner/config.json, blocks/banner/controller.php, blocks/banner/db.xml, blocks/banner/edit.php, blocks/banner/form.php, blocks/banner/icon.png, blocks/banner/view.php, blocks/banner, blocks/call_to_action/add.php, blocks/call_to_action/auto.js, blocks/call_to_action/composer.php, blocks/call_to_action/config.json, blocks/call_to_action/controller.php, blocks/call_to_action/db.xml, blocks/call_to_action/edit.php, blocks/call_to_action/form.php, blocks/call_to_action/icon.png, blocks/call_to_action/view.php, blocks/call_to_action, blocks/column/add.php, blocks/column/auto.js, blocks/column/composer.php, blocks/column/config.json, blocks/column/controller.php, blocks/column/db.xml, blocks/column/edit.php, blocks/column/form.php, blocks/column/icon.png, blocks/column/view.php, blocks/column, blocks/columns/add.php, blocks/columns/auto.js, blocks/columns/composer.php, blocks/columns/config.json, blocks/columns/controller.php, blocks/columns/css_form/repeatable-ft.form.css, blocks/columns/css_form, blocks/columns/db.xml, blocks/columns/edit.php, blocks/columns/form.php, blocks/columns/icon.png, blocks/columns/js_form/handlebars-helpers.js, blocks/columns/js_form/handlebars-v4.0.4.js, blocks/columns/js_form, blocks/columns/view.php, blocks/columns, blocks/faq_advanced/add.php, blocks/faq_advanced/auto.js, blocks/faq_advanced/composer.php, blocks/faq_advanced/config.json, blocks/faq_advanced/controller.php, blocks/faq_advanced/css_form/repeatable-ft.form.css, blocks/faq_advanced/css_form, blocks/faq_advanced/db.xml, blocks/faq_advanced/edit.php, blocks/faq_advanced/form.php, blocks/faq_advanced/icon.png, blocks/faq_advanced/js_form/handlebars-helpers.js, blocks/faq_advanced/js_form/handlebars-v4.0.4.js, blocks/faq_advanced/js_form, blocks/faq_advanced/view.php, blocks/faq_advanced, blocks/faq_simple/add.php, blocks/faq_simple/auto.js, blocks/faq_simple/composer.php, blocks/faq_simple/config.json, blocks/faq_simple/controller.php, blocks/faq_simple/css_form/repeatable-ft.form.css, blocks/faq_simple/css_form, blocks/faq_simple/db.xml, blocks/faq_simple/edit.php, blocks/faq_simple/form.php, blocks/faq_simple/icon.png, blocks/faq_simple/js_form/handlebars-helpers.js, blocks/faq_simple/js_form/handlebars-v4.0.4.js, blocks/faq_simple/js_form, blocks/faq_simple/view.php, blocks/faq_simple, blocks/feature_block/add.php, blocks/feature_block/auto.js, blocks/feature_block/composer.php, blocks/feature_block/config.json, blocks/feature_block/controller.php, blocks/feature_block/css_form/repeatable-ft.form.css, blocks/feature_block/css_form, blocks/feature_block/db.xml, blocks/feature_block/edit.php, blocks/feature_block/form.php, blocks/feature_block/icon.png, blocks/feature_block/js_form/handlebars-helpers.js, blocks/feature_block/js_form/handlebars-v4.0.4.js, blocks/feature_block/js_form, blocks/feature_block/view.php, blocks/feature_block, blocks/hero/add.php, blocks/hero/auto.js, blocks/hero/composer.php, blocks/hero/config.json, blocks/hero/controller.php, blocks/hero/css_form/repeatable-ft.form.css, blocks/hero/css_form, blocks/hero/db.xml, blocks/hero/edit.php, blocks/hero/form.php, blocks/hero/icon.png, blocks/hero/js_form/handlebars-helpers.js, blocks/hero/js_form/handlebars-v4.0.4.js, blocks/hero/js_form, blocks/hero/view.php, blocks/hero, blocks/image_block/add.php, blocks/image_block/composer.php, blocks/image_block/config.json, blocks/image_block/controller.php, blocks/image_block/db.xml, blocks/image_block/edit.php, blocks/image_block/form.php, blocks/image_block/icon.png, blocks/image_block/view.php, blocks/image_block, blocks/intro/add.php, blocks/intro/auto.js, blocks/intro/composer.php, blocks/intro/config.json, blocks/intro/controller.php, blocks/intro/db.xml, blocks/intro/edit.php, blocks/intro/form.php, blocks/intro/icon.png, blocks/intro/view.php, blocks/intro, blocks/modal/add.php, blocks/modal/auto.js, blocks/modal/composer.php, blocks/modal/config.json, blocks/modal/controller.php, blocks/modal/css_form/repeatable-ft.form.css, blocks/modal/css_form, blocks/modal/db.xml, blocks/modal/edit.php, blocks/modal/form.php, blocks/modal/icon.png, blocks/modal/js_form/handlebars-helpers.js, blocks/modal/js_form/handlebars-v4.0.4.js, blocks/modal/js_form, blocks/modal/view.php, blocks/modal, blocks/modal_sectors/add.php, blocks/modal_sectors/auto.js, blocks/modal_sectors/composer.php, blocks/modal_sectors/config.json, blocks/modal_sectors/controller.php, blocks/modal_sectors/css_form/repeatable-ft.form.css, blocks/modal_sectors/css_form, blocks/modal_sectors/db.xml, blocks/modal_sectors/edit.php, blocks/modal_sectors/form.php, blocks/modal_sectors/icon.png, blocks/modal_sectors/js_form/handlebars-helpers.js, blocks/modal_sectors/js_form/handlebars-v4.0.4.js, blocks/modal_sectors/js_form, blocks/modal_sectors/view.php, blocks/modal_sectors, blocks/page_list_plus/controller.php, blocks/page_list_plus/templates/download-overview.php, blocks/page_list_plus/templates/location-overview.php, blocks/page_list_plus/templates/post_overview.php, blocks/page_list_plus/templates, blocks/page_list_plus, blocks/post_latest/add.php, blocks/post_latest/auto.js, blocks/post_latest/composer.php, blocks/post_latest/config.json, blocks/post_latest/controller.php, blocks/post_latest/db.xml, blocks/post_latest/edit.php, blocks/post_latest/form.php, blocks/post_latest/icon.png, blocks/post_latest/view.php, blocks/post_latest, blocks/post_related/add.php, blocks/post_related/auto.js, blocks/post_related/composer.php, blocks/post_related/config.json, blocks/post_related/controller.php, blocks/post_related/css_form/repeatable-ft.form.css, blocks/post_related/css_form, blocks/post_related/db.xml, blocks/post_related/edit.php, blocks/post_related/form.php, blocks/post_related/icon.png, blocks/post_related/js_form/handlebars-helpers.js, blocks/post_related/js_form/handlebars-v4.0.4.js, blocks/post_related/js_form, blocks/post_related/view.php, blocks/post_related, blocks/product_categories/add.php, blocks/product_categories/auto.js, blocks/product_categories/composer.php, blocks/product_categories/config.json, blocks/product_categories/controller.php, blocks/product_categories/css_form/repeatable-ft.form.css, blocks/product_categories/css_form, blocks/product_categories/db.xml, blocks/product_categories/edit.php, blocks/product_categories/form.php, blocks/product_categories/icon.png, blocks/product_categories/js_form/handlebars-helpers.js, blocks/product_categories/js_form/handlebars-v4.0.4.js, blocks/product_categories/js_form, blocks/product_categories/view.php, blocks/product_categories, blocks/product_overview/add.php, blocks/product_overview/auto.js, blocks/product_overview/composer.php, blocks/product_overview/config.json, blocks/product_overview/controller.php, blocks/product_overview/css_form/repeatable-ft.form.css, blocks/product_overview/css_form, blocks/product_overview/db.xml, blocks/product_overview/edit.php, blocks/product_overview/form.php, blocks/product_overview/icon.png, blocks/product_overview/js_form/handlebars-helpers.js, blocks/product_overview/js_form/handlebars-v4.0.4.js, blocks/product_overview/js_form, blocks/product_overview/templates/product_featured.php, blocks/product_overview/templates/product_related.php, blocks/product_overview/templates, blocks/product_overview/view.php, blocks/product_overview, blocks/reviews/add.php, blocks/reviews/auto.js, blocks/reviews/composer.php, blocks/reviews/config.json, blocks/reviews/controller.php, blocks/reviews/css_form/repeatable-ft.form.css, blocks/reviews/css_form, blocks/reviews/db.xml, blocks/reviews/edit.php, blocks/reviews/form.php, blocks/reviews/icon.png, blocks/reviews/js_form/handlebars-helpers.js, blocks/reviews/js_form/handlebars-v4.0.4.js, blocks/reviews/js_form, blocks/reviews/view.php, blocks/reviews, blocks/side_buttons/add.php, blocks/side_buttons/auto.js, blocks/side_buttons/composer.php, blocks/side_buttons/config.json, blocks/side_buttons/controller.php, blocks/side_buttons/css_form/repeatable-ft.form.css, blocks/side_buttons/css_form, blocks/side_buttons/db.xml, blocks/side_buttons/edit.php, blocks/side_buttons/form.php, blocks/side_buttons/icon.png, blocks/side_buttons/js_form/handlebars-helpers.js, blocks/side_buttons/js_form/handlebars-v4.0.4.js, blocks/side_buttons/js_form, blocks/side_buttons/view.php, blocks/side_buttons, blocks/tabs/add.php, blocks/tabs/auto.js, blocks/tabs/composer.php, blocks/tabs/config.json, blocks/tabs/controller.php, blocks/tabs/css_form/repeatable-ft.form.css, blocks/tabs/css_form, blocks/tabs/db.xml, blocks/tabs/edit.php, blocks/tabs/form.php, blocks/tabs/icon.png, blocks/tabs/js_form/handlebars-helpers.js, blocks/tabs/js_form/handlebars-v4.0.4.js, blocks/tabs/js_form, blocks/tabs/view.php, blocks/tabs, blocks/team/add.php, blocks/team/auto.js, blocks/team/composer.php, blocks/team/config.json, blocks/team/controller.php, blocks/team/css_form/repeatable-ft.form.css, blocks/team/css_form, blocks/team/db.xml, blocks/team/edit.php, blocks/team/form.php, blocks/team/icon.png, blocks/team/js_form/handlebars-helpers.js, blocks/team/js_form/handlebars-v4.0.4.js, blocks/team/js_form, blocks/team/view.php, blocks/team, blocks/testimonial_block/add.php, blocks/testimonial_block/auto.js, blocks/testimonial_block/composer.php, blocks/testimonial_block/config.json, blocks/testimonial_block/controller.php, blocks/testimonial_block/db.xml, blocks/testimonial_block/edit.php, blocks/testimonial_block/form.php, blocks/testimonial_block/icon.png, blocks/testimonial_block/view.php, blocks/testimonial_block, blocks/testimonial_slider/add.php, blocks/testimonial_slider/auto.js, blocks/testimonial_slider/composer.php, blocks/testimonial_slider/config.json, blocks/testimonial_slider/controller.php, blocks/testimonial_slider/css_form/repeatable-ft.form.css, blocks/testimonial_slider/css_form, blocks/testimonial_slider/db.xml, blocks/testimonial_slider/edit.php, blocks/testimonial_slider/form.php, blocks/testimonial_slider/icon.png, blocks/testimonial_slider/js_form/handlebars-helpers.js, blocks/testimonial_slider/js_form/handlebars-v4.0.4.js, blocks/testimonial_slider/js_form, blocks/testimonial_slider/view.php, blocks/testimonial_slider, blocks/timeline/add.php, blocks/timeline/auto.js, blocks/timeline/composer.php, blocks/timeline/config.json, blocks/timeline/controller.php, blocks/timeline/css_form/bootstrap-datetimepicker-composer.css, blocks/timeline/css_form/bootstrap-datetimepicker.min.css, blocks/timeline/css_form/bootstrap.fonts.css, blocks/timeline/css_form/repeatable-ft.form.css, blocks/timeline/css_form, blocks/timeline/db.xml, blocks/timeline/edit.php, blocks/timeline/fonts/glyphicons-halflings-regular.eot, blocks/timeline/fonts/glyphicons-halflings-regular.svg, blocks/timeline/fonts/glyphicons-halflings-regular.ttf, blocks/timeline/fonts/glyphicons-halflings-regular.woff, blocks/timeline/fonts, blocks/timeline/form.php, blocks/timeline/icon.png, blocks/timeline/js_form/bootstrap-datetimepicker.min.js, blocks/timeline/js_form/bootstrap.min.js, blocks/timeline/js_form/handlebars-helpers.js, blocks/timeline/js_form/handlebars-v4.0.4.js, blocks/timeline/js_form/moment.js, blocks/timeline/js_form, blocks/timeline/view.php, blocks/timeline, blocks/top_message/add.php, blocks/top_message/auto.js, blocks/top_message/composer.php, blocks/top_message/config.json, blocks/top_message/controller.php, blocks/top_message/db.xml, blocks/top_message/edit.php, blocks/top_message/form.php, blocks/top_message/icon.png, blocks/top_message/view.php, blocks/top_message, blocks/usps/add.php, blocks/usps/auto.js, blocks/usps/composer.php, blocks/usps/config.json, blocks/usps/controller.php, blocks/usps/css_form/repeatable-ft.form.css, blocks/usps/css_form, blocks/usps/db.xml, blocks/usps/edit.php, blocks/usps/form.php, blocks/usps/icon.png, blocks/usps/js_form/handlebars-helpers.js, blocks/usps/js_form/handlebars-v4.0.4.js, blocks/usps/js_form, blocks/usps/view.php, blocks/usps, blocks/whale_manual_nav/templates/advanced.php, blocks/whale_manual_nav/templates, blocks/whale_manual_nav, src/Concrete/Flag/CustomInterfaceFlagHelper.php, src/Concrete/Flag, src/Concrete/Search/Pagination/View/ConcreteBootstrap5View.php, src/Concrete/Search/Pagination/View/Manager.php, src/Concrete/Search/Pagination/View/ManagerServiceProvider.php, src/Concrete/Search/Pagination/View, src/Concrete/Search/Pagination, src/Concrete/Search, src/Concrete

# Concrete Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
8.0.26

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 30
max_input_vars - 1000
memory_limit - 256M
post_max_size - 32M
upload_max_filesize - 32M
zend.exception_string_param_max_len - 0
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.