Cannot Select Page

Permalink Browser Info Environment
The AJax that's supposed to be getting the site map, is using a URL that doesn't exist.
Namely tools/required/sitemap_search_selector.

There's no such thing as tools in 5.7, so this is just completely wrong. It needs recoding to either add a route for the "tool" or the preferred approach is to add a block controller method and use that.

Type: Pre-Sale
Status: In Progress
jero
View Replies:
zavoodi replied on at Permalink Reply
zavoodi
In packages/vivid_simple_slider/blocks/vidid_simple_slider/elements/page_selector.php, change line 6 from:

<a class="ccm-sitemap-select-page" data-page-selector-launch="pageselectorid<%=sort%>" dialog-width="90%" dialog-height="70%" dialog-append-buttons="true" dialog-modal="false" dialog-title="<?php echo t('Choose Page')?>" href="<?php echo View::url('/'); ?>/tools/required/sitemap_search_selector?cID=0" dialog-on-close="Concrete.event.fire('fileselectorclose', '{$fieldName}');"><?php echo t('Select Page')?></a>

to:

<a class="ccm-sitemap-select-page" data-page-selector-launch="pageselectorid<%=sort%>" dialog-width="90%" dialog-height="70%" dialog-append-buttons="true" dialog-modal="false" dialog-title="<?php echo t('Choose Page')?>" href="<?php echo View::url('/'); ?>tools/required/sitemap_search_selector?cID=0" dialog-on-close="Concrete.event.fire('fileselectorclose', '{$fieldName}');"><?php echo t('Select Page')?></a>

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.6
Version Installed - 5.7.5.6
Database Version - 20151221000000

# concrete5 Packages
Customize Editing Interface (0.9.1), Simple Slider (1.0).

# concrete5 Overrides
languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, themes/pinewoods/theme.css, themes/pinewoods/view.php, themes/pinewoods/page_theme.php, themes/pinewoods/css/bootstrap-theme.min.css.map, themes/pinewoods/css/bootstrap.min.css.map, themes/pinewoods/css/bootstrap.css, themes/pinewoods/css/bootstrap.min.css, themes/pinewoods/css/bootstrap-theme.css.map, themes/pinewoods/css/bootstrap-theme.css, themes/pinewoods/css/bootstrap.css.map, themes/pinewoods/css/bootstrap-theme.min.css, themes/pinewoods/css, themes/pinewoods/images/bg_banner.jpg, themes/pinewoods/images/bg_ocean.jpg, themes/pinewoods/images, themes/pinewoods/fonts/glyphicons-halflings-regular.eot, themes/pinewoods/fonts/glyphicons-halflings-regular.woff2, themes/pinewoods/fonts/glyphicons-halflings-regular.ttf, themes/pinewoods/fonts/glyphicons-halflings-regular.woff, themes/pinewoods/fonts/glyphicons-halflings-regular.svg, themes/pinewoods/fonts, themes/pinewoods/elements/header.php, themes/pinewoods/elements/footer.php, themes/pinewoods/elements, themes/pinewoods/default.php, themes/pinewoods/description.txt, themes/pinewoods/js/npm.js, themes/pinewoods/js/bootstrap.js, themes/pinewoods/js/bootstrap.min.js, themes/pinewoods/js, themes/pinewoods, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, themes/pinewoods/theme.css, themes/pinewoods/view.php, themes/pinewoods/page_theme.php, themes/pinewoods/css/bootstrap-theme.min.css.map, themes/pinewoods/css/bootstrap.min.css.map, themes/pinewoods/css/bootstrap.css, themes/pinewoods/css/bootstrap.min.css, themes/pinewoods/css/bootstrap-theme.css.map, themes/pinewoods/css/bootstrap-theme.css, themes/pinewoods/css/bootstrap.css.map, themes/pinewoods/css/bootstrap-theme.min.css, themes/pinewoods/css, themes/pinewoods/images/bg_banner.jpg, themes/pinewoods/images/bg_ocean.jpg, themes/pinewoods/images/bg_footer.jpg, themes/pinewoods/images, themes/pinewoods/fonts/glyphicons-halflings-regular.eot, themes/pinewoods/fonts/glyphicons-halflings-regular.woff2, themes/pinewoods/fonts/glyphicons-halflings-regular.ttf, themes/pinewoods/fonts/glyphicons-halflings-regular.woff, themes/pinewoods/fonts/glyphicons-halflings-regular.svg, themes/pinewoods/fonts, themes/pinewoods/elements/header.php, themes/pinewoods/elements/footer.php, themes/pinewoods/elements, themes/pinewoods/default.php, themes/pinewoods/description.txt, themes/pinewoods/js/npm.js, themes/pinewoods/js/bootstrap.js, themes/pinewoods/js/bootstrap.min.js, themes/pinewoods/js, themes/pinewoods

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

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.0.4

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, intl, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, Zend OPcache, zip.

# PHP Settings
max_execution_time - 60
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 20M
sql.safe_mode - Off
upload_max_filesize - 20M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

Hide Post Content

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

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.