404 page - Page Not Found

Permalink 0 0 Browser Info Environment
Hi,
i try to customize page_not_found.php in my theme.

It doesn't work when :
- a theme as been include in a package;
- this theme is override in application/theme.

I have the file packages/my_package/themes/my_theme/page_not_found.php.

I tested with page_not_found.php in application/themes/my_theme/ and without.

For information, in my_package/controller.php we add "\Route::setThemeByRoute('/page_not_found', 'my_theme');" in public function on_start().


Status: New
agencecoteo
agencecoteo replied on at Permalink Reply
agencecoteo
Solved : there was a bug in our development which break the display when the theme was overide in application/theme.

Stil wondering why the page_not_found.php is not automagically loaded when include in a package theme and if there is another solution than adding "\Route::setThemeByRoute('/page_not_found', 'my_theme');" in public function on_start().

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

# concrete5 Packages
Concrete 5.8 News Package (0.1.8), Coteo Package Administration clients (0.1.4), Coteo Package Gallery (0.0.7), Coteo Package Image Content (0.1.1), Coteo Package Informations client (0.1.0), Theme Simpleo By Coteo for Concrete 5.8 (0.0.26)

# concrete5 Overrides
blocks/page_list/templates/latest_references/view.php, blocks/page_list/templates/latest_references, blocks/page_list/templates, blocks/page_list, controllers/page_types/project_listing.php, controllers/page_types, single_pages/jobs/view.php, single_pages/jobs, themes/theme_simpleo_coteo/home.php, themes/theme_simpleo_coteo/description.txt, themes/theme_simpleo_coteo/thumbnail.png, themes/theme_simpleo_coteo/js/main.js, themes/theme_simpleo_coteo/js, themes/theme_simpleo_coteo/default.php, themes/theme_simpleo_coteo/view.php, themes/theme_simpleo_coteo/page_theme.php, themes/theme_simpleo_coteo/img/gregoire.png.back, themes/theme_simpleo_coteo/img/logo-agence-coteo.png, themes/theme_simpleo_coteo/img/img-salon-min.jpg, themes/theme_simpleo_coteo/img/coteo-agence-communication.jpg, themes/theme_simpleo_coteo/img/img-print-min.jpg, themes/theme_simpleo_coteo/img/img-salon.jpg, themes/theme_simpleo_coteo/img/img-radio.jpg, themes/theme_simpleo_coteo/img/ico-site-web.png, themes/theme_simpleo_coteo/img/ico-developpement.png, themes/theme_simpleo_coteo/img/img-print.jpg, themes/theme_simpleo_coteo/img/gregoire-min2.png, themes/theme_simpleo_coteo/img/logo-coteo-web.png, themes/theme_simpleo_coteo/img/bg-header.png, themes/theme_simpleo_coteo/img/img-web-min.jpg, themes/theme_simpleo_coteo/img/ico-site-ecommerce.png, themes/theme_simpleo_coteo/img/img-radio-min.jpg, themes/theme_simpleo_coteo/img/ico-marketing.png, themes/theme_simpleo_coteo/img/bg-header-min.png, themes/theme_simpleo_coteo/img/gregoire-min.png.back, themes/theme_simpleo_coteo/img/img-web.jpg, themes/theme_simpleo_coteo/img/gregoire.png, themes/theme_simpleo_coteo/img, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/Neris-Light-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/Neris-Light-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/specimen_files/Neris-Light-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman/Neris-Light-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_light_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/specimen_files/Neris-Black-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/Neris-Black-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/Neris-Black-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman/Neris-Black-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_black_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/specimen_files/Neris-SemiBold-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/Neris-SemiBold-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/Neris-SemiBold-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman/Neris-SemiBold-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibold_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/Neris-BlackItalic-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/Neris-BlackItalic-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/Neris-BlackItalic-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/specimen_files/Neris-BlackItalic-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_blackitalic_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/Neris-Thin-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/Neris-Thin-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/Neris-Thin-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/specimen_files/Neris-Thin-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thin_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/Neris-BoldItalic-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/specimen_files/Neris-BoldItalic-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/Neris-BoldItalic-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman/Neris-BoldItalic-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_bolditalic_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/Neris-SemiBoldItalic-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/Neris-SemiBoldItalic-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/Neris-SemiBoldItalic-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/specimen_files/Neris-SemiBoldItalic-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_semibolditalic_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/specimen_files/Neris-LightItalic-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/Neris-LightItalic-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/Neris-LightItalic-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman/Neris-LightItalic-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_lightitalic_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/specimen_files/Neris-ThinItalic-cleartype.png, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/specimen_files/grid_12-825-55-15.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/specimen_files/specimen_stylesheet.css, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/specimen_files, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/Neris-ThinItalic-webfont.ttf, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/Neris-ThinItalic-demo.html, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman/Neris-ThinItalic-webfont.woff, themes/theme_simpleo_coteo/fonts/neris-fontfacekit/neris_thinitalic_macroman, themes/theme_simpleo_coteo/fonts/neris-fontfacekit, themes/theme_simpleo_coteo/fonts, themes/theme_simpleo_coteo/elements/navigation.php, themes/theme_simpleo_coteo/elements/footer.php, themes/theme_simpleo_coteo/elements/header.php, themes/theme_simpleo_coteo/elements/foot.php, themes/theme_simpleo_coteo/elements/breadcrumb.php, themes/theme_simpleo_coteo/elements/head.php, themes/theme_simpleo_coteo/elements, themes/theme_simpleo_coteo/css/main.less, themes/theme_simpleo_coteo/css/partials/_generic.less, themes/theme_simpleo_coteo/css/partials/_components.less, themes/theme_simpleo_coteo/css/partials/_settings.less, themes/theme_simpleo_coteo/css/partials/_trumps.less, themes/theme_simpleo_coteo/css/partials/_tools.less, themes/theme_simpleo_coteo/css/partials/_objects.less, themes/theme_simpleo_coteo/css/partials/_elements.less, themes/theme_simpleo_coteo/css/partials, themes/theme_simpleo_coteo/css/fonts/defaults.less, themes/theme_simpleo_coteo/css/fonts, themes/theme_simpleo_coteo/css, themes/theme_simpleo_coteo, page_templates/tpl_category.php, page_templates/tpl_project_listing.php, page_templates/tpl_project_page.php

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.1.13

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

# PHP Settings
max_execution_time - 180
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 2500
memory_limit - 256M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 50000
opcache.max_file_size - 10M
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36